Chained Select Boxes for Taxonomies

This topic contains 2 reply and 2 voices, and was last updated by hatchmedia 9 years, 12 months ago
Viewing 2 Posts - 1 through 2 (of 2 total)
Author Posts
December 1, 2014 at 4:45 pm 31481
hatchmedia Hey guys, Is it possible to set up a chained select box out of the taxonomies? So, I have a Custom Post Type that has 15 different taxonomies. Inside each taxonomy there are about 5 - 10 different terms. I would like the form to show two select boxes. The first contains the list of taxonomies and once the user selects one, the second select box changes to the list of terms associated with it. Is this possible or do you know of what I should be looking up to achieve this myself? Thanks Damien
December 1, 2014 at 5:04 pm 31484
Nayem Nayem

Hello Hatchmedia,

I am not sure if this is going to work or not, but most of the time custom taxonomies registered following WordPress coding standard works with our plugin. For example you can see Woocommerce registered custom taxonomies work with wpuf.

And you can use the option Ajaxify for categories. It is able to show child cat depending on the parent.

Thank you for understanding. 🙂

December 1, 2014 at 6:06 pm 31490
hatchmedia hatchmedia

Thanks for your response Nayem,

So if it is not possible with WP User Frontend just yet, do you know what I should be searching for in the WordPress Codex to add the list of taxonomies to a drop down list.

I have not been able to find anything that shows the list of taxonomies of a custom post type. get_taxonomies for example only seems to show the full list and not for specific custom post types.

Thanks for any potential help!

Damien

Viewing 2 Posts - 1 through 2 (of 2 total)