Return to Support

Order category with taxonomy terms order

Home Forums Graphene WordPress theme Support Order category with taxonomy terms order

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #9186
    oursgris
    Member

    Hello

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

    #42970
    oursgris
    Member
    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.

    #42971
    oursgris
    Member

    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

    #42972
    oursgris
    Member

    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.