• Resolved mooks84

    (@mooks84)


    Hi,

    I want to use the plugin for ordering some taxonomies, but I have one taxonomy that needs to always be ordered alphabetically and I don’t want the users to have to manually change the order for that particular taxonomy when adding categories.

    I use the get_categories() with orderby = name attribute to retrieve the posts that need to be ordered alphabetically, but when the plugin is activated, the name order is overwritten and I can’t retrieve the posts in an ordered fashion.

    I’m not sure how to work around that.

    Thank you.

    http://ww.wp.xz.cn/extend/plugins/taxonomy-terms-order/

Viewing 1 replies (of 1 total)
  • Thread Starter mooks84

    (@mooks84)

    Nevermind!

    The answer was right in the setting page!

    I just had to put auto-sort to OFF and use
    ‘orderby’ = ‘term_order’

    for when I want to use the custom order.

    Thank you for the wonderful plugin.

Viewing 1 replies (of 1 total)

The topic ‘Overwrites orderby = name’ is closed to new replies.