WordPress Guy

WordPress Guy designs and develops WordPress themes and plugins. WordPress Guy teaches you WordPress stuff.

Last week I was having a really hard time ordering the categories in this blog’s header as WordPress only seems to allow to order by name or by ID. That’s why I came up with the Category Order plugin.

Description

The Category Order plugin allows you to easily reorder your categories the way you want via drag and drop. It doesn’t require a special widget or anything, just install and reorder.

Requirements

This plugin requires that you use at least WordPress 2.3, although it has only been tested on WordPress 2.5.1

Download

Category Order 1.0.3

Installation

  1. Download the plugin and expand it.
  2. Copy the ‘category-order.php’ file into your plugins folder (wp-content/plugins/).
  3. Login into the WordPress administration area and go to the Plugins page.
  4. Locate the Category Order plugin and click on the activate link
  5. That’s it, now you can go to Manage » Category Order and reorder the categories the way you want.
  6. If you use wp_list_categories(), make sure you don’t specify an order (e.g. wp_list_categories(’orderby=count’);).

Version History

  • 1.0.3 - If no order is specified, categories are ordered by name
  • 1.0.2 - Fixed a problem related to PHP 4
  • 1.0.1 - Fixed a problem where the plugin wouldn’t work properly if you had installed WordPress in a subdirectory
  • 1.0 - Initial Release

Donate

Support further plugin development by making a small donation:

donate

Comments

  • Bob McWackerhagen
    August 8th, 2010 at 4:27 am

    Seems to work just fine with Wordpress 3.01. Thanks so much! The other tool for this, My Category Order, did not work for me.

  • August 10th, 2010 at 1:28 pm

    Hm short question, is it possible to order Categories from a custom Post Type?
    If the answer is yes…. How? =)

  • ... Category Order – Beiträge lassen sich in WordPress in Kategorien einordnen, und diese Kategorien kann man sich im Menü anzeigen lassen. Da es sich bei WordPress ja ursprünglich ja um ein BLOG-System handelt, sortiert es die Kategorien zum schnellen Auffinden alphabetisch. Viele Websitebetreiber möchten aber die Kategorien als “Menüpunkte” nutzen und die Reihenfolge selbst bestimmen. Entweder muss man nun ein Text-Widget selbst erstellen und jeden Menüpunkt per Hand eintragen und bei Änderungen immer wieder updaten, oder man nutzt Category Order und sortiert seine Kategorien per Drag & Drop. ...

  • August 17th, 2010 at 1:00 am

    Tnx from Brasil!! D+++

  • serenekitchen
    August 17th, 2010 at 9:13 am

    i can bake you a cake!!!

  • August 17th, 2010 at 7:26 pm

    so easy I’m about to cry, only geeks can understand that ;-)
    thanks a lot from Hanoi

  • ... çevirdim. Eklentinin orijinal  ismi “Category Order”. İsteyen arkadaşlar buraya tıklayarak eklentinin geliştiricisini ziyaret ...

  • Natalie
    August 29th, 2010 at 4:13 pm

    it worked great on my site, which runs on wordpress 3.01. Thanks!

  • ... Category Order: I think this is self-explanatory, but it just helps make the place look a bit neater and shows some prioritisation. ...

  • August 30th, 2010 at 6:37 pm

    I am using the latest version of Thesis 1.8 with the latest version of WordPress.

    Having problem with your step 5: That’s it, now you can go to Manage » Category Order and reorder the categories the way you want.

    Able to activate your plugin, but can’t find in my list of Widgets . . . HELP.

Your Comment