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 spent hours trying to work out how to do this myself, as my php knowledge is slim. And I find your plugin and get it done in a matter of minutes. THNK YOU!

  2. Andrew,
    This is a great little utility. I’m somewhat shocked its not a native WordPress function, but so be it.
    It works just like it should.
    You’ve made my day.

    Thank you for all your work.

  3. Great plugin, and so easy to use ! I don’t know why it’s not possible to do it in WordPress directly but your plugin will now be added to all of my blogs.

  4. Hi I try to use your plugin with this one, because it is *a must have* for widget user ;)

    sharebrain.info/journal/sbwordpressplugins/sidebar-modules-reloaded/1666/

    but your plugin and this *modul* are not friends ;)

    my database on my testblog say so ;);) and my error logs too,
    and if it is possible – so many user fear to override core files,

    there are too many updates to think of all the changes in core files,

    is there another solution? –

    thanks a lot
    Monika

  5. No problem! But a question or request.. after solving the issue which allowed me to order my Blogroll the way I wanted, I wanted to add Geeky Weekly to it, that’s no problem but you either do not have, or I cannot locate a suitable graphic for your site. I may have to resort to using some standard “badge” for it.
    Is there one somewhere, or you just don’t care about it, or ??
    Kaz
    http://www.kasdorf.name/wordpress/blogroll-aka-places-to-visit-on-the-web/
    (Yeah, I gotta cut down on those slugs!)

  6. I’m already using the My-Category-Order widget. can i use this widget as well without cause the taxonomy.php file to conflict with other widget?

  7. Looks like this plugin doesn’t seem to work with the lastest update. I cant arrange link categories with it no more ….

  8. doesn’t work for me- reordered links, saved, checked site- now the order is different than before but wrong. Arrggl.

  9. Thanks to Adrew, fixed for me. Needed to include wp_list_bookmarks in the sidebar which the tempalte I’ve used didn’t contain at all.

    Thanks!

  10. hi, thanks for the great plugin, one error though I have found – if I have more categories of links, all of them have the same ID=mylinkorder. To quote my TidyHTML: Warning: anchor “mylinkorder” already defined. I have checked the code, and it seems, that it shold add a unique ID number at the end of mylinkorder. Any way to fix it? (using the latest WP and the latest Madingo theme), all up to date.
    bye

  11. Looks like there is a bug in the built in “Links” widget that I inherited since I pretty much copied that widget and modified it. It included the following two parameters to help out with what html gets outputted around widgets:

    ‘category_before’ => $before_widget, ‘category_after’ => $after_widget,

    On about line 186 inside the wp_list_bookmarks call, delete those two parameters and that will get the “linkcat-##” back. If it messes up your theme because it needs those parameters while using widgets then I’m not sure of a way around it.

  12. I am really new to wordpress and I am not using widgets, and it says in the intructions that there is a way to alter the order of the links without using widgets, could you please make it more clear cause I dont get it. I’ve down loaded the software but it doesent show the changes when I view the site in the browser.

    Please help

  13. I am using mylinkorder 2.3.2 with wordpress 2.3.3 and i cannot change the order of the base-level categories. Re-ordering within the categories themselves works great, but I cannot swap the order of my two blogroll categories.

    anyone?

  14. Great plugin. However, I don’t seem to be able to re-order links that are in multiple categories.

    For example, if I have two blogroll categories, and they each have 4-5 links. And 2-3 of these are the same… It re-orders them across ALL categories, not just the category I re-ordered.

  15. I’m using 2.3.3 and when I replace the tax…php and add the other file to plugins- after i try to activate it, I get this

    Fatal error: Call to undefined function: wp_register_sidebar_widget() in /homepages/23/d236268553/htdocs/wp-content/plugins/mylinkorder.php on line 234

    I have to manually delete the two files via FTP to get my system back.

  16. I’m using 2.3.3. From “Blogroll” | “My Link Order”, there are no categories to select in the “Order Links” drop down. Any ideas ?

  17. Great Widget!

    How do you change the appearance of this widget….Color, boarder etc.

    I saw some CSS code in the widget but when I try to change it WordPress gives me the following message: unable to edit this file…..or something like that.

    Thanks

  18. Do you mean how it shows up in the sidebar? The widget doesn’t actually include any CSS and it outputs the same code as the built in widget, example of one link category from my site:

    <li id="mylinkorder" class="widget widget_links">

    <h2 class="widgettitle">My Links<h2>
    <ul>
    <li><a href="http://geekyweekly.com/gallery&quot; rel="nofollow">Image Gallery<a></li>
    <li><a href="http://www.google.com/reader/shared/01812695720167686674&quot; rel="nofollow">Shared Google Reader Items</a></li>
    <li><a href="http://www.last.fm/user/froman118/&quot; rel="nofollow">Last.fm</a></li>
    </ul>
    </li>

    The id is different but I haven’t seen this cause a problem on any theme so far. The CSS in your theme determines how the sidebar links look. Like in mine, http://geekyweekly.com/wp-content/themes/geeky/style.css:

    #subcontent ul { padding:0px; margin:0px; }
    #subcontent ul li { list-style:none; }
    #subcontent ul li ul li { border-bottom:#FFFFFF 1px solid; list-style: none; padding:0px; margin:0px; background-color:#D67227; }
    #subcontent ul li ul li a { padding-left:5px; background-color:#D67227; color:#FFFFFF; display:block; font-weight: normal; }
    #subcontent ul li ul li a:hover { background-color:#B35C00; color:#FFFFFF; font-weight: normal; }

    The links get displayed as nested lists so the “ul li ui li” styles define how the links will look. This will vary from theme to theme. I’m a big CSS fan so if you have any questions let me know.

  19. Note that the file name above for the version for WP 2.2 is correct, but the link is broken. It should be

    <a href=”http://geekyweekly.com/wp-content/uploads/mylinkorder-2-2.zip”
    mylinkorder-2-2.zip.

    Thanks for the plugin! And thanks very much for keeping it updated — though I’m slow to update my blogs, it’s often because I can’t get updates for the required plugins.

  20. I just upgraded to WP vers. 2.5 and Blogroll is not an option any longer. I cannot find My Link Order tab anywhere.

  21. My Link Order does not seem to work in WordPress 2.5, claims to the contrary at the WordPress Plug Directory notwithstanding. The problem is apparently an incompatibility between ‘My Link Order’s’ taxonomy.php (44KB) and the final, finished WordPress 2.5 taxonomy file (65KB).

  22. Try downloading it again, seems like you might have gotten the old 2.3.2 version. And I just updated the included taxonomy.php to include the official 2.5 version instead of the out of date RC1 version. Let me know if you run into any other problems.

  23. That fixed it, Andrew. You’re correct–I did have the 2.3.2 version… because that’s what the WordPress Plugin Directory was loaded with. But I re-downloaded and re-uploaded, and everything works perfectly now. Thanks for the quick attention.

  24. Hi,
    Thanks for programming this plugin. I used version 2.2 for a long time and loved it. Recently my ISP upgraded WordPress to 2.3.3. Now the Order Links plugin doesn’t work. I installed version 2.3 but continue to get the same error message when I click on My Link Order:
    Table ‘fitatfiv_wrdp2.wp_categories’ doesn’t exist.

    I’ve read through the postings but could find anything that helps. Thank you in advance for any suggestions.

    Laura

  25. i loved your plugin but your code messed up my layout. my footer turned to be below the links instead of the below the page. any help?

    yangsquare.com

  26. Thanks for the plugin – exactly what I was looking for. However, for some reason there is a bullet point in front of the “Links” heading on the sidebar with your widget. I have no idea how it got there… or how to remove it. Can you help?

  27. I can’t seem to make this work. When I try to modify sidebar it just blows up the whole site. I don;t know Jack about php, my template looks like this currently

    If i insert the line shown in step 7 the whole site fails. I’m sure it is quite simple but I don’t know where to start

  28. hi,
    i tried to sort the links but it doesn’t appear as it should be. I want to put Intl above Girls Wanna Have Fun but it keeps staying at the bottom.

    I’m not sure what is wrong.

  29. This plugin is a “must-have” as far as I’m concerned. But I just tried updating from version 2.3.2 to 2.5.1, and my site wouldn’t fully load afterward. It stopped loading at “Categories”, where a taxonomy error message appeared. I’m still using WP 2.3.3 — haven’t upgraded yet, if that makes any difference. Any idea what the culprit is? I’ve had to revert back to the previous version in meantime.

  30. Using 2.3, I get the same problems that 2 others reported after moving the taxonomy.php file AND even after uploading that file. I get this error message after doing what I described and enabled the plugin:

    WordPress database error: [Column ‘term_order’ in order clause is ambiguous]
    SELECT DISTINCT t.term_id, name FROM wp_term_taxonomy tt inner join wp_term_relationships tr on tt.term_taxonomy_id = tr.term_taxonomy_id inner join wp_terms t on t.term_id = tt.term_id where taxonomy = ‘link_category’ ORDER BY term_order ASC

    Any suggestions on this? I REALLY would rather use this than use the hand-coded text widget for my links like I’m having to now. I REALLY miss this as it worked just fine in 2.0 for me!

    Thanks a bunch!

  31. It just doesn’t work. My url’s are clean.
    In the menu one link appears two times and there is no ordering happening whatsoever.
    Can it be that the french charcters are bothering the php?
    thanks for looking into it.

  32. I just installed the plug-in, ordered my link categories then added “My Link Order” widget to the sidebar. The categories don’t appear in the same order as I specified via the admin page.

    Great plug-in, BTW!

  33. hi,
    since i have up dated to 2.5.1
    my link order doesn’t work any more, i can’t change the order of the categoris :/

    have you an idea ?

    thank’s

Comments are closed.