Wordpress Plugin – My Category Order

Gives you manual control over the order of your Wordpress post categories by letting you set an explicit order. Works with subcategories too.

 Buy me a beer.

Download My Category Order:

Updates:

  • Update 3/30/2008: For WP 2.5, I've moved all future downloads to the Wordpress Plugin directory. This page will stay up as a testament to this plugin's popularity over the past 2 years.
  • Update 2/09/2008: Works with 2.3.3, just copy taxonomy.php again.
  • Update 1/22/2008: Fixed a bug that cropped up in the 2.3 release. 2.3.2 is the only version where subcategories are working correctly. Also added Exclude and Include options to the widget so you can specify category ID's there to exclude or include. Also cleaning house a little on the page, older comments might disappear.
  • Update 9/30/2007: Updated to WP 2.3. The category table got nuked this release so you’ll need to go back and order your categories again.
  • Update 6/30/2007: The release you've all been waiting for!!! Built in widget support, hacking the widgets.php file is a thing of the past. HUGE thanks to Tony for the code, much easier to "widgetize" something than I previously thought.
  • Update 5/17/2007: Javascript include bug fix, won't mess up the editor now, redownload if you had the previous 2.1.3 version. 2.2 update coming soon but current version should still be compatible. Things are good with 2.2.
  • Update 5/12/2007: Made some changes to how categories are differentiated between post and link categories. Now any category with 0 links in it is considered a post category, this allows the use of empty categories for better categorization and still have them show up in the plugin. Thanks for the feedback and testing Marci.
  • Update 5/10/2007: Big update! I rewrote the interface and replaced the unfriendly up and down arrows with spiffy new drag and drop ordering. Check it out, definitely worth the upgrade, I've only tested on 2.1.3 but it should work on any 2.1.x install.
  • Update 1/22/2007: Updated to WP 2.1, theme template change needed, see update below.

With the success of my first Wordpress plugin My Link Order, I got a good number of requests asking for something similar that gave control over the order of post categories instead of link categories. I listened and here it is, My Category Order.

Installation instructions:

  1. Upload the mycategoryorder.php to /wp-content/plugins/ on your server.
  2. 2.3 and above: move taxonomy.php to /wp-includes/
  3. Activate the My Category Order plugin on the Plugins menu.
  4. Plugin tab appears under the Manage menu, give the categories an initial order.
  5. WIDGETS: Just drop the "My Category Order" widget in your sidebar that gets installed with the plugin and that’s it!
  6. Modify sidebar template to use new sort attribute, see below.

Sidebar Modification: If you aren't using widgets then you'll need to change your template to use the new sort parameter, "orderby=order":

wp_list_categories('orderby=order&hierarchical=0&title_li=');

If you have any problems let me know, I am more than happy to help resolve any issues you may have. I'll respond to your comment through email so be sure to put a valid email in. Even if you don't have problems leave a comment or throw a couple bucks to buy some beer.

