Support » Plugin: Ultimate WP Query Search Filter » Taxonomy alphabetical order drop down menu

  • I have a hierarchical custom taxonomy with parent and child values and just want everything to show in alphabetical order and to show the child values indented. Is there a way I can do this. Please help asap.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author TC.K

    (@wp_dummy)

    You can use this filter uwpqsf_taxonomy_arg to customize the taxonomy order.
    eg:

    add_filter('uwpqsf_taxonomy_arg', 'reorder_terms_filter','',3);
    function reorder_terms_filter($args,$taxname,$formid){
       $args['orderby'] = 'name';
       $args['order']  = 'ASC';//or DESC
       return $args;
    }

    Thanks. Where do I input this code? Example, functions.php, ultimate-wpqsf.php, etc.

    Plugin Author TC.K

    (@wp_dummy)

    your theme functions.php

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Taxonomy alphabetical order drop down menu’ is closed to new replies.