Skip Navigation

[Resolved] I’m stuck trying to create an archive of authors posts.

This thread is resolved. Here is a description of the problem and solution.

Problem:

Create a list of articles from author (Columnistas)

Solution:

I suggest you try these:
1) Setup two custom post types:
- Columnistas
- articles

2) Setup one-to-many relationship between "Columnistas" and "articles":

https://toolset.com/course-lesson/how-to-set-up-post-relationships-in-wordpress/

3) In single "Columnistas" post, display a view block:

- Query "articles" posts

- Filter by post type relationship between "Columnistas" and "articles"
https://toolset.com/course-lesson/displaying-related-posts/#displaying-many-related-items

- In view's loop, display "articles" link

Relevant Documentation:

This support ticket is created 4 years, 3 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 2 replies, has 2 voices.

Last updated by christianC-5 4 years, 3 months ago.

Assisted by: Luo Yang.

Author
Posts
#1811557
Sin título-1A.jpg

Tell us what you are trying to do?
Create a list of articles from author (Columnistas)
Is there any documentation that you are following?
I followed the guide to migrate fields from ACF to Types and other posts in forums, but I can't find a way to solve all of this.
Is there a similar example that we can see?
See my attachment
What is the link to your site?
hidden link

First of all, this website was using the oldest Types plugin along with ACF, and I was trying to replicate something like the attachment (a list of articles from author (Columnista) but with the Author picture, name and description above the loop.
Once we click in the article title, we go to the single_article that will show the main article picture, below a tiny author thumbnail and below the main content.
I managed a way to solve this page with all Columnistas (authors) hidden link but I can't find a way to link the picture or name of every columnista with the list of its articles (second picture).

I was trying to migrate ACF fields to Types using this guide https://toolset.com/course-lesson/convert-existing-custom-types-and-fields-to-types-control/ but I'm unable to change type to Wysiwyg or Post Reference, because it is greyed and its impossible to convert an ACF wysiwyg field because it is forced to a single line.

Please, guide me on how to achieve all of this.

Thanks!

#1812147

Hello

Q1) can't find a way to link the picture or name of every columnista with the list of its articles (second picture).
I suggest you try these:
1) Setup two custom post types:
- Columnistas
- articles

2) Setup one-to-many relationship between "Columnistas" and "articles":
https://toolset.com/course-lesson/how-to-set-up-post-relationships-in-wordpress/

3) In single "Columnistas" post, display a view block:
- Query "articles" posts
- Filter by post type relationship between "Columnistas" and "articles"
https://toolset.com/course-lesson/displaying-related-posts/#displaying-many-related-items
- In view's loop, display "articles" link

Q2) I'm unable to change type to Wysiwyg or Post Reference

This expected result, you can not convert single line field to Wysiwyg or Post Reference field, you should be able to see the message:
Note: Some of the field types are disabled for conversion because they're using a significantly different data format, which is not compatible with the current field type.

#1816763

My issue is resolved now. Many thanks Luo!

Your guide was very clear to follow.

Now I have Columnista and their articles below.

Sadly, the trouble to convert ACF wysiwyg field to Toolset Wysiswyg field forced me to re-create all the articles again, but at least now I can manage it.

Now I'm facing a second trouble, but I think that it is better to open a new ticket.

Thanks again!