WordPress Plugin – My Link Order Archived

This page is an archive for the older versions of My Link Order. All new comments should be made here.

Gives you manual control over the order of your WordPress link categories and links by letting you set an arbitrary order. Includes drag and drop ordering and a replacement Widget.

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

Download My Link Order:


  • Update 3/19/2008: With 2.5 coming up, 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 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 (link order is preserved).
  • 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. I’m also dropping support for WP1.5, if you really really need it just ask, but seriously if you are on 1.5 it is about time to upgrade.
  • 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/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: Published WP 2.1 version of plugin. Eliminates need to modify core files but uses new WP template function. Also eliminated up/down arrow images, now uses plain buttons to avoid problems with image paths. See updated instructions above.
  • Released January 2006 for WP 1.5 and soon after 2.0, many updates followed 2.3, 2.2, and 2.

Installation Instructions

  1. Unzip packed files
  2. Move mylinkorder.php to /wp-content/plugins/
  3. 2.3 only: move taxonomy.php to /wp-includes/
  4. Activate the “My Link Order” plugin on the Plugins menu
  5. Go to the “My Link Order” tab under Blogroll and specify your desired order for both link categories and links in each category.
  6. WIDGETS: Just drop the “My Link Order” widget that gets installed with the plugin and that’s it!
  7. Modify sidebar template to use correct function (additional parameters seperated by ampersands):

If you have a problem with it not ordering, make sure you have a plain “&” and not “& amp;” between the parameters which could happen if you copy straight out of the browser. Also make sure quotes are plain straight ones, some people have had problems when copying and pasting code out of the browser and PHP chokes on the bad quote character.

Thanks for checking out my first WordPress plugin, My Link Order. I wrote this because WordPress is sorely missing the ability to manually set the order link categories and links themselves will appear in. WordPress provides seven options for ordering just links (ordering categories is mysteriously absent) and they all seem to tip toe around the idea of actually letting the user explicitly set the order they want. 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.

