Taxonomy Terms Order and Auto Sort, Admin Sort description an usage

Share on FacebookTweet about this on TwitterShare on Google+Share on LinkedInPrint this page

The Taxonomy Terms Order plugin is an easy way to control the sort for any taxonomies.  The order is applied to the front side using the arguments:

‘orderby’ => ‘term_order’,

Example:


$argv = array(	 	 
		'orderby' => 'term_order' 	 
		);	 	 
get_terms('category', $argv);

 

 

Autosort OFF
No query sort will be changed, the terms will appear in the original order, per orderby argument. To retrieve the terms in the customised order you must use the term_order on the orderby parameter:


$argv = array(	 	 
		'orderby' => 'term_order',	 	 
		'hide_empty' => false	 	 
		);	 	 
get_terms('category', $argv);

See more info on the get_terms usage here

Autosort ON
The queries will be updated, all terms will appear in the order you manually defined. This is recommended if you don’t want to change any theme code to apply the terms order

 

Admin Sort
The code queries will be updated within the admin interface, the sort will also apply on this area too.