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:

Updates:

  • 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):
    wp_list_bookmarks(‘orderby=order&category_orderby=order’);

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. I’m using WP 2.5.1 with the Futurosity Aperio theme, and this plugin doesn’t seem to re-order the link categories, unfortunately. I saw in some other comments that the theme could be the culprit. It calls the wp_list_bookmarks function in links.php here:

    <?php wp_list_bookmarks(‘title_before=&title_after=’) ?>

    so I’m assuming the function exists as it should. I added wp_list_bookmarks(’orderby=order&category_orderby=order’);?> to sidebar.php manually. Hopefully I can use this plugin somehow. It’s silly that this capability isn’t built into WP already.

  2. Hello

    I’ve tried using your theme and it works a treat if I add links to my sidebar but I have my links as a seperate page on my site and is seems ot have no affect on this, is there any way to get the plugin to work for a seperate links page as well as the sidebar?

    Many Thanks

  3. Great plugin, thanks.
    A question, is it possible to make the plugin ready for translations with poedit (also for my category order, and my page order?) For each in its own plugin?
    I ask you this because I have a site for Dutch WordPress starters to help them how to use WordPress and the plugins. I also translate the plugins. Naturally with a link to the developers site and sharing the translation with the developer.

  4. HI,

    Just installed my link order on my wp blog but now my pages do not validate. The error report is as follows:

    Line 163, Column 8: ID “mylinkorder” already defined.
    Links</
    ?
    An “id” is a unique identifier. Each time this attribute is used in a document it must have a different value. If you are using this attribute as a hook for style sheets it may be more appropriate to use classes (which group elements) than id (which are used to identify exactly one element).

    Is there any way I can cange the plugin to get it to not name id “mylinkorder” so it validates?

    Thanks

    Steve

  5. HI,

    Just installed my link order on my wp blog but now my pages do not validate. The error report is as follows:

    Line 163, Column 8: ID “mylinkorder” already defined.

    An “id” is a unique identifier. Each time this attribute is used in a document it must have a different value. If you are using this attribute as a hook for style sheets it may be more appropriate to use classes (which group elements) than id (which are used to identify exactly one element).

    Is there any way I can cange the plugin to get it to not name id “mylinkorder” so it validates?

    Thanks

    Steve

  6. Please make MyLinkOrder role aware. Specifically, I would like to restrict the ability to access MyLinkOrder to site administrators. Although I have not tested every role, I know that at least authors can access and use MyLinkOrder.

  7. Hi,

    I have installed the plug-ins ( MyPage-Order / MyLink-Oder / MyCategory-Order ) and all works great.

    BUT only one thing is annoying me…

    is it possibile that only the administrators have the ability to change the Order of Pages/Links/Categories??

    I think a “normal” author shouldn’t have this capability.

    Can somebody help me?

    Thanks,
    Steffen

  8. I recently downloaded this program (it’s exactly what I’ve been looking for), but I can’t get it to work properly. I’m trying to organize my blogroll in the order of Sports, Politics, Life. No matter how I order the categories, though, it simply orders them as Politics, Sports, Life. What do I need to do to fix this? I am using wp 2.5.1, and I downloaded the link above for wp 2.5. Help!

  9. The only thing preventing me from using this great plugin is the lack of unique IDs on the list elements. This was mentioned above by Steve (#319).

    My problem is not validation (though that would be nice), but the inability to reliably select these elements using CSS. Maybe an ID could be generated from a sanitized version of the link category name, or failing that, the category ID from the database.

  10. This is great! I would like to use this plug-in. It is the perfect solution for an annoying shortcoming from WordPress. However, like Abra and Steffen posted above I need to restrict access to administration roles only. Is there a way?

    I would love to use this plug-in, and contribute, provided you use it on beer!

    Frank

  11. Andrew,

    I’m trying the widgets workaround to make this plugin work. I’ve had no success editing the sidebar.php. A few readers have had success editing their widgets.php, but I’m not sure which one to edit. In my hosting account, I have the widgets.php in two locations: in the “wp-admin” folder, and also in the “wp-includes” folder. Should I modify both?

    This is what I plan to do:

    In the widgets.php I will need to replace the old code with the new code.

    Old code:
    wp_list_bookmarks(array(‘title_before’=>$before_title, ‘title_after’=>$after_title));
    New code:
    wp_list_bookmarks(array(‘orderby’ => ‘order’, ‘category_orderby’ => ‘order’, ‘title_before’=>$before_title, ‘title_after’=>$after_title));

    Please help.

    Thanks.

  12. Great plugin! I just wish it would do the same thing with the post categories! Any plans of making that happen?

  13. My links won’t reorder. I can’t find the wp_list_bookmarks code either, and don’t know where to insert it.

    Help please?

  14. Is this the right place to leave queries?

    I’m using 2.5.1, and I’m having the same problem I had with 2.3.2 (the only previous version I’ve used).

    Some of my link categories reorder fine, but when I go into one of them to reorder newly added links, it includes links from 2 other categories in there too, all mixed up out of order. I have to make any changes to that category, then go back and re-order the links in the other 2 categories again. I have to do this every time I add a link, and it’s really time consuming.

    Is this a known bug, or might it be something specific to me?

    Also, is there a way to set the plug-in so that all links order alphabetically within each category? That would take the pressure off having to re-order them all the time.

  15. Hi,

    I’m having the same issue as 323. Aaron:
    “I recently downloaded this program (it’s exactly what I’ve been looking for), but I can’t get it to work properly. I’m trying to organize my blogroll in the order of Sports, Politics, Life. No matter how I order the categories, though, it simply orders them as Politics, Sports, Life. What do I need to do to fix this? I am using wp 2.5.1, and I downloaded the link above for wp 2.5. Help!”

    Also, when I drag Links Order in the Widgets menu, it’s name appears as “Links Order: Projects” – Projects is one of my blogroll categories and also the one that becomes listed first in the sidebar even though I ordered my Blogroll categories differently before dragging into Widgets.

    Thanks for your help and for providing this Plugin!

  16. Oops, I meant it appears as “My Link Order: Projects” rather than “My Link Order”.

  17. The trick with this My Links Order plugin, is that it opens a new Blogroll field as a copy of your usual Blogroll widget. Only this one looks really poor, since you can’t attach an image with your link (for exemple), as you could do with the Blogroll field.

    So, this plugin could be of a good use if only it wasn’t ment to be a copy and rather more some of the Blogroll Widget functions.

    Wait and see…

  18. I waited a minute, had an idea, in gosh, I saw!!! :-D

    This is an advice for everyone : after having successfully activated the My Links Order plugin, you’ll have to Edit it (with the little tab on the right)which allows you to set it the exact way you’d want, including attaching images ans so on…

    Right after that, if you don’t want to have two copies of your Links in your Sidebar, don’t forget to remove the usual Links : Blogroll Widget. This, of course, will only hide it from your Sidebar, so you still can use the preceding good old plugin as it is!

    Enjoy, as much as I do!! :)

  19. To echo other comments, this plugin only seems to work part of the time. I have messed with it for a few hours and cant find a pattern, but some times it will reorder the links in a category, other times not. It is saving it correctly, since when i go back to the admin screen it looks right, but on the front end it is not. Any thoughts?

  20. I was wondering if you had explore the possibility of making th lists collapseable using javascript. I love being able to re-order my links, but I’d also love to be able to have them expand and contract. The Enhanced Links plugin does that, but won’t allow re-ordering. Is there anyway to integrate the two plugins?

  21. Great plugin. But, it seems to have stopped working for me. At least the ability to organize the link categories. No matter what I do, it will not update them. It says they were reorganized successfully, but when I look at the page, it’s still on the same old setting. Any ideas? It worked great the first time…I’ve tried uninstalling/reinstalling but still doesn’t work.

  22. I’ve long loved you My Links Order. It seems to have stopped working with WP 2.6. Are you planning on keeping it current? Thanks.

  23. Scratch that previous comment. Dumb installation error on my part. It works fine in 2.6. Going to make donation now.

  24. Hi,

    This plugin is very nice, I use it for a while now, but I can’t make it run with WP 2.6..

    Same issu as 331: in the admin panel some entries are duplicated into 2 categories and some other (sometimes the same!) are duplicated iside the same cat! But when I check the link panel, there are no duplicated entries (all links are new)…

    So, where is the problem? How can it be fixed?

    After a small investigation, it seems that when a link category has the same name and the same slug-id as a post category, the bug is in action! To fix my issue, I had to create link categories with other slug-ids though the names could stay the same… I’m affraid that there could be something to fix in the MyLinkOrder Ajax queries because WP doesn’t seem to care about cat names and slug-ids between posts and blogroll, but I cannot say more, I don’t even know if it could be the right way to investigate ;) ..

    Btw, I don’t want to blog without this very nice plugin and thanx for developping it!

    Regards, (and sorry for my bad english..)

    Johan

  25. Hi, is there any way this plugin can be altered so that it calls up a random selection of links for each category? I want to be able to limit the number of displayed links per category to something like 25 or 30 links, and have the plugin randomly select which links to include. How can this be done? Is it possible for you to add this option on a future release? Please let me know.

    Thanks,
    kopper

  26. Hi,

    Good idea — installed the plugin, however it doesn’t seem to work under WordPress 2.6. (If you re-order the categorises and click on them, nothing happens :P)

    Is it possible have a fix? :)

    Thanks!

  27. Hi Geeky Weekly, thanks very much for your plugin, very useful for me! i have a question for you, if you can help me… With the plugin named “categorical links page”: http://www.alucinari.net/wordpress ” how can i use the order selected with my link order? Can you help me? Thanks

  28. I upgraded to 2.6.1a this morning and now the my link order no longer has a container on the sidebar. How do I fix this?

  29. Love the plugin. One question, though – since I installed the latest version, bullets appear in front of my link category names. Disable MyLinkOrder and they go away. This has happened before and I fixed it but can’t remember how. Help?

  30. Problem with bullets appearing at link cat names – seems to be a conflict between the Tarski theme and MLO 2.6.1a. Switched back to the earlier version and OK.

  31. Hi–upgraded to 2.6.1 and now getting this error:
    Can’t create/write to file ‘/tmp/mysqltmp/#sql_1f76_0.MYI’ (Errcode: 2)
    Any clue why?? Thanks!

  32. This plug-in is GREAT! It is the answer to what I have spent hours trying to figure out on my own! So simple– thanks!!!

    One problem is that for some reason the entire list of links is displayed twice (but the first time it is finally in the right order! The second time, the categories are in the wrong order, but the links are in the right order). I’m not sure if my problem is related to the plug-in, my theme (Paalam, which seems not to have compatibility issues), or me :)

    You can check the URL that i included. Any suggestions are greatly appreciated!!!

  33. Nevermind, I solved the problem by undoing some edits that I had done in sidebar.php.

    So my comment is just to say that this is a GREAT plugin!!

  34. When I am running this plugin, it screws up my “Manage” tab in the admin. Whenever the plugin is running, I can go to manage my pages or posts. I click manage and all I see is the name of my site at the top of the page with “Visit Site”. I am running WP 2.6. I can’t even get to the manage page by clicking on the “29 pages” seen in the Dashboard. Do you know why it would be doing this? Everything is fine when I disable your plugin.

  35. step 5 in your installation instructions is not working on the wordpress themes directory. should it not read wp_list_bookmarks(…).

  36. Yeah it should, but the site stripped out the underscore from the readme.txt file for some reason. It is on my list of things to fix for the next release.

  37. Hello, I tried to install your plug-in under WP v.2.6.2, but it doesn’t work! I had to rename the categories link to get my order 01), 02), can you help me?

  38. Hello,

    I’m not having any problems but I have a question:

    After installing your plugin, my links reverted back to plain text instead of pictures (I had pictures put using the “Advanced – Image Address” option).

    Any ideas on what to do to get them to show again? I use WordPress 2.6.1 if this helps you. The site (if you want to see what I mean) is at my name.

    I really hope that you will answer this one.

Comments are closed.