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 thoughts on “WordPress Plugin – My Link Order”

  1. The plugin worked great until I updated to WordPress 3.5, now I receive the following error message:

    Missing argument 2 for wpdb::prepare(), called in /home/cnewshub/public_html/wp-content/plugins/my-link-order/mylinkorder.php on line 666

  2. Plugin works and thanks for your work on this. I’m using it in conjunction with Link Library to display a large number of links.
    I did make one change to your code in function mylinkorder. I wanted the drop-down list of link categories to be alphabetical, so I changed line 126 (in version 3.5) to say ORDER BY name ASC rather than ORDER BY t.term_order ASC

Comments are closed.