get_terms doesn't sort properly with hierarchical taxonomy
-
I’m trying to display a hierarchical taxonomy in the ‘term order’.
The order is fine in the backend and when usingwp_dropdown_categories
function, but the
get_terms
order doesn’t seem to work.
As I couldn’t understand the resulting order, I did some debugging and saw that the sorting order seems to use only to term position in relation to its siblings, and not its parent/place in the hierarchy.
Is there a way to fix this?
Thanks for helping.
https://www.ads-software.com/plugins/custom-taxonomy-order-ne/
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘get_terms doesn't sort properly with hierarchical taxonomy’ is closed to new replies.