Skip Navigation

[Resolved] Display hierarchy from custom taxonomy in filter

This support ticket is created 3 years, 6 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
- 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 4 replies, has 2 voices.

Last updated by marcB-6 3 years, 6 months ago.

Assisted by: Minesh.

Author
Posts
#2126105

Hi guys!
For a project we're building a filter in an overview page. This filter is based on a custom taxonomy. In this custom taxonomy we have parent, child and subchild categories. This hierarchy should be visible in the filter as well. How can we do such?
Thanks!
Marc

#2126297

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

I would like to know first - are you using block view your classic view?

#2126433

Hi Minesh,

I am using classic view

Thanks

#2126447

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

To display the taxonomy filter terms in hierarchy - you should add the attribute output="legacy".

For example:

[wpv-control-post-taxonomy taxonomy="category" type="checkboxes" output="legacy" url_param="wpv-category"]

As you can see how attribute output="legacy" is added you should add it and it should display terms in hierarchy.

#2127477

Thanks a lot Minesh! We fixed it.
See you next time.