502 Replies to “WordPress Plugin – My Link Order Archived”

  1. Hi

    I’m trying to use your plug in on my new blog but iv got a problem its not working.

    I’m using WordPress 2.7.1. and iv installed it all correctly and iv been able to use the drag and drop to get the menu in the correct order but when I view my blog its still in the wrong order.

    Please help. I’m not really very good with PHP I’m a designer more than a programmer and this is making my brain melt.



  2. I enabled the My Link Order plugin for WordPress 2.7.1. Although the admin section works, when I try to go on the public site, I get this error:

    Call to a member function wp_rewrite_rules() on a non-object in [snip]/wp-includes/classes.php on line 145

    Any ideas?

  3. I’m not sure what’s happening, but I found out when the Gengo 2.5.1 plug-in is enabled, WordPress 2.7.1 chokes on the My Link Order plug-in on line 268 in mylinkorder.php when trying to call load_plugin_textdomain().

    I don’t need interface translation for now, and I’m not authorized by my client (to who I’m doing this site for) to upgrade Gengo to 2.5.3 yet. I simply commented out that line and everything is back to normal again.

  4. Hi – Using WordPress 2.8 the MLO widget doesn’t work – also, I can’t order the links (the drag and drop is broken.)

    Just thought I’d add my 2 cents about the new version!

  5. Thank you, Matt (#401 Matt commented on April 15, 2009 at 4:26 pm)! I would have never thought to look there. Works perfectly, now!

  6. Hi,

    the plugin is really very good. The only think I miss is valid xhtml code (xhtml 1.0 strict). Is there a way to alter the plugin, that this gives us valid xhtml code?

    Best regards, Tom

  7. I had the same problem as the comment above. After downloading 2.8, it did not show up and I got an error message on the right hand bar.


  8. Thanks for the fast 2.8 patch!

    If people are still not seeing links on their site after the patch, try deleting plugin and reinstalling. Worked for me. It even remembered the link order.

  9. Thank you for a superb plugin! It is definitely in my top favorites!

    I am also having the same issue as many – really long error message in the sidebar after upgrading to WP2.8.

    WordPress database error: [Column ‘term_order’ in order clause is ambiguous]
    SELECT DISTINCT t.term_id, name FROM wp_term_taxonomy tt inner join wp_term_relationships tr on tt.term_taxonomy_id = tr.term_taxonomy_id inner join wp_terms t on t.term_id = tt.term_id where taxonomy = ‘link_category’ ORDER BY term_order ASC

    I have done the following to try and fix it. It did on one site, but not one my others.

    I have deactivated then deleted the plugin and then:

    “quote plugin author”: When you upgraded core files I had to modify were overwritten. You’ll need to copy link-categories.php to /wp-admin/ and links.php to /wp-includes/ again. This is one of the downsides to my plugin but sadly it is necessary to get this kind of functionality from WP.

    Except that in 2.8, link-categories.php does not exist. It is link-category.php as well as links.php does not exist in wp-includes, but link.php does in wp-admin

    I’m still dumbfounded. I thought perhaps it was because on two sites I forgot to deactivate all plugins before upgrading, but one of the two sites works fine after having done the above.

    Any more suggestions?

    Thanks bunches! Again, it is an awesome plugin!!!

  10. Hello,

    Thanks for making a great plugin in My Link Order. I have a feature request for MLO: add CSS classes for each link category so that one could modify the font-size, font-color, etc. of one category of links independent of other categories. Currently all categories have the same ul class=’xoxo blogroll’ tags.


  11. hi, great widget.
    Is there a way to limit the number of displayed Links
    i have many, and i want only some to appear with the widget

  12. hi, i also upgraded to wp and my link order 2.8 — and my links weren’t displayed anymore. it seems that it chokes if the ‘category_orderby’ option is set to the value ‘order’. hope this helps when investigating a fix — i suspect you need something in function mylinkorder_check_taxonomy_file() to take care of category_orderby as you already did for orderby.

  13. I get this error in both my link order and my category order plugins:
    Error while writing to the file D:\wordpress/wp-includes/taxonomy.php.
    Any ideas what can be causing this? I am using the most updated plugins and WordPress 2.8 on a Windows 2003 server using IIS6. My page order plugin does work.

  14. I’ve installed your plugin on my site and went into the admin to reorder them but they won’t move. I try to drag them into the order that I want and they just won’t move. I’ve tried to re-install the plugin but it just doesn’t let me reorder them. Any ideas?

  15. Any chance of getting multiple instances of the widget for 2.8? Will gladly make a donation if such a thing is possible!

  16. Hi- the plug-in installed just fine, and I can see the widget, but I don’t have any visible interface for re-ordering my links. Where am I supposed to look for that? Thanks for the plug-in.

  17. I have been using the using the plug-in for sometime and it stopped working recently (maybe the most recent update to WP)? The widget doesn’t display at all.

  18. My widget also stopped working. It could be that it was due to the upgrade to 2.8.3, but I wasn’t really paying close attention.

  19. I upgraded to 2.8.4 the plug in is no longer working. This is a nice plug in but some how very sensitive to upgrades. I will more careful next time when I upgrade. Never the less I want to thank you the author for such a great plugin. Please fix the issue with 2.8.4 or give us hints hot to make it working again

  20. Hi there,

    I see some of you still have problems after the WP update but I see no answers from someone (the author?). I also use my-links-order (in my opinion this plugin should be included/embedded in the wp core!) but suffered from the same problem that the links disappeared after updating WP.

    The problem is that the taxonomy.php file needs a little change but after updating WP apache (running as ‘nobody’) usually doesn’t have write permissions on the taxonomy.php file anymore. The module tries to fix the updated taxonomy.php file but lacks permissions. You can see this if you click on the ‘Links’ menu in the WP Dashboard and click on My Link Order. You see a warning on top of the screen.

    So use a FTP program to set the permissions on ./wp-includes/taxonomy.php to 777 (rwxrwxrwx) (or change the group-id if you don’t want rwx permissions for ‘others’).

    I use a little bash script (called: fix.sh) to fix stuff after updating. So right after updating WP just run fix.sh with something like below.

    Hope this helps.



    # Fix permissions for my-link-order plugin:
    chmod 777 /YOUR-PATH-TO/public_html/wp-includes/taxonomy.php

    # etc…

  21. I followed your instruction, Peter (thanx btw) and just clicking on the ‘My Link Order’ menu item in the Links menu was enough.

    The link order page had across the top a message telling me the taxonomy.php file had been patched.

  22. Hi! How can I display the name of the link (not the description) and the image at the same time? Like WP does normally.

  23. I installed and I re-ordered the links and the links stay in the same old order, alpha. Does this plug-in not work with newer WP?

  24. Hi there! Wonderful plugin..just a small query on how to hide the category name? i.e. hide blogroll..

    Please help.

  25. So, I’m just finding this plug in from you. I can’t believe that WP doesn’t allow you to do these simple tasks to begin with. I really appreciate you creating these! So essential!

  26. Hi,

    I’m liking your plugin for my site sunhammerpounding.com
    However, it double-spaces my links. Is there some way of changing this to single spacing?


  27. If I could put something onto the wishlist: allow the use of multiple Widgets, as per WP’s Links. This allows you to have various lists of links on the one page, based on Link Category.

  28. I have updated wordpress to 2.8.6 and now “My link order” doesn’t work…can anyone help me?
    Thank you..

  29. After you define your link order, go to widget & replace “My Link Order” instead of your default Links widget. It will work.
    I found it after so many efforts.

Comments are closed.