Skip Navigation

[Resolved] How to build hierarchal taxonomies with check box

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

Problem:
How to build hierarchal taxonomies with as checkboxes

Solution:
To display the checkboxes hierarchal manner, you should use the attribute output="legacy" that will help you to display taxonomy checkboxes in a hierarchal manner.

For example:

[wpv-control-post-taxonomy taxonomy="replace-taxonomy-slug" type="checkboxes" url_param="wpv-property-type" output="legacy"]

Relevant Documentation:

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

Last updated by Yoshifumi Yamada 6 years, 3 months ago.

Assisted by: Minesh.

Author
Posts
#1123603

I made hierarchal taxonomies just like the following sample.

sample1
- sample1-1
-- sample1-1-1
-- sample1-1-2
- sample1-2
-- sample1-2-1
sample2

When I use a multiple select, hierarchal taxonomies appear on the page.
Can I make such a hierarchal taxonomies with check box??
Please advise me.

#1123761

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

Well - when you add taxonomy filter as checkboxes - please select "style option" from popup and chose "Raw Output" in order to display the checkboxes hierarchal manner. It will add attribute output="legacy" that will help you to display taxonomy checkboxes in hierarchal manner.

For example:

[wpv-control-post-taxonomy taxonomy="replace-taxonomy-slug" type="checkboxes" url_param="wpv-property-type" output="legacy"]
#1124346

My issue is resolved now. Thank you!