Skip Navigation

[Resolved] manually select posts to show in view, and related posts by category

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

Problem: When editing a post in wp-admin, I would like to be able to manually select related posts and have those show up in a View on the single post page.

Solution: There is not currently an easy way to associate posts of the same post type in wp-admin. Toolset does not provide the ability to select from other posts in a custom field, so the management of these associations is manual. You can use a custom taxonomy or custom field to create these relationships. A detailed explanation can be found in another ticket here on the forum: https://toolset.com/forums/topic/need-to-create-a-custom-field-that-shows-links-to-related-posts-of-the-same-type/

This support ticket is created 7 years 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
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 2 replies, has 2 voices.

Last updated by Kacey 7 years ago.

Assisted by: Christian Cox.

Author
Posts
#584659

I'm creating a view that will be used on a specific page. I'd like the content editor to be able to select posts from across the site that it will display in featured areas– featured image, title with link, etc – then also show a list of related posts to that selected post. I have a view built for related posts, but I'm not sure how to allow the content editor the opportunity to select the specific featured post in that view, or to connect my related post view to choose posts connected to that related content.

#584858

Hi, I assume the related posts are all the same post type? If so, this is pretty tricky because there's not a great way to manage these kinds of post associations in wp-admin. I've assisted another client recently who had a similar request, and explained how it can be accomplished with a custom taxonomy and terms specific to each post:
https://toolset.com/forums/topic/need-to-create-a-custom-field-that-shows-links-to-related-posts-of-the-same-type/

I think this is the most manageable approach we currently provide in the back-end. You could also use a custom field to store related post IDs or slugs, but that's even more difficult to manage because your editors would need to type every post ID or post slug completely. With a taxonomy term input, you at least get the benefit of a typeahead interface where you can select from existing terms.

Please let me know if you have additional questions about this and I'll be glad to take another look.

#584870

Thanks. Going to put this function on the client's wish list for now.