Problem: I would like to show a View of all the terms in a custom hierarchical taxonomy, and I would like to use indentation or nesting to represent the hierarchy.
Solution: You can use two Taxonomy Views filtered by parent term to accomplish this.
- Create a taxonomy View filtered by term parent, where term parent is "None". This will give you a loop of all the top-level terms.
- In the Loop Output editor, include a link to the term archive
- Create another taxonomy View filtered by term parent, where the term parent is set by the parent View. This will give you a loop of all the subordinate terms underneath each parent term.
- In the Loop Output editor, include a link to the term archive
- Insert the 2nd View inside the 1st View just after the link to the parent term archive.
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 1 reply, has 2 voices.
Last updated by 6 years, 10 months ago.
Assisted by: Christian Cox.