Hello! Please tell me, I have a custom taxonomy "vehicles" group and a 3-level hierarchy.
That is:
Parent > child > great-grandson
These 3-level hierarchies, I've got lots and items I have 377. I'm not sure that explain it correctly and clearly so here is a screenshot for clarity
My task is to bring on the item page, each level of the hierarchy separately.
That is, on the website it should look like this.
Year(Parent) - a list with all the years - separately
Make(Child) - list all of the manufacturers separately
Model(Grandson) - a list with all the models separately
How can I do it? Manually to drive ID do not really want, remember that items 377. What would you recommend?
Yes, I can use
$args = array(
'title_li' => ",
'taxonomy' => 'vehicles',
'depth' => 1
);
wp_list_categories($args);
that would be to display "parent" and what "child" and "grandson"? Any help would be appreciated!