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. Hello,

    My Link Order is not working on my site. The my link order widget is in the sidebar. When I reordered links with my link order in the admin panel I got a message saying that it took, but when I go to my page, the order always reverts to what I wanted to change. What is the likely solution to this problem? Thanks.

  2. I’m not sure why, but the My Link Order I’ve installed and activated on my site will not order my links.
    I have tried both the headers and the links themselves and when I click to order, it shows it in the correct order, but on the frontend… no luck.
    I know that there is something I’ve missed, I’m not sure what you mean by:
    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.
    I don’t know where to look to see if this is a problem.. I went in through my backend and clicked edit in my link order, but I’m not seeing any of this as a problem in there.
    Any help is much appreciated… I’m excited about using this extension.

  3. hi,

    i am so frustrated and tired of my inability to do the simplest things with wordpress.

    i just activated your plugin, it was exactly what i was looking for. but i have no idea how to:

    1) make it appear INSTEAD OF my linkroll

    2) delete the linkroll so i can put your ordered links on the right hand side middle instead. when i activate your plugin, it overwrites my page links and puts itself on the left hand upper corner no matter what i do.

    can you help? i am tired of tearing tufts of hair out of my head. i know it should be simple, but i have been working on this for two hours and i have had it. what i want isn’t that complicated, is it?

  4. I’m trying to make subcategories of blogroll, so I can order subcategories. I’ve created the categories as children of blogroll in the cat. widget, and clicked on “show hierarchy”, but they’re still displaying as separate categories. Can you tell me how to do this? I’m seeing it in many blogs, but not seeing a clear explanation. Right now with the plugin, I can order the categories as separate categories, but I’m not able to order them as sub cats.
    Thanks so much,

  5. I am having an issue where i can’t reorder the links. Nothing is changable or dragable how can i fix this i have uninstalled and reninstalled the plug in several times.

  6. I love this plugin, however i am trying to use it in wordpress mu, and trying to make it default for all blogs, however i need the internal widget name. this would be awesome if someone could figure it out, i’ve looked through the code and tried to find it but i cant seem to get it right…
    Any help would be AWESOME!
    thanks cameron

  7. Change log is in the readme.txt. Nothing major changed, but the changes were the same for both plugins. In 2.7 the links show up in the new menus since the generic “Write” menu got broken up into “Posts”, “Pages”, “Links” etc… Both plugins have Russian translations now too.


    * Updated for 2.7, now under the the new Links menu
    * Moved to jQuery for drag and drop
    * Removed finicky AJAX submission
    * Translations added and thanks: Russian (Flector), Dutch (Anja)
    * Keep those translations coming

  8. Hello,

    I like this plugin. that’s good work !

    I have just translated it in french, maybe you will be interested in putting the .mo file in the “My Link Order” package.

    Send me an email if you’re interested.

  9. Hi,

    I’ve installed the latest version in my WP 2.6.5 site. It’s not throwing any errors but it’s also not ordering my links. Any advice?


  10. Woops, my mistake on the above. I forgot to put the arguments ‘orderby=order&category_orderby=order’ into php wp_list_bookmarks in the sidebar.

    Great plugin!


  11. I installed the plugin in WordPress 2.7, but no luck in re-ordering my navigation menu. Backend reorders but the actual page doesn’t. What am I doing wrong?

  12. I just installed the plugin on my WordPress 2.7 blog and overall am very happy with the plugin. For the most part, it is working correctly. But, I am having one very odd problem. For some reason, only two of my six links are properly changing color on hover per my stylesheet. The other four remain the original color and do not change on mouse-over. One of the two correctly working links is internal (the blog’s main page) and the others are all external – linking to the other pages of my site. My blog is a subdomain of my main site, so I need to use external links.

    I have deleted and re-added the links, changed their order, etc. I’ve double checked my style sheet and sidebar.php and see nothing out of order. Nothing I do fixes the other four links, which are formatted exactly the same as the one working external link.

    I am completely stumped. Any ideas?

  13. Does not Re-Order Blogroll Categories and Links as specified in the Plugin options. Taxonomy.php was adjusted manually and automatically by plugin in order to attempt to get working but no luck.

    WP: 2.7 (Production Release)
    Theme: http://www.pixkit.de

  14. Re-looked at it and it was my oversite with the Widget, Apologies. Works 100%. I guess I just dont know when to quite at times, late at night…um, I mean in the weee hours of the Morning. Also did not look through all the Comments, just way to much. Kudo’s Andrew, Great Stuff.

  15. First of all my thanks for this sorely needed plugin! I have it working perfectly on one of my blogs but am struggling to get it to work correctly on a blog hosted by yahoo.

    The problem, after following all the instructions in WP 2.7, is that when I click on the My Link Order setting in WP Admin, no link categories are present and no links appear in the drop down box despite me having set a number of link categories and a number of links within each category.

    For some reason the page does not pull in the links at all. The blog is hosted at Yahoo, on a subdomain and other than that it should be working.

    Like i said, I have it working perfectly on a WP 2.7 blog hosted by hostgator…have you experienced this problem before?

    Many Thanks for an awesome plugin, I just wish I could get it to work with this one!

  16. My site is configured a little differently:

    (…….wp_list_cats(‘sort_column=name&optioncount=0&hierarchical=0’); ……..)

    wp_list_cats is my sort command and after that the php script calls the links_list. How would you write the wp_list_cats line to work with your plug in?

    Pay no attention to the extra brackets and periods. I did this so I could show you my code.

  17. I get this error when I try to activate My Link Order on my site: WordPress Database Error:
    [Unknown column ‘link_order’ in ‘order clause’]
    SELECT * , IF (DATE_ADD(link_updated, INTERVAL 120 MINUTE) >= NOW(), 1,0) as recently_updated FROM wp_links INNER JOIN wp_term_relationships AS tr ON (wp_links.link_id = tr.object_id) INNER JOIN wp_term_taxonomy as tt ON tt.term_taxonomy_id = tr.term_taxonomy_id WHERE 1=1 AND link_visible = ‘Y’ AND ( tt.term_id = 5 ) AND taxonomy = ‘link_category’ ORDER BY link_order ASC

    I managed to get it working on another site I administer, but I’m not sure how. I think it had something to do with the order of how I activated the plugins- activating MLO first and then the rest of them, but that didn’t work this time. Any ideas?

  18. Strange problem using WP 2.6.5, MyLinkOrder 2.7a

    While I am trying to manage the link order from the administration page, the tiles listing the different links will not move up and down.

    When I mouseover the link. I get the arrow letting me know I can drag and move the link, however, the link fails to move.

    I tried this with all plugins deactivated except for your MyLinkOrder 2.7a, and I still get the problem

    Any ideas?


  19. Hey Andrew, I just installed your plugin and every time I try and order my categories or links when i click the “click to order links” button it just goes to a page that says “cannot load mylinkorder.”

    Any suggestions?

  20. Hi, I m using wordpress 2.65, i tried to use your link order pluging ver 2.7a. Under the my link order page, my links do not show up for me to click and drag.

    Any idea whats wrong?

  21. Andrew:

    I thank you so much for the kind help.

    I have installed your plugin and it works properly, only now my links show up twice in my side bar. For example, I have a category “Useful Links” and another “Personal. On my blog, it shows up:

    Useful links


    Useful links


    Do you know what my problem could be? It may be somewhere in my code “crystal theme,” but I cannot seem to find it if.



  22. Hi,

    I downloaded the plugin, reordered the links, it all seems to work fine, but the order of the links on the front site aren’t changing. I’m using WP 2.7.

    Any idea what I’m doing wrong?


  23. i recently had to re-install windows and now this plugin is not working on my blog anymore…
    i know it is due to either my firewall settings or not having a specific thing downloaded that would allow the plugin to work.
    the part that doesnt work is when i manually try to drag and drop, my computer is not recognizing that and the links dont actually move.
    can someone please tell me what i need to do to resolve this? i know it is something very simple.
    i do have the latest version of java downloaded, not sure if that matters.

  24. Hi,

    Matt declared January 28th to be ‘Thank a Plugin Developer Day’, so I’m a bit late with this. Nonetheless, thank you for My Link Order and My Page Order, which I use on my blog.


  25. My Link Order is not working. I rearrange the links inside dashboard and it says they are updated successfully, but links are NOT reordered on the site itself. They are always in alpha order and won’t change. Using WordPress 2.7

  26. Thanks for creating this plugin – its just what I needed and I found it really quickly…works great!

    I have noticed that I’ve lost my link hover since I added the plugin…any ideas?

    I’m completely new to all this, so an idiots guide would be perfect if you’ve got time!

    Thank you!

  27. Fantastic plugin, thank you ever so much. You made a major annoyance go away, and with beautiful simplicity.

  28. OMG, this plugin seems to be exactly what I’m looking for… unfortunately it doesn’t work here. :(

    It installs fine, but on the “My Links Order” page the “Order Links” dropdown box is empty. Looks like it’s not able to get any link categories from my blog altough three categories exist.

  29. Addition: same plugin, installed on a mirror of the blog at another server location works flawless.

    What am I doing wrong? Thanks a lot for all suggestions…

  30. Just a note on this, it is good practice (and in my case necessary) that if you are going to bypass using the wpdb mthods to make sql queries like you do in mylinkorder.php that you indicate which DB resource to use. Many of us have WP integrated with other applications. Example of how I did this with your code:


    $query = mysql_query(“SHOW COLUMNS FROM $wpdb->terms LIKE ‘term_order'”) or die(mysql_error());


    $query = mysql_query(“SHOW COLUMNS FROM $wpdb->terms LIKE ‘term_order'”, $wpdb->dbh) or die(mysql_error());

    Great plugin!

  31. Hi,
    I just installed My Link Order, and I think I’ve done everything needed, it’s in the widgets and all, but from the admin menu it isn’t getting my current categories or links, the drop down menu is empty and it’s showing nothing in the website. I’m using WP 2.7.1 and K2.
    Do you have any idea on what is the problem?


  32. i installed and activated the plugin but cant get the categories to organize as i want to…. i am not much of a coder however i can do simple stuff in dreamweaver if given clear instructions

    thank you

  33. Same problem as others are having. Changing link order doesn’t actually change it on the page. I’m using WP 2.71. I’m guessing this plugin just hasn’t been updated for the newest WP.

    Thanks anyway. I’ll be checking back to see if there’s a fix.

  34. i, too, am having a problem with the plugin grabbing the link categories. i’ve installed it on one other blog and got it working without a problem, but after trying to install it on two more, i click on my link order under Links but don’t see anything. why isn’t it grabbing the link categories?

  35. My Link Order is working OK but my blogroll images aren’t displaying. The URLs are correct — I can navigate to them from my browser. I don’t see any image code being generated. Is anyone else getting blogroll images to display OK?

  36. Adding:

    `else if ( ‘order’ == $orderby )
    $orderby = ‘t.term_order’;`

    as suggested kills the entire site. Also, changing permissions 664 didn’t help. If you tell us to change permission, can you suggest which permissions?

  37. For steve, Rusting Musclecars, or anyone who is able to order their links but they do not show up in the correct order on the site, try going to widgets and adding the My Link Order widget.

    I turned on the standard Links widget side by side with My Link Order’s widget, Links was NOT ordered correctly (i.e. alphabetical as standard) but the My Link Order widget performed as I ordered it. When I installed the plug-in it did not automatically swap them around and I was pretty confused why it wasn’t reordering. Hope this helps someone having troubles.

    Fantastic plug-in, love it and My Page Order too!

Comments are closed.