Skip Navigation

[Resolved] I want to display child taxonomy list by parent taxonomy id in view

This thread is resolved. Here is a description of the problem and solution.

Problem:I want to display a list of parent terms, with a list of child terms included for each parent term.

Solution: Use nested Views to achieve this type of nested list.

100% of people find this useful.

This support ticket is created 4 years, 11 months ago. There's a good chance that you are reading advice that it now obsolete.

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 vimalS 4 years, 11 months ago.

Assisted by: Christian Cox.

Author
Posts
#1430927

Hi

I want to display child texonomy list by parent texonomy id in view

Thanks

#1431635

You can do this with a nested View.
- Create a View of this taxonomy filtered by taxonomy term ID
- Set the parent term ID in the Query Filter, or set is as a shortcode attribute
- Click "Skip Wizard" for now and save the View
- Create another View of this taxonomy, filtered by taxonomy term parent, where the parent is set by the parent taxonomy View
- In the loop, insert the term name or term link shortcode to display information about each child term
- Place this View inside the loop of the parent term View
- Place the parent term View on your site. If you set the parent term Query Filter using a shortcode attribute, you must pass the parent term ID into the parent term View shortcode.

#1433725

My issue is resolved now. Thank you!