Skip Navigation

[Resolved] List posts containing the same term #2

This support ticket is created 4 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.

This topic contains 1 reply, has 1 voice.

Last updated by hugoC-3 4 years ago.

Author
Posts
#1843199

Following up on https://toolset.com/forums/topic/list-posts-containing-the-same-term/#post-1842293:

I managed to set up a post relationship between a cpt "Term" and "regular posts and pages".
I created a content template for "Term" post type with a view containing related posts (posts that have been connected to the "Term" post.
However I still have one question: is there a way to connect posts and pages automatically to each "Term" cpt instead of having to connect each post/page manually?

The scenario: if a post or page contains a certain term it is automatically added to the related posts section of the cpt 'Term" in question.
E.g. If a post contains the word "banana" it is automatically added to the related posts view in the cpt "Banana".
Is that possible?

#1843275

I found the solution to my problem on https://toolset.com/forums/topic/search-all-posts-with-the-current-cpt-post-title/.
My issue is resolved now.
Thank you!