Views is a WordPress plugin that lets you display post relationships.
In our user guides, you can find more information on how to display child posts, related posts, brother pages, fields of parents and fields of grandparents.
When you ask for help or report issues, make sure to tell us the type of the relationship you are trying to build and the structure of your data.
Viewing 15 topics - 736 through 750 (of 807 total)
Problem: I would like to relate multilingual Products to multilingual CPTs.
Solution: Use the Translation Manager to translate the Products first, then go to WooCommerce > WooCommerce Multilingual > Settings and switch back to "Native WooCommerce product editing screen" temporarily, edit the English Hotels and use the Product Relationship panel to select the parent English Congress. When you are finished assigning the parent Congress posts, go to WooCommerce > WooCommerce Multilingual > Settings and switch back to the Translation Manager.
Problem: I have a View of child posts displayed on a parent post page. I would like to show a list of all the terms from a specific taxonomy that are associated with all the child posts in the View.
Solution:
Create a View of child posts filtered by post relationship, where the parent post is set by the current page. Insert this View into the parent post's Content Template.
Create a View of the taxonomy filtered by term ID, where the term is set by the current post in the loop. In the Loop output editor, use the following code to produce a comma-separated list of term IDs:
Replace 12345 with the numeric ID of this View of Taxonomy.
Then create a second View of the taxonomy, filtered by term ID, provided by a shortcode attribute "terms". In the Loop Output of this View, include whatever you want to display for each term. There will be no duplicates in this View, even though the filter contains duplicate IDs.
Finally, nest the first View in the terms shortcode attribute of the second View:
The issue here is that the user wanted to display his Types Beta many to Many relationship using Views.
Solution:
Currently our Views Beta plugin does not have a way to display the Relationships from the new types version. In order to do this I would recommend reverting to our production release of Types and Views.
Problem:
How to order parent posts with number of child post count
Solution:
You need to use WordPress standard "save_post" hook in order to update the total number of child counts per parent post and use this custom field for ordering option for your parent.