our site is still under construction. However, we are looking for a solution to combine two custom post types.
I.e. we have one post type Events and one Speakers. On the single view site of each event, we want to show a list view of all speakers who hold a discourse on this event.
How we can make such a relationship in backend (custom fields?) and frontend (view)?
Thank you for contacting Toolset support. I see you would like to create a relationship between Event post type and Speaker post type.
Go to Toolset >> Post Types >> Events (Parent CTP) >> Children Post Types >> Select Speakers (Child CPT) >> Save. See attached screenshot.
When we define relationship it will automatically add custom field in child CPT to make a relation
then using view we can display speakers in Event single page
thanks for fast replay! However, there is a little problem. The Event Post Type comes from an Event PlugIn not from Toolset. So, it's not in the Toolset Post Types list.
I tried to select the Speakers (this is a Toolset Custom Post Type) an selected there "Parent Post Type" Event (here the Events shows up) - see attachment.
Now going back to the Event posts there is in deed a section for the speakers, but I only can add a new speaker, There are already a lot of speakers we have registered.
Is there any way to solve this and get access to the speakers list in the Events Post section?
Thanks for this links. We try some solutions. But because we need a many-to-many relation we will wait until the Types update with the relation manager.