Problem:
How to display related child post when post type is set to support hierarchical post structure where you set parent and child posts from same post type.
Solution:
You should query your view by post ID and set the query filter to filter post by shortcode attribute and pass the parent post ID as view's shortcode attribute to filter related post that belongs to same post type in hierarchical structure.
You can find proposed solution, in this case, with the following reply:
=> https://toolset.com/forums/topic/view-to-display-sibling-posts-not-working/#post-739650
Relevant Documentation:
=> https://toolset.com/documentation/user-guides/displaying-fields-of-parent-pages/
=> https://toolset.com/documentation/user-guides/passing-arguments-to-views/
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 |
---|---|---|---|---|---|---|
- | 10:00 – 13:00 | 10:00 – 13:00 | 10:00 – 13:00 | 10:00 – 13:00 | 10: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/Kolkata (GMT+05:30)
This topic contains 5 replies, has 2 voices.
Last updated by 6 years, 6 months ago.
Assisted by: Minesh.