Skip Navigation

[Résolu] List posts containing the same term #2

This support ticket is created Il y a 3 années et 5 mois. 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

This topic contains 1 réponse, has 1 voix.

Last updated by hugoC-3 Il y a 3 années et 5 mois.

Auteur
Publications
#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!

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.