Viewing 8 replies - 1 through 8 (of 8 total)
  • That whole interface has changed significantly since WP 2.0. The ordering of links and link categories is handled at the template level now using the ‘category_orderby’ and ‘orderby’ arguments from the wp_list_bookmarks function.

    I also publish a plugin, My Link Order, that lets you specify your own order.

    Thread Starter tonyvernetti

    (@tonyvernetti-1)

    Thanks for your awesome plugin. It seems strange that they would remove these controls from the link category settings. Many thanks again!

    jaanap

    (@jaanap)

    I have it like this: wp_list_bookmarks(‘orderby=rand&title_before=<h1>&title_after=</h1>&between=
    &show_description=1&limit=20′);

    So where I should put orderby=order etc ??

    jaanap

    (@jaanap)

    It just show this: Updating Link Order… and then nothing happen.

    I just installed the plugin and for me also it updates the order, but when I reload my blog the order is the same as it was before. Do I need to add some code somewhere?

    never mind. I didn’t realize that I had to change widget from the regular Links to My Links Order.
    Thanks
    Awesome plugin

    The My Link Order Widget does not show up in my sidebar. Is there something additional I need to do? I’ve set everything up in settings.

    How do I change the sort order of the links in a link category? I do not see this as an option when I edit the link category

    No need for an additional plugin, tony/guys. Use the widget_links_args filter. It’s very easy.

    function widget_links_args_filter($args) {
    	$args['orderby'] = 'rating';  // Sort links by rating
    	$args['order'] = 'DESC';      // descending
    	return $args;
    }
    add_filter('widget_links_args','widget_links_args_filter');

    You can paste this code anywhere, such as your theme’s function.php.

    I hope this helps.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Sort order of links in a link category- Interface change?’ is closed to new replies.