[Plugin: Query Multiple Taxonomies] Hierarchical Taxonomies and Categories
-
Hey scribu
thanks for all the good work on this extremely useful plugin. I do have a question though.
I have a custom hierarchical Make/Model taxonomy where the first level (parent) is a make (ie. Canon, HTC, etc…) and the second level (children) are the models the make has. This is tied into the categories which are the type of product (ie. Digital Cameras, Mobile Phones, etc…) and are also hierarchical.
What I want is to be able to display the filtering widget with drop-downs populated in a tree-like hierarchical structure as opposed to the current one-level view. I know WordPress does this so I was wondering if there is a way to add this to the widget. I don’t mind coding it myself if you give me some pointers.
I identified that the work is done in: qmt_get_terms() which either calls: QMT_Terms::get( $tax ) or get_terms( $tax ) but how to get the ‘nested’ terms from there?
TIA, Robert
https://www.ads-software.com/extend/plugins/query-multiple-taxonomies/
- The topic ‘[Plugin: Query Multiple Taxonomies] Hierarchical Taxonomies and Categories’ is closed to new replies.