Types plugin lets you easily create relationships between different post types and connect them using GUI controls. You can also connect multiple post types and build many-to-many post relationships. When you ask for help or report issues, make sure to tell us what you have created so far and the structure that you want to achieve.
|Create Template e View from a Multi to Multi Relationship||3||1 hour, 52 minutes ago|
|How to show other Child posts with the same Parent tags? 1 2||2||1 week ago|
|How to show all dates, inclusive post title plus some fields||2||1 week ago|
|Can't display a view with similar posts based on relationship||2||1 week, 2 days ago|
Displaying and ordering intermediary field
Problem: I have two custom post types, Recipes and Ingredients, in a many-to-many (M2M) post relationship. In the intermediary post type, there is a custom field representing the quantity of each Ingredient in a specific Recipe. On the Recipe post template, I want to display a list of related Ingredients, the quantities of each, and I want to sort the Ingredients using a custom sort order I specify in wp-admin.
Solution: In the Recipe post, add related Ingredients in the Recipe post's relationships panel, and set the quantity and sort order for each Ingredient. In the Recipe post template, create a View of the intermediary post type. You must query the intermediary post type in order to specify your own custom sort order, which must be managed in a custom number field in the intermediary post type. Use the Query Filter to filter by post relationship, where the intermediary post type is related to the post being displayed. Use the Ordering panel to order by the custom order field in the intermediary post type. Display information about the related Ingredient post and the corresponding quantity in the loop of the View.
Relevant Documentation: https://toolset.com/course-lesson/what-are-post-relationships-and-how-they-work/ https://toolset.com/course-lesson/how-to-set-up-post-relationships-in-wordpress/ https://toolset.com/course-lesson/many-to-many-post-relationships/ https://toolset.com/course-lesson/displaying-related-posts/
|2||2 weeks, 1 day ago|
|removing intermediary post types from the admin menu||2||2 weeks, 2 days ago|
|Identifying orphaned posts||2||2 weeks, 3 days ago|
Post relationship and post
Setup many-to-many relationship and display related posts.
You can follow our document to setup the many-to-many relationships:
|2||2 weeks, 5 days ago|
|Split: How to add view and delete profile link||2||2 weeks, 6 days ago|
|Split: How to Edit User profile||2||2 weeks, 6 days ago|
|Split: How to create lithebox gallery||2||3 weeks, 1 day ago|
|Split: How to show single post page content||2||3 weeks, 1 day ago|
|User profil with taxonomies||2||4 weeks ago|
|Exporting hidden meta fields||2||4 weeks ago|
|Filtering children by child and parent field on the same page||2||4 weeks, 1 day ago|