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?
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.
I know we can create post relation between 2 post types but I would like to do it with page and post type.
Nigel
Supporter
Languages:
English (English )
Spanish (Español )
Timezone:
Europe/London (GMT+00:00)
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.
Hi Nigel,
I will check and get back to you.
Thanks!!
Nigel
Supporter
Languages:
English (English )
Spanish (Español )
Timezone:
Europe/London (GMT+00:00)
OK, let me know if you need any more info.