WordPress Plugin – My Link Order

My Link Order allows you to set the order in which links and link categories 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.

7/2/11: WP 3.1.4 broke the plugin. The newest version of the plugin (3.1.4) fixes this, but might require changes on your end. If you use widgets then you are good to go. If you use wp_list_bookmarks in your template, then just change that to mylinkorder_list_bookmarks(). It does the exact same thing, but allows the custom ordering.

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

Want to make a donation?

Installation Help (thanks to Ken down in the comments)

Step One: Go to “Widgets” under the “Appearance” tab. Drag the “Links” widget off the sidebar in order to deactivate it. Then, drag the “My Link Order” widget where you want your links to appear.

Step Two: Click on “My Link Order” to get to the settings. Be sure to set “Category Order By:” and “Link Order By:” to “My Order.” This is what allows you to set your links in whatever order you want the widget to display them in.

Step Three: Click on “My Link Order” under the “Links” tab. In the lower section are your link categories, in boxes. Drag and drop these to order your categories, and then click on the button “Click to Order Categories.” Now your categories will be in the order you want them.

Step Four: in the upper section, under “Order Link” click on the drop-down menu in order to select which category you want to order first. Then click on “Order Links in this Category.” Your links will then appear in little boxes and the widget will say “Order the links by dragging and dropping them into the desired order.” Do so. Then click the button below that says “Click to Order Links.” The links in that category will now be in the order you select. Click on the “Go Back” link to order the links in your other categories the same way.  (You need to do this for each category, unless you have a category you don’t care about the order of.)

Plugin Info

My Link 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 with 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_bookmarks template function. If you were being held back by the lack of options on the built in Links 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.

All of the old comments were moved to this page: My Link Order – Archived

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

Read my StableHost review with the latest coupons

158 Replies to “WordPress Plugin – My Link Order”

  1. Am I right in assuming that, while this plugin is great at ordering the links in a sidebar widget, it won’t order links that are in the main nav menu at the top of the page??

  2. Sounds like a great plugin. When I try activating I get the following,

    Fatal error: Class mylinkorder_widget: Cannot inherit from undefined class wp_widget in ../wordpress/wp-content/plugins/my-link-order/mylinkorder.php on line 252

    Am I supposed to add something in a css file? What is the solution for this?


  3. Hey!

    First of all, thank you for this plugin.

    I’m translating My Link Order to brazilian portuguese. If you could email me (or tell me your address) I’ll happily send you the files. :)

    Thanks again,

  4. Hi, I really like the plugin and the flexibility it gives me for displaying my blogroll.

    I’ve run into one small issue. Web site optimization speed testers are saying that the sidebar links images are missing height and width attributes.

    Is there an obvious solution for this I’m just not seeing? I couldn’t figure out a way to put the attributes in using the new WP 2.9 media interface. I don’t know if it’s the plugin/widget causing the image height & width attributes to not appear, or if it’s the 2.9 media UI, or something else.

    Any help/advice will be greatly appreciated. Thanks again for the plugin.


  5. Thank you for your service!
    Is My Link Order set up to run on WP 2.9.1? I’ve installed it, and think I have it set up coreectly, but it does not show up on my site.

  6. Hi

    Like the idea of the plug in to change the order of my links in my side widget. I have wordpress 2.9.1. and can’t get it to work so have had to revert back to the default Link widget.

    Any news on any updates to get it working would be appreciated.


  7. Any progress on the Widget Checkboxes now holding their checks? Is there somewhere in the code that I can “force” show link images on?

  8. Well – I found one piece of user error I can see the images now that I have the paths set correctly. But I show the images and the names and I would prefer to see just the images – no names.

  9. Wow, I feel so stupid. I was seeing the image in the standard “Link Widget” but in the My Link Order Widget I cannot see images and everytime I try and check show images it breaks. I was able to force the images to show by changing line 273 to read

    $show_images = empty( $instance[‘show_images’] ) ? ‘1’ : $instance[‘show_images’];

    (Changed the 0 to 1)

  10. Hi,
    Just installed My Link Order on Wp 2.9.1 and it shows up fine but doesn’t seem to work on site. You can move the links order within the admin area but it does not action on the site…

    I see others are having this issue. Is there a solution for this on the horizon…as it would be a pretty nifty app if I could get it working!


  11. I’ll donate $20 is this problem can be solved. In the admin area the plugin works fine, but the changes are not showing up on the website. Right now my most unwanted category is stuck at the top.

  12. I received a fast reply to my querry. The problem can be solved by removing the WordPress Default “My Links” on the widgets page, and replacing it with the “My Link Order” widget in its place, on the side bar options page. Thats it, and it works fine. All link categories can now be moved with ease.This is one Kooooooooooooool widget.

  13. Having a problem with the “exclude” category feature. When the field says “category ID”, what does that mean? Is that the “name”? Or is there some hidden ID I don’t know about? Thanks much!

  14. Is there a feature by where I can list my “LINKS” list by Category. Displaying LINKS grouped by category?

    I am new to WordPress and am in the process of building my site.


  15. Thanks, works well. Just one ? – despite having the category The lemon House above blogroll when I am Managing Link Order, on the site they are the other way around, how do I fix?

    thanks Peter

  16. I believe your plugin is great & would like to make a donation soon as I am able to get it to work on my website. Want to use mylinkorder plugin as multiple, & not replace the default. Have activated the plugin but widget does not show on website sidebar. Do I have to edit mylinkorder.php to use as multiple widgets. Using wp 2.8.3 & atahualpa 3.4.1 Thanks.


  17. I am unable to get the links ordered correctly and it keeps reverting back to alphabetically sorting them. I removed the defauly “My Links:” category and created a new one “My Link Order:” as stated in above comment#16. Still not sorting them for me :/ any ideas on how to solve this?

  18. Thanks for the quick email back, turns out i was using widgets and i removed the old “Links:” widget and replaced it with the “My Link Order:” widget and it all works now. FYI if you go to plugins and click edit on My Link Order you can see a README instructions on it also.

  19. I’ve been trying to get this work for hours now. Is there an instruction manual anywhere? The widget is not displaying. Yes, I removed the old links widget.

  20. Love the Widget, works great ot out test site.

    Had a question though, is there a way we can remove the title for the link category from showing on the page?



  21. Hi,

    Thank you for your wonderful plugin. I was wondering if you could help me with a problem I have.

    The theme I use (Suffusion) has an option for activating an additional navigation bar on top of the header. When this is activated, I get the following error message:
    “WordPress database error: [Unknown column ‘link_order’ in ‘order clause’]
    SELECT * FROM wp_links WHERE 1=1 AND link_visible = ‘Y’ ORDER BY link_order ASC”

    This message disappears when I deactivate the My Link Order plugin. Any thoughts on how to fix this?


Comments are closed.