Posts Tagged my link order

WordPress Blogroll Ordering – My Link Order Patch for 2.8

icon_wordpress1In my post about the plugin “My Link Order” for ordering your blogroll links, I talked about what a great plugin it is. Then WordPress 2.8 came out and it caused My Link Order not to work. The patch/fix for this is not very intuitive, so I’m laying it out below:

  • Log in to your WordPress as admin;
  • Click on the “Links” link in the left navigation;
  • Click on “My Link Order” in the list that is displayed;
  • On the “My Link Order” page are the instructions for patching /wp-includes/taxonomy.php so that My Link Order works in WordPress 2.8.
  • At line 683, after this code:

    elseif ( empty($_orderby) || ‘id’ == $_orderby )
    $orderby = ‘t.term_id’;

    you paste the following code:

    else if ( ‘order’ == $_orderby )
    $orderby = ‘t.term_order’;

and then your blogroll shows up again!

, ,

7 Comments