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. AWESOME idea, but I’m a relative n00b to just about any of this.

    I have WP 2.1.3, followed your directions, and DOH, now my sidebar is simply a very sad:

    Parse error: parse error, unexpected ‘=’ in

    I’m so sorry to bug you with this, but I don’t have a clue where to go from here.

    Thanks in advance!

  2. Love this plugin!

    Is there any way to allow the widget to show only ONE category? I like the functionality of adding several link widgets (so I can place my link categories in different places on my sidebar – like the Morgan’s Replacemen Link Widget (http://tech.windsofstorm.net/wordpress/drop-links-widget/) does? That would be INCREDIBLE!!

    I need to be able to have multiple widgets with self-ordered link lists. Do you know how to do that? I would be forever in your debt!

    K

  3. hi,
    just what the doctor ordered…but it doesn’t seem to work for me. Orders nicely on the ‘my order link’ page and stays correct there, but this is not reflected on my front page! did all the usual logged out, refreshed, closed browser…

    any thoughts
    regards daniel

  4. Hi, I have tried this plugin on my demo blog. I have tested the non-widgetized sidebar as well, and everything works perferfectly.

    However, after widgetizing the sidebars, I found a little bug in the plugin that somehow causes the widget to not display properly. I haven’t pin-point the ‘little’ bug yet, but I believe it may have to do with styling/CSS or the hierarchical ordering of the links.

    Anyway, if you’d like to see the bug for yourself, please email me.

    Thank you for the hardwork!

    –WPInstallation.com–

  5. I was getting a parse error because when I copied into my sidebar php, i had to replace the apostrophe’s with regular ones. ie: ’ = ‘

  6. Hi!

    Unfortunately this version (v2.2) conflicts with Advanced TinyMCE Editor v.05 Plugin… I have had to deactivate “My Link Order” for the time being!
    I am using WP 2.2.2

  7. This is a very useful plugin.

    Although I think I may have encountered the same display / design problems as others above.

    The plugin seems to generate an extra tag before any heading. I noticed this because my list items have >> in front of them and there was an extra >> (with no other text) in front of the categories heading.
    It travels with the widget. So if I reorder the widgets in my sidebar this little glitch follows it.

    the standard widget is this

    links • リンク

    Vintage
    Japan

    Word Champ

    My Link Order generates this

    links • リンク

    Word Champ
    Vintage
    Japan

    the first tag and it’s closing tag are definitely out of place.

    Any ideas? I’m afraid I don’t understand php code to attempt to hack it myself.

    WP2.2.1 (My Link Order v2.2)

  8. The code tag doesn’t seem to have worked above.

    Have a look at the raw html!
    There is an extra ul tag before the heading and it’s closing tag after it.

  9. #194, Ferdinand, thank you! That totally did the trick for me. To the author, this is a great plug-in, and it would be even a little greater if you would have included the instructions given by Ferdinand since you’ve done at least one “update” since he posted that comment!

  10. Issues with the extra unordered list tags are fixed so if you’ve had problems with your theme try downloading the new version.

  11. Install and activated. Went to “My Link Order” in Admin area. At the top of the page I am getting the following errors.

    WordPress database error: [Access denied for user ‘yscr_bbjkuF’@’localhost’ to database ‘blog’]
    ALTER TABLE wp2_categories ADD `cat_order` INT( 4 ) NULL DEFAULT ‘0’

    WordPress database error: [Access denied for user ‘yscr_bbjkuF’@’localhost’ to database ‘blog’]
    ALTER TABLE wp2_links ADD `link_order` INT( 4 ) NULL DEFAULT ‘0’

    WordPress database error: [Unknown column ‘cat_order’ in ‘order clause’]
    SELECT * FROM wp2_categories where link_count > 0 ORDER BY cat_order ASC

    Any suggestions? Thanks in advance and thanks for all your work on this.

  12. Nope it won’t, that reminds me to put a note up on the page. 2.3 does away with the old category tables so pretty much any plugin that deals with post or link categories is going to break. Not sure when I’ll have a new version ready.

  13. Strange, it’s working for me with my already ordered links (after changing the code again as I wrote in #194), but since the category table doesn’t exist anymore there I receive an error message when I try to open the “My Link Order” menu.

  14. Just realized that I have no “My Link Order” widget. How is this installed? All that was in the installer was the “mylinkorder.php” filew plus a ReadMe. When activated, it appears in my Links/Blogroll menu in the DashBoard, but no widget.

    Am I missing something?

    Peter

  15. Thanks for your tip to upgrade to 2.2 (to align with my WP2.2x)

    The widget appeared as predicted!
    Thanks
    Peter

  16. Just upgraded to the newest version, but i’m just getting “Parse error: syntax error, unexpected ‘=’ in /home/******/public_html/uni/wp-content/themes/default/sidebar.php on line 143”

  17. hello, i installed 2.3 and now i am seeing this-

    Fatal error: Call to undefined function wp_register_sidebar_widget() in /mnt/w0805/d04/s22/b02a4a15/www/howlingearth.com/music-videos/wp-content/plugins/mylinkorder.php on line 234

  18. To update this plug-in for 2.3.1 all you need to do is open taxonomy.php and change “catgories” on line 1360 to “categories.” It’s misspelled.

  19. i’m sorry, but the widgets still display un-ordered categories although the links inside categories itself display ordered.


  20. // Get the object and term ids and stick them in a lookup table
    $results = $wpdb->get_results("SELECT object_id, term_taxonomy_id FROM $wpdb->term_relationships INNER JOIN $wpdb->posts ON object_id = ID WHERE term_taxonomy_id IN (".join(',', array_keys($term_ids)).") AND post_type = 'post' AND post_status = 'publish'");

    this is the aforementioned line on taxonomy.php (wp default install, untouched), which one I should modify so the widget display categories correctly on sidebar?

  21. Hi

    Just installed this on WP 2.3. While I can order the links within a category, I cannot order the categories themselves.

    I would like my links to show above my blogroll and cannot figure out how to do this.

    I see the option, but when I use it, nothing happens to the way link categories are displayed.

    I disabled the plugin for the time being.

  22. I run into the same issue as Mike in comment 231. Activating the mylinkorder (or the mycategoryorder) plugin breaks up WordPress from working.

    WordPress 2.3.1 (downloaded Nov 3rd) Theme K2 revision 582

  23. First you show the steps to follow and a few lines later you cancel them (ie. strike them out with a line).

    Reasonable people expect you to give reasonable directions – not play games and waste your as well as our time. If you want to gain clients you must act reasonably. Am I preaching to the converted ?

  24. Garbis Armen,

    Well if you read the strikeout stuff you would see that it is all instructions for older 2.0 versions, which a few people still use. Managing multiple versions of my plugins for multiple versions of WordPress that each require different installation procedures because of circumstances outside of my control is no easy feat.

    I think a reasonable person would be appreciative of the efforts of another person trying to help people solve a technical problem they aren’t able to solve themselves. I also think a reasonable person would offer suggestions they think would make solving that problem more clear.

    I’ve supported my plugins for almost 2 years now. I have exchanged thousands of emails with people around the world offering help to anyone who asked for it; all in my free time as a service to the global community of WordPress users.

    In the end though, I guess you’re right, I’m just wasting everyone’s time. Through your preaching I have seen the light and I will no longer offer free, unbridled support for anything related to WordPress. I will no longer respond to comments posted on my plugin pages. I will not respond to direct emails asking for help. I need to stop fooling myself and playing games and do some real soul searching to see if I can find the reasonable person inside me. Until I can do that I am of no use to my loved ones and the people who look to me for help.

  25. When I add the widget to my sidebar I get this error:

    WordPress database error: [Unknown column ‘t.term_order’ in ‘order clause’]
    SELECT t.*, tt.* FROM wp_terms AS t INNER JOIN wp_term_taxonomy AS tt ON t.term_id = tt.term_id WHERE tt.taxonomy IN (‘link_category’) AND tt.count > 0 ORDER BY t.term_order ASC

    Anyone know what could be the issue?

  26. Antonio, you do have to actually go to the My Link Order plugin and set the link order, then that ugly message goes away and it’s all nice again. I had the same problem :) .

  27. hi andrew

    thanks so much for the good work. using non-widget template, with two blogroll categories. i haven’t figured out what argument to add so that the blogroll categories will list with format.

    i would be much appreciative of anyone’s help.

    cheers

  28. Nice plugin. Thanks for sharing your work.

    My blogroll is in default alphabetical order and I’m reluctant to reorder it without knowing if there is a ‘reset to default’ if I change my mind.

    Rgards.

  29. Anyone knows if something has changed with the latest wordpress update (2.3.1) and this plugin? because since i installed that update the link order doesn’t update anymore (no errors, just not the order I edit in the admin panel)… any help would be appreciated at simon @ brooke-langton.net thanks!

  30. I upgraded to the latest release of WordPress yesterday, and now when I go to change the link order categories, it does not work.

    I really LOVE this feature, and would like for it to work again. Did the update do anything to mess this wonderful plugin up?

  31. I just wanted to come back and say that there is NOT a problem with the plug-in and the upgrade I did, I just OVERWROTE the Taxonomy file that was in the “Includes” accidentally, and well – ya know that files needs to be in there. LOL!

    So, problem solved, it works – and I am a moron!

    – jake

  32. Simon,

    I am no expert, but I had the same problem and it was because when wordpress gives a warning about upgrading, they talk about being careful not to overwrite “Themes” and “Plugins” – well, when you followed the directions to install this plugin, we were asked to add

    “wp-includes/taxonomy.php” – the taxonomy.php file had to go into the includes folder, per say.

    Well, during the upgrade if you overwrote the wp-includes folder, then the plug-in’s version of the taxonomy.php file was also changed.

    Re-download the plug-in, and then upload the “taxonomy.php” file from the PLUG-IN files to your includes folder, and that should do the trick.

    Why do I know this? Cause I did the same daggone thing, and was heartbroken until my little light bulb went off in my head, and I realized what I had done.

    :)

    – Jake

  33. I upgraded to WP 2.3.2, and now when I try to drag the boxes in MyLink Order, it just highlights the text inside them.

    I upgraded to MyLinkOrder 2.3.2 (replaced mylinkorder.php in plugins, and taxonomy.php in includes), and I still have the same problem.

    Any ideas?

Comments are closed.