WP Plugin : Sort Admin Menus

The dasboard menu can get very cluttered if you have lots of plugins installed on your WordPress blog. Many plugins add their own pages to the menu system and eventually it may turn out that some submenus are so long they barely fit on your screen anymore. What’s worse, the menu items are arranged “in no particular order”, which makes finding the necessary option tedious.

That’s why I wrote a small plugin that can sort the admin menus alphabetically. In the default configuration it will sort the menus that tend to be the most bloated – Manage, Settings and Plugins. You can change which menus are sorted by editing the plugin’s source code – it’s very simple and short.

Download Plugin

sort-admin-menus.zip (1 KB)
Requires : WordPress 2.5
Tested up to : WordPress 2.5.1

Additional Notes

This plugin should be compatible with any “dropdown menu” and “CSS menu” plugins. I’ve successfuly tested it with Admin Drop Fown Menu by Ozh and I’m fairly sure it will work with other similar plugins.

It’s largely a proof-of-concept thing. I could go all-out and make a full-fledged menu editor with drag & drop and whatnot, but I suspect nobody would care. So I wrote this simple plugin instead 😛

Related posts :

29 Responses to “WP Plugin : Sort Admin Menus”

  1. Got it – worked just fine. I don’t like to keep local edits, so maybe someday you could push it to the trunk?

    Thanks again.

  2. White Shadow says:

    Okay, it’s in the trunk.

  3. james says:

    great site and love your plugins,

    was wondering, could you write a post on how to develop plugins? i would love to learn how to make one from start to finish and it seems you are the perfect person to teach us……..

    thanks

  4. Jānis Elsts says:

    You might want to take a look at this book about plugin development.

    (Disclaimer: I’m not affiliated with the book/author/whatever in any way. It’s just a good book.)

  5. Sergio says:

    Awesome plugin!

    Is there a way to TARGET a new window with a custom URL? I am trying to point to our external Calendar, Kanban, Billing, etc.

    Thanks!

  6. Jānis Elsts says:

    As far as I know, the only way to do that is to modify the menu links with JavaScript. I have another plugin that can add new admin menu links and make open in a new window, but it costs money.

Leave a Reply