How to use term_group to order subcategories in Wordpress?

I want to customize an order for the subcategories listed in the navigation bar in Wordpress. It is clear in the code that there are five ways to do this: http://codex.wordpress.org/Template_Tags/wp_list_categories#Parameters . I am limited to two: 1) the prefix of each category with a number and 2) using term_group. The problem is that Codex seems to be rather vague as to how to use term_group, as it only describes it as a group of terms. I know that a category containing the word “video” should always be placed first, a category containing the word, “list” should always be second, etc. Is there a way to achieve this without a bullet prefix and possibly using term_group?

+3
source share
2 answers
+1
source

To do this in general terms (using custom taxonomies), you can use http://wordpress.org/extend/plugins/term-menu-order

+7
source

Source: https://habr.com/ru/post/1721627/


All Articles