[Resolved] Add a relationship between a post and an Intermediary Post
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.
Thank you for contacting us and I'd be happy to assist.
The intermediary post-type setup works only when two post-types are involved in a relationship.
When more than two post types need to be connected, including a central anchoring post type is better.
For example, you can introduce a new custom post type named 'Participation' or 'Contribution' in this case.
CPTs like 'Movies' and 'Actors' won't have any direct relationship between them. Instead, all these CPTs will be linked indirectly through relationships with the 'Participation/Contribution' post type.
Now, within a view that will display the "Participation/Contribution" I'm displaying the related actor name and the related Movie name. The thing is that I need to check if a relation exist between the Movies and the Participation/Contribution to display the movie name (and other info). How can I setup the conditional display to check that ?
Thanks for your help Waqar. I had to do it a different way than planned but it's now more efficient.
thanks for your help.
fabriceS confirmed that the issue was resolved on 2024-03-28 11:30:40.
This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.