WordPress Plugin – My Category Order

My Category Order allows you to set the order in which Post categires will appear on your WordPress site. Uses a drag and drop interface for ordering. Adds a widget with additional options for easy installation on widgetized themes.

Download here: My Category Order – WordPress.org Plugin Directory

Want to make a donation?

Plugin Info

My Category Order was released in 2006 and has been compatible with every version of WordPress from 1.5 to 2.8.5. It went through a lot of changes, but the effort needed to keep it backwards compatible was quite burdensome. Breaking support for versions of WP older than 2.8 allowed for the inclusion of a more powerful widget and the removal of the horrible taxonomy.php patch (believe me I hated it more than anyone).

The most exciting change comes from the move to the new Widget API. It makes adding support for multiple widget instances a snap. Rewriting the widget code also allowed me to add widget options for nearly every single parameter normally available to the wp_list_categories template function. If you were being held back by the lack of options on the built in Categories widget then definitely check that out.

If you’d like to say thank you or make a donation please visit my Gifts and Donations page.

Looking for fast, reliable and affordable web hosting? Try StableHost.

Read my StableHost review with the latest coupons

256 Replies to “WordPress Plugin – My Category Order”

  1. orderby=order,name – DON’T WORK! (show: no categories)

    I need order by “order” default for parent categories (only changed in the plugin admin), but, order by name for the others child categories (more the 50), don’t changed for the plugin. And order manualy is impossible (much child categories).

    Wait update…
    Thanks.

  2. IBR,

    There aren’t any outstanding issues. The previous commenter never responded with more information and it was likely another plugin was doing something nasty to the Javascript includes.

  3. work for me WP 3.0.1 fine.

    Go to theme-functions.php in the theme folder and find the line that has:
    wp_list_categories(‘orderby=name&order
    and second
    get_categories(‘hide_empty=0&hierarchical=0&pad_counts=1&show_count=1&orderby=name&

    it should be:
    wp_list_categories(‘orderby=order&order
    and second
    get_categories(‘hide_empty=0&hierarchical=0&pad_counts=1&show_count=1&orderby=order&

    first line – subcat
    second line – cat

    Regards

  4. Plugin ver. 2.3.2 – not work with WP 2.3 – I see only category “News”…
    in my functions.php only if ( function_exists('register_sidebars') ) register_sidebars(2);

  5. Hello,
    Does this plugin allow the posts within a category to be reordered as well, or just the cats can be reordered? WP lists the posts in a cat. by alphabetic order, as you know, but I need to be able to list them a different way. Is that possible?

    Thanks,
    Bob

  6. Dear Rick,

    I am using your plugin in my latest project and am very happy with the time saved. I have but one question and it’d be great if you could help out/provide some additional info on, well, what to do in this scenario..

    This one works like a charm ->
    The category archive-page uses . Outputs the thumbs of all my categories, ordered by order. I use some css trickery to hide the text from cats and just echo the image (from another plugin – think it was category-icons something). Dirty job, but working nevertheless..

    In the second example I need to echo the first three categories from the order established by “orderby=order”. You think that the number variable would take care of this, but that is not the case.

    The Homepage (top 3 categories in from order) uses

    The function appears to select 3 items prior to ordering the categories in the established order, leaving the orderby parameter useless. When I remove the number parameter the list is generated fine, by order as expected.

    I imagine it is possible by writing a complete custom query, but well, I installed wordpress and this plugin for a reason ;) Extending functionality seems the way to go.
    Does anyone have a tip on how to fix this? Any pointers greatly appreciated. :)

  7. the above functions are:
    archive: wp_list_categories(‘orderby=order&title_li=&style=none&hierarchical=false’) (working)
    home (first 3 from order): wp_list_categories(‘orderby=order&title_li=&style=none&hierarchical=true&number=0&depth=0’)
    (does not work as expected, see previous comment)

  8. i upgrade my site to WP 3.0.4 and it doesn’t work, either. hope it can be fixed quickly, thanks!

  9. Awesome plugin, would be nice to have a tree layout of categories with children to jump to instead of the combobox

    -category
    –subcategory1 (has sub categories)
    –subcategory2 (has sub categories)

  10. In order to make it work on my site, I had to update the parameters within the function wp_list_categories. I added orderby=order in the function call. The complete code that works for me is:

  11. Am I missing something? I tried to install the plugin, but it just DL a zip file, and there is no install file. Any help would be appreciated

  12. Dude your plugin it’s amassing thanks for creating it, but I have a question, is this plugin able to overwrite an the wp_list_categories() ?

    Anyway thanks for sharing!

  13. Hey~I had activated your plugin and do the changes to the wp_list_category but it still remain unchanged. I would like to change my navigation category order according to my preference. Which file should I changed the code? “function.php” in my theme? “function.php” in wordpress wp-includes? “header.php” in my theme?

  14. I figured out the problem. I need to delete those old categories and re-create new categories. After that, those navigation category had been re-ordered to what I wanted! Thanks a lot!

  15. First, thanks for the awesome plugins!

    I’m not sure if the latest My Category Order (Version 3.0.1) works on the front-end of my WP 3.1 site. I’m simply using it in an attempt to organize the categories on the backend for client administrative purposes. With that in mind, it does *not* work in ordering the categories in the following admin instances…

    (1) When viewing the Categories list (/wp-admin/edit-tags.php?taxonomy=category)

    (2) When adding a new post, in the right-column “Categories” list

    For both of the above, the categories still list alphabetically. Short of doing an admin core hack to add orderby=order (no, I don’t want to do that!) is there any way to have your plugin work in the back-end of WP 3.1? Thanks again!

Comments are closed.