Hello,
I display articles using archive page with the grid and some articles belongs to sub-categories.
An article is display by :
– featured image
– category-list
– title
– excerpt
– and some other information like date for the events i.e.
The category-list is a problem, because, the list is in an alphabetical order, instead of parenting order.
I need to sorte the categories like this:
first the parent, then the sub(s)
How can I do that ?
Carosch
Hi carosch!
Thank you for using Enfold.
I’m sorry but this is not possible because the theme is using the get_the_term_list() function which do not have a sorting parameter. https://codex.wordpress.org/Function_Reference/get_the_term_list
Regards,
Ismael
Hi,
is there another way to display the categories sorting by hierarchic order ?
Regards
Carosch