Skip Navigation

[Resolved] What is the way to create relationship between page and post

This support ticket is created 6 years, 2 months ago. 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.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

This topic contains 5 replies, has 3 voices.

Last updated by Nigel 6 years, 2 months ago.

Assisted by: Nigel.

Author
Posts
#1128043
Screenshot_1.png
Screenshot_2.png

Tell us what you are trying to do : Connect post type with page usinng post relationhsip

Is there any documentation that you are following : No, I have created custom field to add post id to display it on particular page.

Is there a similar example that we can see : Example, Display quote from quote post type.

What is the link to your site : hidden link

But, this is not better way to do it, can you suggest any other proper way to do it?

#1128053

You can use this Documentation:
https://toolset.com/documentation/post-relationships/how-to-set-up-post-relationships-using-toolset/

You can read more about Post Relationships here:
https://toolset.com/documentation/post-relationships/

The idea is to create 2 Post Tyes at least, then build a relationship (could be a one to many, where many quotes can belong to one other post type)

After you finish the wizard the "parent" post will show a section to add or connect "child" posts (Quotes).
You can later display those "Child" Quotes on "Parent" post types with Views:
https://toolset.com/documentation/post-relationships/how-to-display-related-posts-with-toolset/

Let us know if you need particular details, we could also set up a simple Module you could import at look at how it's built.

#1129724

I know we can create post relation between 2 post types but I would like to do it with page and post type.

#1129967

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Screenshot 2018-10-18 at 14.51.51.png

Pages are just another post type.

You create relationships between posts and pages just like you would between two different custom post types, starting at Toolset > Relationships.

See screenshot.

#1132541

Hi Nigel,

I will check and get back to you.

Thanks!!

#1132675

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

OK, let me know if you need any more info.