Skip Navigation

[Résolu] Nesting Checkboxes in a Search Filter

This support ticket is created Il y a 3 années et 1 mois. 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.

Aucun de nos assistants n'est disponible aujourd'hui sur le forum Jeu d'outils. Veuillez créer un ticket, et nous nous le traiterons dès notre prochaine connexion. Merci de votre compréhension.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9: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/Hong_Kong (GMT+08:00)

Ce sujet contient 4 réponses, a 2 voix.

Dernière mise à jour par aaronM-9 Il y a 3 années et 1 mois.

Assisté par: Luo Yang.

Auteur
Publications
#2202003
Nested-Categories-in-WordPress.PNG
Categories-Not-Nested.PNG

Is it possible to get a taxonomy filter when displaying as checkboxes to somehow nest? An un-nested list of categories is not nearly as useful. See attached screenshots. Thanks.

- Aaron

#2202329
order-by-group.jpg

Hello,

There isn't such kind of built-in feature within Toolset Blocks/Views plugin, as a workaround, you can use option "order by group", it should be able to display the terms in the parent/child order, see my screenshot order-by-group.jpg

#2202845
How-to-Remove-Uncategorized.png

Thanks. I guess the best way to do this, unfortunately, is to use a select drop-down. Before I close the ticket, can you explain how I might go about removing "Uncategorized" from the drop-down? I had to turn off the "only show options that would yield results" because it doesn't show parent items in the drop-down. If possible, we could just make a global rule that uncategorized is always excluded from any drop-downs across the site.

- Aaron

#2204401

I assume we are talking about the term "Uncategorized" of Woocommerce product category taxonomy, it is a feature of Woocomerce plugin.

I have searched it in google, found this blog post:
lien caché
How To Hide Uncategorized Category In WooCommerce

For your reference.

#2205167

My issue is resolved now. Thank you!