Ignore sort apply for custom query when using Autosort on Advanced Taxonomy Terms Order plugin

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

As default any customized sorting for a taxonomy can be applied on front side by including an addiitonal argument:

‘orderby’ => ‘term_order’

This is easy to implement in majority of cases, however if there are many taxonomies queries, the code update isn’t always the best way. For such scenario, there’s the Autosort plugin setting. Turning that on, it will force all front queries to use the customize sort.

But how to make specific queries to retrieve terms in default order? This can be achieved by including an additional argument:

‘ignore_custom_sort’ => TRUE

This makes the autosort functionality to skip and return the terms in default order.