Problem: I would like to show a View of taxonomy terms that are child terms of a specific parent term
Solution:
Here's how you can set this up:
1. Create a View of the taxonomy and add a Query Filter, filtered by term parent, where term parent is "None". This View will show the top-level terms in the term hierarchy. In the loop of this View, insert the term title or term link.
2. Create another View of the same taxonomy, again filtered by term parent, but this time where the term parent is set by the parent taxonomy View. In the loop of this View, insert the term title or term link.
3. Return to the first View and in the Loop after the term title, insert View 2.
4. Place View 1 on a custom Page somewhere to test it out.
Relevant Documentation:
https://toolset.com/documentation/user-guides/filtering-views-by-taxonomy/
https://toolset.com/documentation/user-guides/using-a-child-view-in-a-taxonomy-view-layout/
https://toolset.com/documentation/user-guides/passing-arguments-to-views/
https://toolset.com/documentation/user-guides/filtering-posts-by-user-selected-taxonomy/
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 |
---|---|---|---|---|---|---|
8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | - | - |
13:00 – 17:00 | 13:00 – 17:00 | 13:00 – 17:00 | 13:00 – 17:00 | 13:00 – 17:00 | - | - |
Supporter timezone: America/New_York (GMT-04:00)
This topic contains 2 replies, has 2 voices.
Last updated by 6 years, 7 months ago.
Assisted by: Christian Cox.