Hi, i have create a custom type called "City", every City have a image and content text, after i have create a custom type called "Tour", in a "Tour" can i select a "City"?...for example i insert a city "Italy" and "Spain", my tour called "Tour EU" must show information of Italy and Spain, how i can select this posts?
Regards
Dear leonD,
I suggest you setup many-to-many relationship between post type "City" and "Tour", see our document:
Creating and Displaying Many-to-Many Post Relationships
https://toolset.com/documentation/user-guides/many-to-many-post-relationship/
Hi, very thank you...i have another question. When i select Tour and i go to bottom page Post
Relationship box i can insert city but i can't select the city previously entered, why?
Seems you have setup "City" as child post type of "Tour", so you can not select the existed "City" posts in the "Post Relationship" box.
Please make sure you have followed our document to setup the many-to-many relationships between post type "City" and "Tour":
https://toolset.com/documentation/user-guides/many-to-many-post-relationship/
HI, thank you...but i can select only one city for tour.... how i can add more city?
How do you setup the post type relationships between post type "City" and "Tour"?
if "City" is child post type of "Tour", then when you edit a "Tour" post, you can create new child "City" posts. you will need to edit the "City" posts, and in section "Post type relationships", choose it's parent "Tour" post, and one child post can only have one parent post.
And as I suggest above, you need to consider setup setup the many-to-many relationships between post type "City" and "Tour", since one "City" post can connect to multiple "Tour" posts, one "Tour" post can connect to multiple "City" posts, for your reference.
hi, can i setup many-to-many relationships without apparance? I want add City post and in Tour Post i can select multi more city...
According to our document:
https://toolset.com/documentation/user-guides/many-to-many-post-relationship/
To setup many-to-many relationship between two post types, the intermediate object is required. so you will need to setup the third post type.