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. Hi Andrew,

    Thanks for this great plugin.
    Shame the new version of WP has stopepd it from working. Why do they do this?

    Please let us know when you’ve updated it so we can download the new version and contune supporting you.

    Many thanks,

    Nic

  2. Thank you for the quick fix. Much appreciated! (I suggest you put the donate button at the top of this page somewhere. I had to hunt for it.)

  3. Hi Andrew,

    Its not working for me, I installed 3.1.4 and the links went out of order. They showed as if they are in good order in the “My Link Order” widget but on the actual blog it does not appear to be so. I tried saving in the “My Link Order” but the errors are still there.

    Appreciate any help. Thanx.

  4. It doesn’t work with WP 3.1.4 with themes that don’t use widgets. The forum comment to replace the WP link reference is too vague to be of any assistance.

  5. For one of my blogrolls, I create a custom loop using $myLinks = get_bookmarks($argsfix);

    For some reason this doesn’t obey My Link Order. Is there something to replace get_bookmarks()? Here is my full code:


    'order',
    'order' => 'DESC',
    'limit' => 9,
    'category' => 2263,
    'categorize' => 0,
    'hide_invisible' => 1,
    'echo' => 1,
    'title_li' => 0,
    'show_name' => 1,
    'category_orderby' => 'name',
    'category_order' => 'DESC',
    );
    $myLinks = get_bookmarks($argsfix);
    foreach($myLinks as $myLink) {
    ?>

    <a class="galleryimg" href="link_url); ?>"><img src="link_image); ?>">link_name); ?>

    <?php if ($count == 3 || $count == 6 ) {
    echo '';}

    $count++;
    } ?>

  6. Robert,

    The breaking change in 3.1.4 was made in get_bookmarks(). The plugin now has it’s own version of the function, mylinkorder_get_bookmarks(), which you can use to get the correct ordering.

  7. Thanks for the quick response! It worked.

    One more question. Each category of blogroll used to have it’s own permalink in the backend, which was very useful, since I have many categories that I am constantly ordering.

    Now, whenever I click on those permalinks, it brings me to the category landing page, asking me to pick a category to sort (or to sort the categories). Is there any way to get a direct link to the administration of sorting a category’s links

    Thanks!
    robert

  8. This is an awesome plugin which I have been using for a while now. One feature I would love to see, and I can’t seem to find it anywhere else, is the ability to show these links in my sidebar as a dropdown rather than the complete list which is growing all the time!

  9. Hi, Tried updating the wp_list_bookmarks() to mylinkorder_list_bookmarks() and it still is displaying alphabetically. I am using the ProPhoto3 theme. Any ideas?

  10. ????????, ????????? ? ????????? ???????????? ???????? ???????????? ? ?????????? — ??????????? ???????? Barrens. ????????? ???????? ???????? ?? ???????? ?????.

  11. ? ????? ???????? ?????? ???????? ????? ?????? ? ????? ??????? ?? ???????? ?????. ??? ??????????? ??????????? ?? ?????? ???????? ?????????.

  12. Yes write to the person that sold you prophoto3 and ask them about it.
    They have excellent costumer service.
    Any way share if you we a solution thank you.

  13. Dose any one know were do i find this wp_list_bookmarks() to change for this mylinkorder_list_bookmarks() ?

    Is there a page name i download all my wordpress folder but do not know what file to look for.

    Thank you

  14. «???????? ??» ??????? ??????? ???????? ?????. ??????? ????? ??????? ?? ??????? ?????? ? ?? ??????????????? ?????????? ?????? ???? ??????????? ?????.

  15. Hi Andrew
    The pluging works very neatly on my site http://www.fengshuibc.com
    Now what I’d like to do is to put a disclaimer before the links: something like “These links are here for you info but I do not endorse them blah blah” is there a way I could put this in the Widget and if so how?
    I am also thinking that I’ll soon have way too much link so maybe it would be better to include the Widget inside a dedicated page rather than having it on the sidebar. Is that possible?

    Many thanks

    Laurent

  16. I have mylinkorder installed on WP 3.2.1 on Thesis theme; while the link category order shows changing on the plugin dashboard, the changes do not show up in the widget. Any known conflicts?

  17. Love this plug in! I’ve tried searching for my answer but am having trouble finding good directions as I’m not very good at code. I’m trying to remover the title “Blogroll” from my sidebar.

    I had removed it in the code prior to installing this plug in, but once i installed My Link Order it showed back up. Any help would be greatly appreciated.

  18. Hi,
    The plugin does nearly exactly what I was looking for … except for the category exclusion !
    I want to exclude two, out of my three categories (keep METEO and get rid of RESERVATION and LIENS).
    I typed the IDs in the EXCLUDE CAT box, but they are still there (I tried with only one cat ID, but still the same ; tried with the cat name instead of ID, but still the same).

    Is it a known bug, or am I wrong somewhere N

  19. I’m also having problems with the category exclusion, there is no way to make it work properly, it keeps showing all categories I have.

  20. Does anyone know any way to display ‘my link order’ in a vertical drop menu on the sidebar? Drop menu plugins all seem to only deal with menus (post categories, pages, etc) and not links or link categories. If there is no plugin for dropdown links, is there a way to import ‘my link order’ or even simply my link categories into the menus?

  21. Does anyone know any way to display ‘my link order’ in a vertical drop menu on the sidebar? Drop menu plugins all seem to only deal with menus (post categories, pages, etc) and not links or link categories. If there is no plugin for dropdown links, is there a way to import ‘my link order’ or even simply my link categories into the menus?

  22. try this orderby=order

    <?php mylinkorder_list_bookmarks('category=7&show_images=1&show_description=1&orderby=order&before=&after=’); ?>

  23. I’m sorry, my CSS skills are minimal. Which file should I enter that into? (mylinkorder.php?) And where in the file should I add that?
    Thank you.

  24. I tried adding this link order plugin, but it doesn’t show up in the widget. I added 3 links (with photo links as well as website links) in a new category, ordered them and checked off all the appropriate options…but no widget appears at all. I tried putting the code provided by Paul (above) into my sidebar-footer.php file via the editor, but that messed up my footer. The theme I’m using is Graphene. Please help. Thanks.

  25. Hi,
    Using latest WP and just found your excellent plugin …but it doesn’t work (and I am using widgets) posting again

  26. I really like my link order. But I can’t seem to get the nofollow feature to work. (I’m using Headway if that helps). Thanks.

  27. When WordPress 3.5 comes out, the admin panel’s Link Manager will NOT be included.

    For a user to maintain his/her current usage of Links, he/she will have to install a new Link Manager Plugin. Probably, quite a few other plugins will have to be updated to work with the new core structure. Here’s a link to the new plugin:

    http://wordpress.org/extend/plugins/link-manager/

    And here’s a link to the current development track:

    http://core.trac.wordpress.org/ticket/21307

    I hope these two links will help you in the near future.

  28. With 3.4.1. I am finding that when the entry-title is clicked on the post-excerpt displays the ‘loading’ message and un displays but the post-content-*-target receives no content. The problem seems to be related to class post-*. I’m not clear if this is related to the My Link Order plugin or 3.4.1 or another plugin. I am also using the eCommerce plugin. There is no error on the JS consule. JQuery version is 1.7.2. The link in the innerHTML is the correct URL of the post.

  29. Tested on the latest 3.5 build and it seems like Link related plugins should be fine for the time being. They are making an effort to keep things backwards compatible and keeping the wp_link table.

    And to clarify, the Link Manager will still be there after an upgrade if you had links to begin with. A new wp_option was added that pretty much just hides the menu entry. The plugin you linked simply sets that flag to one. This will likely change as they port code out of the core into the plugin, but no action will be needed by users since the plugin will be included with WP.

  30. Hi Andrew:

    I like the ease of the plugin, but I can’t get the ordering to work. I added the code I saw suggested earlier

    (mylinkorder_list_bookmarks(array(‘orderby’ => ‘order’, ‘category_orderby’ => ‘order’));

    but I’m still not able to order the links. I added the above to the All Bookmarks Page Template (bookmarks.php), but that was just a guess. Any suggestions?

    Thanks

    Steve

  31. Hey Andrew:

    Literally seconds after posting above, I looked at the helpful installation tips, moved by Links in the Appearances>Widgets in my theme (Suffusion) and voila! All is in order. Thanks. Nice plug-in.

    Steve Davies

    Hi Andrew:

    I like the ease of the plugin, but I can’t get the ordering to work. I added the code I saw suggested earlier

    (mylinkorder_list_bookmarks(array(‘orderby’ => ‘order’, ‘category_orderby’ => ‘order’));

    but I’m still not able to order the links. I added the above to the All Bookmarks Page Template (bookmarks.php), but that was just a guess. Any suggestions?

    Thanks

    Steve

Comments are closed.