• I have WordPress 3.0.4 and installed this plugin. It’s not made anything go wrong, it just has no effect on my link category order whatsoever. They are still in alphabetical order.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author froman118

    (@froman118)

    IndigoJo,

    You do have to take the final step of modifying your theme or widgets. It won’t automatically take effect.

    Andrew

    I find it odd that you have to use a custom widget. Why not utilize the links widget’s arguement filter as such:

    add_filter(‘widget_links_args’, ‘enable_link_ordering’);
    function enable_link_ordering($args)
    {
    $args[‘orderby’] = ‘order’;
    $args[‘category_orderby’] = ‘order’;

    return $args;
    }

    Plugin Author froman118

    (@froman118)

    ItsDan,

    That’s certainly possible, but it overrides all widgets someone might be using. It might be rare that someone will want to display links in different ways on their site, but I have to err towards flexibility or else the plugin becomes useless for some. Maybe someone wants their links to be in a random order, but they want Link Categories in a specific order.

    I hope the need to use a separate widget is offset by the fact that the My Link Order widget exposes all of the parameters unavailable on the built in Links widget. If someone needed to access those parameters they would have to muck around in their theme and figure out how to replicate their sidebar without widgets. A few years ago widgets weren’t nearly as ubiquitous as they are now, but it should be expected that a user can do everything with widgets that they can do with code in a template.

    Fair enough. It may be worth adding that to the notes as a possible way to ‘enable’ My Link Order for widgets. In my case I had the widgets in place when the site owner told me they wanted to order the blogroll, so in my specific case it’s much easier to filter the arguments.

    It could also be a plugin setting, left off by default for legacy purposes.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: My Link Order] No effect in WP 3.0.4’ is closed to new replies.