Support » Plugin: Category Order and Taxonomy Terms Order » No Override in array’s

  • I use the plugin to order some terms, but when you want to manually create code with an array there is no override like ‘override’ => true; which would really help out when you need just one term list to be in a specific order. Pretty annoying to say the least. Can you add support for this? have a way to disable sort for some taxonomies?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author nsp-code


    I see your point, this will be available for the next release.



    super cool if it was, thanks

    $terms = get_terms( array(
    	'taxonomy'   => 'places',
            'orderby' => 'term_id',
    'override' => true,
            'number'     => 0,
    ) );
    $latest_term = $terms[0];
    • This reply was modified 2 years ago by  joeyjosay.

    how does the ignore term order work in an array? like this didn’t work for me, ‘ignore_term_order’ => ‘true’,

    Plugin Author tdgu


    You need to include within the arguments e.g.:

    $args   =   array(
                            'taxonomy'          => 'places',
                            'ignore_term_order' =>  true
    $terms  = get_terms( $args  );

    lol, wow i can’t believe i did that! thank you so much. this feature really makes a difference

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘No Override in array’s’ is closed to new replies.