520 Responses to “Wordpress Plugin – My Category Order”

  1. solved the problem ignore the comment after this one.

  2. Great plugin but the sub-categories disapear .. I tried doing wp_list_cats(’sort_column=my_order&optioncount=1&hierarchical=0′); to get the sub catergories to be viewed but it all goes back out of order. Any help or Tips???

  3. oh and you may want to fix the name on #3 (instructions)

    Activate the My Link Order plugin on the Plugins menu

  4. You’re right, those parameters make it do weird things. I had tested subcategories without the hierarchical parameter and it defaults to true when it is missing. When hierarchical=0 is set, it treats subcategories the same as the top level categories so they get placed wherever they got set to. With the following I get the correct output (except my theme isn’t up to par for displaying subcategories) but it does work:

    wp_list_cats(’sort_column=my_order&optioncount=1&hierarchical=1&hide_empty=0′);

    The hierarchical=0 is your problem (assuming you want your subcategories to be displayed under their parent). If you want to be able to put subcategories anywhere in the list then we have a problem. I’d have to look at the code a little more to see if this is possible, but as is, my plugin and subcategories only play nice with hierarchical=1 or omitted.

  5. I tried it (without the hide_empty part) but It’s still playing up and now it’s not showing one of the categories either.

    this is my normal code :
    wp_list_cats(’sort_column=name&optioncount=1&hierarchical=0′);

    I could always do things the manual way I guess like I did with the Navigation but I guess A-Z will do for now.

  6. I might not have been very clear, but right now my plugin will NOT work with hierarchical=0. My plugin assumes that subcategories will be listed under their parent like when hierarchical=1 or when it is omitted.

  7. I can just put them as main cat’s .. duh that’ll work lol

  8. (Last post lol) Thanks for the plugin .. works a treat. I have all my files in the main category instead of sub categories. It is now active and working on my site :)

    Thanks.

  9. Cool glad you got it going.

  10. SWEET plugin!!! Thank you, this is precisely what I needed. Worked perfectly right out of the box, which is well above par for the many, many plugins I’ve installed lately. Excellent job!

  11. Smashing plugin! I really like it, it cleans things up for me quite a bit. Thanks very much! ^_^

  12. Sorry for the double-comment, I just had something occur to me. I’d like to make the categories bold, as a way to further set them apart from the indented subcategories, but I have no idea how to go about doing this. I took a look at the files included, but I know nothing about how plugins work, and I’d likely muck it up something horrible. Thanks a million for your time, and thanks much again for making such a nifty mod!

  13. Love this plug-in!

    Question:

    Why do I loose the number of posts to a catagory when activating this plug-in? How do I keep that information?

    Thanks,
    Robert

  14. Sorry but this is my normal code :
    wp_list_cats(’list=0′);
    and if i write your code it givs me the text:

    Parse error: parse error, unexpected ‘=’ in /web/htdocs/www.jodesign.eu/home/wp-content/themes/jodesign/sidebar.php on line 13

    What can I do?
    Thank, Jo

  15. Robert,

    There are different options you can turn on when you call the function to display the categories in your template’s sidebar file. Should be something like ’sidebar.php’ in your template folder. In there find where the function wp_list_cats is listed. You need the optioncount=1 option. The below statement will display categories in the order you specify and display the post count.

    wp_list_cats(’sort_column=my_order&optioncount=1′);

  16. I use WP 2.03 with the semiologic theme/CMS.

    The following appears in the sidebar-ext.php (not sidebar.php) file:

    [code][/code]

    I changed it to:

    [code][/code]

    But I can’t get it to work. Any ideas?

    Thanks!

  17. Sorry, the code dissapeared in my previous post :(

    Should be:

    wp_list_cats(’sort_column=name&optioncount=0′);

    was changed to

    wp_list_cats(’sort_column=my_order&optioncount=1′);

  18. Great plugin, but I’m having trouble with a second level of subcatagories.

    If I have more than one level of subcatagories, the next regular category is displayed as a subcategory of the previous regular catetory.

    Example:

    [My actual categories are...]
    Schools
    -High Schools
    –Whittier High School
    Sports

    [They are displayed as...]
    Schools
    -High Schools
    –Whittier High School
    -Sports

    Thanks for whatever help you can provide.
    Ed

  19. As a work around to my post #18, I have hidden the second level subcategories in the sidebar.php “list_cats” “exclude” section.

    This will work great for me.

    Your plugin is great and has saved me a great amount of time and mad my website look a whole lot better.

    Thanks again
    Ed

  20. Hi
    My original code in sidebar.php is
    wp_list_cats();

    but when I replace with
    wp_list_cats(’sort_column=my_order’);
    I get following error
    Parse error: syntax error, unexpected ‘=’ in

    any ideas,
    thanks

    Paul

  21. Paul,

    One other person had this problem and didn’t get anywhere but I do have an idea now. WP replaced my apostrophes with curly single quotes for whatever reason, so if you copy and pasted off the page it could be using the wrong characters. Try replacing the quotes around sort_column=my_order with plain old ‘ apostrophes. If that isn’t it then I might be stumped.

  22. Thanx a lot – at last I found this! I tried so many different – but this is working with Category Visibility-RH (http://ryowebsite.com/?p=46)

  23. the following error appeared when I clicked my category order tab in the manage tab
    WordPress database error: [Access denied for user 'yscr_bbNfuP'@'localhost' to database 'blog']
    ALTER TABLE wp_categories ADD `cat_my_order` INT( 4 ) NOT NULL DEFAULT ‘0′

    WordPress database error: [Unknown column 'cat_my_order' in 'order clause']
    SELECT * FROM wp_categories WHERE category_parent = 0 ORDER BY cat_my_order ASC

    can you help!

  24. Database errors have been rare and this is a first for this particular problem. The problem is that the account that connects to your database does not have enough rights to modify the structure of the database, which my plugin has to do. You will have to get into your database with something like phpMyAdmin (using an account with full access) and make sure that yscr_bbNfuP account has permission to alter the database.

    If this is over your head then I’m afraid there isn’t much you can do unless you have a friend who is familiar with databases and can take a look at it for you. If you have any other questions let me know.

  25. Thanks for the plug-in — its very useful.

    I have a problem though – I’m trying to display an unordered list of categories and subcategories. The plugin seems to be acting strange in relation to my stylesheet … When the plugin is deactivated, my main categories appear in bold with the sub-categories indented beneath them in normal type as I would like to see them. When I activate the plugin only the first main category is bold and everything else acts like sub or sub-sub categories of the first main category … does that make sense?

    I’m not sure if its an anomoly in my stylesheet (it was really painful to get it to work the same way for firefox and IE but finally it does) or something odd going on in the plugin -

    Hope you can help …

  26. Please disregard/delete my previous comment. Its not this plugin causing the problem – its the category visibilty plugin.
    Sorry to bother you!

  27. Thank you very much for this plugin. It worked flawlessly and saved me from the dreadful task of mucking up with the database.

  28. Is it possible for this plugin to get a category-[#].php page to sort in the particular order specified? Or is it just for the sidebar? My client has asked me to have the specific categories sort on the category pages in an explicit order.

    Please forgive me if I am missing part of the big picture, I am very new to this.

    Thanks.

  29. I’m not using categories and would like the Categories list to disappear entirely from the sidebar. Does your plugin make this possible?

  30. Above: David Woolley

    If you don’t need the “Categories” to show up on your blog, you can delete that portion of code from the “sidebar.php” file in the theme you are using.

    There should be a category heading – probably a h2 tag that says “categories”. Delete that heading, as well as the list (ul) or list item (li) that holds the Categories. Email me if you have questions.

    i DO have an issue with this plugin regarding post count to a category. This is the code that I have:
    wp_list_cats (’sort_column=my_order&optioncount=1′);
    But the post count still isn’t showing. I’m on WP 2.0.2. Any help is appreciated.

  31. Got it! Thanks very much. I’m glad to have this new function. Terrific!

  32. This is a great plugin, this should come with wordpress but don’t know why they never thought about it. Thanks!

  33. I don’t know why. I have just upgrade MySQL 4 to 5. After upgraded, I can activate others plugin with no problem.

    Only mycategoryorder and mylinkorder have problem. When I activate them,
    Every page become blank. Please advice!

  34. Wierd problem…this was working just fine at one time. In admin now, it says
    “Table ‘timeless_phpb2.tw_wp_categories’ doesn’t exist”

    It seems to be pulling it’s base information about the database name from somewhere, and is looking for a database for phpbb. Where is it looking for this information? All I see in the plugin is $wpdb, which I would think would give an accurate database name. Thanks in advance.

  35. People have had this problem before and my only guess is that it is a conflict with another plugin that is misbehaving and changing the $wpdb object to point to another database. Have you installed any plugins or phpb2 lately?

    Andrew

  36. Oh of course….I didn’t think of it, but yes…I installed WPHPBB which uses phpbb for the comments. Ugh. I really need it for this project. As a workaround, I went to my MySQL database and manually numbered the categories in cat_my_order, which worked OK (set my custom query to sort by that field). But ultimately I need this to be fixed. I assume there is a WP file somewhere that is being changed….what file would that be? I will need to alter it back and test to see what breaks. Thanks.

  37. For WPHPBB I wouldn’t know what to change, but you could edit my plugin files to use the correct hardcoded database and table name instead of the $wpdb object. For a while my plugins actually used the hardcoded default names until I got complaints. If you need help changing the database references let me know.

  38. Great idea. I tried it, but I will need a little direction, I guess. I’m getting a sql error, so I must be doing something wrong. It seems the easiest thing would be to make $wrdp = the correct path, but if you’d give me the exact syntax it would help. I’m a php noob. :)

  39. Where should I see the “arrows” or be able to use the keyboard arrows to change the order.

    I followed the instructions, but I can’t select and move an existing category and move it.

    Cheers,
    Steve

    P.S. I need help ASAP, so I’ll PayPal you $50 to help me make this work. I am using WP to host an online candidate debate and the categories need to be listed just so.

  40. Oh, I am using WP 2.0.4

  41. Check your email Steven

  42. Thank you thank you thank you!

    I’ve been having terrible trouble with the list_cat function, as I’m writing a page in Icelandic and special Icelandic characters won’t alpabetize correctly… so once again: THANK YOU!

  43. Just one question: I’m also having the same problem with sorting my authors… Do you think there is a plugin on the way to sort authors manually? :)

  44. oh..thanks…this plug in was superb !

  45. Hi,

    I have installed this as per instructions and have tried to order the categories by using the up and down arrows and when I click on click to order category, nothing happens.

    BTW, the graphics for the arrows are not showing up, but I checked the ftp files and the files are all there in the folder. Your help would be great.

    Thanks.

  46. Awesome plug-in. Thank you so much for taking the time to put this together. It should be part of the next upgrade package for WP.

  47. in your plugin you use this code to control if there is a column
    $query = mysql_query(”SHOW COLUMNS FROM $wpdb->categories LIKE ‘cat_my_order’”) or die(mysql_error());

    if (mysql_num_rows($query) == 0) …
    —–
    but if I want to control if there is
    a table, how can do?
    is there a link where is explained similar solution for this problem?
    can send me an email if you answer here? thanks

  48. it can work under the default themes,but doesn’t support k2,sub-categories don’t under their parent-category in the sidebar,how to do it?

  49. I really want (need) this plugin to work, but I just can’t quite seem to get it to function properly. I have three link categories on my home page (Link Love, Current Projects, Archived Projects) and no matter what I try, they’re always in alphabetical order on my home page. I’ve implemented your custom code, changed the order, clicked “CLICK TO ORDER CATEGORIES” and nothing changes. Help! :-)

  50. can i use this plugin for WP 2.0.5? Well i have tried anyway, but it didn’t work.
    also, does “my category order&my link order” work on all kind of templates?

  51. hello,
    it doesent work!

    i have install right, and if you want to order it witz the keyfiles, the kathegories didnt move!!

  52. HI?

    I want to get an answer please!

  53. Guys, please forgive me for being such a dunderhead, because this topic has been discussed over and over in these comments. But I just cannot seem to get the subcategories for Articles By Experts working. Here is the output:

    Welcome
    Combat Training
    Strength Training Days
    Articles by Experts
    Advanced
    Intermediate
    Beginner
    Nutrition
    Diet
    Proper Breathing And Exercise
    Medicines and Side Effects
    Personal Stuff
    The D Word
    Uncategorized
    PodCasts

    What I want to see is this:

    Welcome
    Combat Training
    Strength Training Days
    Articles by Experts
    Advanced
    Intermediate
    Beginner
    Nutrition
    Diet
    Proper Breathing And Exercise
    Medicines and Side Effects
    Personal Stuff
    The D Word
    Uncategorized
    PodCasts

    I am using wp_list_cats(’sort_column=my_order&optioncount=1&hierarchical=1&hide_empty=0′); as the code to call the categories, but it just ain’t happenin.

    Are my expectations outside the capabilities of this awesome plugin?

  54. OOPS, the comment format did not allow for indents. Dang.

    Welcome
    Combat Training
    Strength Training Days
    Articles by Experts (indent starts here)

    (end indent)
    Beginner
    Nutrition
    Diet
    Proper Breathing And Exercise
    Medicines and Side Effects
    Personal Stuff
    The D Word
    Uncategorized
    PodCasts

  55. Well, I cannot get it to display like I want. I am sorry for the goofy posts. Bottom line is I want the 3 subcategories of Advanced, Intermediate and Beginner to be indented.
    Make sense?

  56. Pingfan and Vegoh, make sure that you are using a basic

    in your sidebar.

    That is necessary in order to get a basic listing of your categories in the order you want.

    If you have subcategories, I will post a message once I get my subs working,

  57. And yeah, I think you are awesome :)

  58. Ayerst,

    I’m assuming the categories and subcategories are in the order you set
    so I’m pretty sure this is a problem with your theme (display problems
    almost always are). I checked out your site and looked at the page and
    the HTML being outputted is correct. The problem is your theme’s CSS
    does not handle the nested

      the subcategories get put into. Try adding the following to your style.css file:

      .children {
      padding-left: 10px;
      }

      Let me know how it goes.

  59. Andrew, I will give it a try.

  60. Here is what I did. Let me know if this is what you had in mind.

    I added

    children {
    padding-left: 10px;
    }

    to my CSS

    Then I went into sidebar and added the class to the categories UL like so:

    Categories

    Then I refreshed the web site and the categories did not change.

    I look at the source code, and where you would expect to see a nested UL, you don’t.

    Hmmm veddy innerwestink!

  61. And I made sure there was a dot in front of “children” in my css sheet.

  62. Alright I see what is wrong, this should work for sure, put the following code at the bottom of the CSS file, the code that sets the margins and padding to 0px for the lists will override it if it is above it.

    ul .children {
    padding-left: 10px;
    }

  63. Amazing. Simply amazing. I would never in a million years have guessed that something like this would have worked.

    Andrew, you are brilliant! I really admire people like you for being able to solve problems like this.

  64. One thing I was wrong about: The nested UL was in fact there all along. I just didnt see it when I looked it the source code. It was hiding in the code all along. Your plugin was working all along. So, the class file makes perfect sense now :) Good solution.

  65. Glad it is displaying how you want now. Little stuff like that usually has a pretty simple solution, it is just a matter of narrowing down the problem and getting the fix in. Be sure to check back for upgrades whenever you update to a new version of WP, especially WP 2.1 since my plugins as they are will break. I’ve got new versions lined up and will hopefully get some more improvements into them.

  66. OK Andrew. I use 2.05 WP at the moment.

  67. Andrew, mind if I pick your ample brain for some ideas regarding traffic?

    I know blogs are all the rage, but what makes some blogs more popular than others? I love my blogs (The fitness one in particular) but I am not sure how to drive traffic to it. And I want to drive traffic to it because I want to make it appealing to sponsors (email me at webmaster at totoalphysiqueonline dot com and I will fill you in on what I am trying to do. Maybe you might have some suggestions on how I could achieve my goal.

    Thanks

    I also use ichat and yahoo messenger. spudnutsncoffee is my handle for both of those.

  68. I’m back, with more DB issues. For some reason, I am now getting the following error message when I click on My Category Order in the menu. “You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘->categories LIKE ‘cat_my_order” at line 1″

    I used to at least get the main page. Any help?

  69. This is the query that is bombing out:

    SHOW COLUMNS FROM $wpdb->categories LIKE ‘cat_my_order’

    There’s 2 things that lead me to think this is a bigger WP problem, one is I’ve never had anyone report this problem and two it looks like the WP database class is malfunctioning. The first part of the code it lists in the error “->” means $wpdb->categories isn’t being translated into the table name like it is suppose to. I really have no clue what would cause this, have you upgraded WP or any other changes to your install recently?

  70. Hi i realy like your work, but on my sidebar i have the following:

    when i insert your :wp_list_cats(’sort_column=my_order&hide_empty=0′);

    i can see my categories, the plugin is activates and i have arrange the sort of my categories!
    could anyone help me solve this one.

  71. Hi again on my sidebar i have the following:

    i download the sidebar and work on dreamweaver but when i upload the file the categories doesn;t show up?

  72. Any way i just solve it by myself thanks anyway…. keep up the good work.

  73. thank u so much.!

  74. Paul O Mahony ===>>>>
    code:
    wp_list_cats(”sort_column=my_order”);

  75. hi i just upload and activated the plugin i change on sidebar.php my list_cats
    on my website i have the following

    i change multiple times but when i change the sidebar i cant see any of my categories just the links.

  76. Very nice plugin, I was looking exactly like somthing like that
    Thanks a bunch!

  77. Do we know if “My Category Order” is compatible with WordPress 2.1 yet?

  78. I have updated My Category Order for 2.1, but just haven’t posted up the new version yet. I’ll make the 2.1 version available soon so you and others can get a jump on the upcoming release.

  79. Hey Andrew,

    Thanks for the update. I’m having a tiny prob with it (or rather my ability to use code lol.)

    This is what I had before the update when everything appeared fine:

    Register'); ?>

    Recent Posts

    ',''); ?>

    Categories'); ?>

    Archives'); ?>

    My prob is that things like “We Support:” is showing up in there (Left sidebar.) “We support:” was a link category in the right sidebar only.

    Any idea how I can fix this?

    Thanks bunches,
    Lace

    ps you can see my site at memorylaneproducts.com

  80. darn…

    ** Categories’); ?>

    **

  81. oh good grief! Do I get an “A” for effort yet?! :D

    You can see what I had up before here: http://wordpress.org/support/topic/101790?replies=1#post-502982

    L

  82. wp_list_categories(’orderby=order&hide_empty=0&title_li=’);
    change didn’t fix it. Any more suggestions?

    L

  83. Hi Andy.

    I am trying your new plugin for WP2.1 and I am using

    wp_list_cats(’sort_column=my_order&optioncount=1&hierarchical=1&hide_empty=0′);

    What is happening is strange.

    Categories are not only being displayed out of order, but all my blogroll links are being displayed along with the categories!

    Whats going on?

  84. OK, now I am using :

    wp_list_categorieswp_list_categories(’orderby=order&optioncount=1&hierarchical=0&title_li=Categories’);

    as per your suggestion at the top of the page. I must have been using the wrong code. The blogroll is gone from categories, however my subcategories are gone.

    Any suggestions?

  85. Hi!

    i have a diferent the and I have this function to lis categories:

    What do I have to change, because I installed your awesome plugin and doesn´t affect the category orders I want.

    Best!!

  86. Hi Andrew,

    I have a question regarding what needs to be done to use this plugin with WordPress 2.1. When you say:

    you now must use the following function… :
    wp_list_categories(’orderby=order&optioncount=1&hierarchical=0&title_li=Categories’);

    Does that mean the code should be inserted in my site’s functions.php doc? Or is this line to be inserted in the template that lists my categories (in my case the header, not the sidebar)?

    Thanks for the great plugin!

  87. In your case it would be your header template. Your function call might not match the examples I have given, you really only need the ‘orderby=order’ for it to work. If you have any trouble with it, copy and paste your template to me and I’ll take a look.

  88. I am using wordpress 2.1
    but I think my theme is a little older

    I have this as my category code in my side bar

    What code would help me out so it works correctly I did it once but it seemed to shift my blog to the right, so I must have blown it, could you help me out? Thanks

  89. I am using wordpress 2.1
    but I think my theme is a little older

    I have this as my category code in my side bar

    What code would help me out so it works correctly I did it once but it seemed to shift my blog to the right, so I must have blown it, could you help me out? Thanks

    Hmmm cant seem to write out the code in the comment its ? php wp_list_cats (”); ? >

  90. You didn’t do anything wrong, the HTML that the function outputs by default is probably different than what you had before. Send me a link to your blog and I’ll look at the HTML and get you the correct function call you need. froman118 @ gmail.com

  91. Hey there,
    Is there any reason that this plugin wouldn’t work with the ‘dropdown_cats()’ function?

    Cheers,
    Dalton

  92. If you are on 2.1 that function has been deprecated and replaced with wp_dropdown_categories(); The documentation hasn’t been added for it yet but I will look at the function this weekend and get you the exact function call you’ll need to get it to work with my plugin.

  93. This man is fantastic! He’s got the only working plug-in compatible with WP 2.1 that can reorder categories AFAIK. Simple to use. Goddamn useful. I’ve nothing but praise for this guy.

    Keep up the fabulous work!

  94. dalton,

    The new dropdown function has pretty much the same arguments as the regular one that outputs the list, replace the old function call with the following:

    < ?php wp_dropdown_categories('orderby=order'); ?>

    That should be all you need to do.

  95. I believe your latest release (as of 2/16) has a missing bracket somewhere. I get an error on the plugins management page after activating.

  96. Not sure what would be going wrong, nobody has ever had a problem like this and I re-installed the plugin right now and it is working fine. Try downloading again and replacing mycategoryorder.php and if it is still giving an error, send me the error so I can try an narrow it down.

  97. Hi
    I love this program, but it doesnt save the order in the published view, only in my control panel view.

    I can re-order fine and it stays the order I want, but when I look at the published view it displays in the old order it was in origionally.

  98. Hey.
    thanks for the plugin. it is just what i was looking for.

    i have a problem using it though.
    i get:

    WordPress database error: [Unknown column 'cat_my_order' in 'order clause']
    SELECT cat_ID, cat_name, category_nicename, category_description, category_parent, category_count FROM wp_categories WHERE cat_ID > 0 ORDER BY cat_my_order asc

    i am using 2.0.7.

    also, is it possible to get it to work with this plugin? that would be amazing!
    http://watershedstudio.com/portfolio/software/wp-category-posts.html

    thanks.

  99. 1. Extract zipped mycategoryorder folder
    2. Upload the mycategoryorder folder to /wp-content/plugins/ on your server.
    3. Activate the My Category Order plugin on the Plugins menu.
    4. Plugin tab appears under the Manage menu, give the categories an initial order.
    5. Modify sidebar template to use new sort attribute, see below.
    **********************************
    I use 2.1 version and Tiga template.
    1-2-3 ok: in “Plugin management” I can see “My category order”.

    4. : In “Manage –> Categories”, I can see: ID Name Description Posts Links Action, but I can not see “Plugin tab”… what’s wrong in me?
    Thank’s

  100. Nothing for php the_category inside a post? I need it there.

  101. I need a plugin that orders categories under a post, like in the loop or whatever; on index or single page, not just sidebar. Can you do that?

  102. Hi!

    This is nice..thanks! Maybe you can help me! Is there any way i can make it no to be seen by other users. I mean…when they log in to my blog as “authors”, in options they can change the order if they wish! I wan’t that to be allowed only to me…

  103. Have you tested your plugins in WordPress MU yet?

  104. hi nice site.

  105. in response to item 105. We just moved to MU and the most recent version of the plugin (2.1) seems to work fine.

  106. I’ve been using this plugin for a long time, and just upgraded. I never really resolved the problems reported earlier, but still used the cat_my_order field to manually manage my order. I’d really like it to be handled in Admin….so I downloaded the latest, and gave it a shot. Overall it is working but…any idea why I would only be seeing 4 categories and 0 subcategories, when I have probably 50 of each? :)

  107. Hi,
    when activating the plugin i get the following erreor message in WP 2.0.4

    Fatal error: Call to undefined function: wp_enqueue_script() in /debjqgaw/www.de-brand.net/blog/wp-content/plugins/mycategoryorder/mycategoryorder.php on line 20

    Any idea?

    ciao
    >

  108. I have a similar problem as the following comment:

    #

    99. Marco | February 22nd, 2007 at 9:37 am

    I can re-order fine and it stays the order I want, but when I look at the published view it displays in the old order it was in origionally.

    I’m using 2.1.3

  109. It’s not working well with the latest WP 2.2, once the plugin’s been actived, the rich text editor will not be working when writing a blog in the Admin panel.

  110. Is there anyway to make this plugin compatible with widgets? I am using widgets (like everyone will be using with wordpress V2.2) and I can’t figure out how to incorporate this with them.

  111. I feel almost ashamed, tried every combination I could find and/or think of, but I can’t get this awesome plugin to work.
    The page order works fine!
    Maybe someone can have a look?
    Thanks

    http://uitenthuis.doenenlaten.net

  112. I am having trouble getting the post count to display.

    My code is:
    wp_list_categories(’orderby=order&optioncount=1&hide_empty=1&hierarchical=0&title_li=The Goats’)

    Everything else works great.

    Thank you

  113. hi. so glad to find your plugin – however, i’m using wp 2.2 and this is the line that appear in the sidebar (which is widgetized by the way):

    should i replace with the code you mention above for 2.1?:

    wp_list_categories(’orderby=order&optioncount=1&hierarchical=0&title_li=Categories’);

  114. hi again. thanks for the response about replacing

    with

    parse errors though…suggestions

    (I’m hoping this will post all my code this time…your system omitted a line of code in the last post fyi)

  115. hi again. thanks for the response about replacing

    with

    in the wp-includes/widgets.php file
    parse errors though…suggestions

    (I’m hoping this will post all my code this time…your system omitted a line of code in the last post fyi)

  116. My theme uses a drop down to display categories. The sidebar cose looks like this:

    “” method=”get”>

    Can I add or change anything here to make of your plugin as it is ignored (though works fine in the admin)

    Thanks

  117. I’ll try that again

    ” method=”get”>

    If this messes up then just know it’s a ?php dropdown_cats();?

  118. Hi,
    thank you for your order-by-categorys plugin.
    Unfortunately it does not work. We use the WP Template Dialogue Avenue III (Widget-ready) 03.10 (de, en) by Mark Dynét.
    unfortunately, the code is:

    Kategorien’); ?>
    I can now change the list_categories code as written above, but it does not work, because the dynamic_sidebar is overwriting it.
    Is there a possibility to use your plug-in?
    Thank you and many greetings,
    Angela

  119. hi all.

  120. This plugin does not works for wp 2.2

  121. You’ll have to be more specific about the problem you are having. Many others and myself are running the plugin on 2.2. Is the plugin page throwing an error, are your settings not being saved, is the order not displaying correctly in your theme? The last is the most common problem so please check your sidebar template or send me a copy of the file if you don’t feel comfortable making changes to it.

  122. Hallo Andrew,
    at this url:
    schaun-ma-mal.de/blog
    you can find a test blog and under:
    http://www.schaun-ma-mal.de/sidebar.txt you can see the sourcecode.
    Now I want to change for example the oder of word and Excel.
    Thank you and many greetings,
    Angela

  123. In wp-includes/widgets.php you have to replace the call

    wp_list_categories($cat_args . ‘&title_li=’);

    (line 643) with

    wp_list_categories(’orderby=order&optioncount=1&hierarchical=0&title_li=Categories’);

    This should work for Wordpress 2.2.1 with widgets! :-)

    Thanks for this good plugin!