Skip Navigation

[Resolved] show select post in a page

The Toolset Community Forum is closed, for technical support questions, please head on to our Toolset Professional Support (for paid clients), with any pre-sale or admin question please contact us here.
This support ticket is created 8 years ago. There's a good chance that you are reading advice that it now obsolete.
This is the community support forum for Types plugin, which is part of Toolset. Toolset is a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients and people who registered for Types community support can post in it.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

Tagged: 

This topic contains 7 replies, has 2 voices.

Last updated by Luo Yang 8 years ago.

Assisted by: Luo Yang.

Author
Posts
#455447

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

#455659

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/

#455685

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?

#455975

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/

#456037
Immagine.png

HI, thank you...but i can select only one city for tour.... how i can add more city?

#456650

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.

#456708

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...

#457008

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.

The forum ‘Types Community Support’ is closed to new topics and replies.