Order category with taxonomy terms order

  • oursgris

    #9186

    Hello

    I’d like to order the category widget but I don’t find how.

    oursgris

    #42970
    Quote:
    Hello

    I’d like to order the category widget but I don’t find how.

    I found that plugin https://wordpress.org/plugins/taxonomy-terms-order/stats/ but order isn’t good, it seems to be in the insertion order.

    oursgris

    #42971

    Hello

    I’d like to order the category widget but I don’t find how.

    I found that plugin https://wordpress.org/plugins/taxonomy-terms-order/stats/ but order isn’t good, it seems to be in the insertion order.

    They said I have to use that code but I don’t know where I have to insert it.

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

    regards

    oursgris

    #42972

    I’m sorry for the 2 duplicate post, I don’t know why it duplicates the post. The third post is the good one.

    Again sorry.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

Do NOT follow this link or you will be banned from the site!