• 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

    (@nsp-code)

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

    Thread Starter joeyjosay

    (@joeyjosay)

    super cool if it was, thanks

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

    (@joeyjosay)

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

    Plugin Author Maya

    (@tdgu)

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

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

    (@joeyjosay)

    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.