Category Order in CategoryTree

Home Forums Menubar Forum Category Order in CategoryTree

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #3221 Reply
    Murtaza Jaffer


    Is there a way to change the category order in the CategoryTree option. Currently it is displaying the categories in the order they were created. I want to display these categories in descending order, i.e. last category at the top.

    Have a look at the Gallery option on the menu.


    #3222 Reply

    Hi Murtaza,

    Menubar sorts categories alphabetically by default. To change that, you have to open the plugin file wpm-db.php, locate the line 300:

    WHERE tt.taxonomy = 'category' ORDER BY ASC";

    and change it to

    WHERE tt.taxonomy = 'category' ORDER BY DESC";

    That will reverse the alphabetical order, as you need.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Category Order in CategoryTree
Your information: