Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

On wordpress.barrycarter.info, the links sidebar is in alphabetical order by category ("My ... Stuff"), which looks weird for "My other stuff". How can I order the link categories myself?

share|improve this question
add comment

2 Answers

This is in a widget? Or coded into the sidebar? http://codex.wordpress.org/Function_Reference/wp_list_bookmarks

is the code for showing your blogroll links, with orderby parameters.

If you are particular about the order of categories, and category_orderby isn't cutting it, you can use wp_list_bookmarks numerous times, each time showing only one category

If you are using the widget,maybe look for a different plugin with widget, or consider hardcoding this?

share|improve this answer
    
The filter 'widget_categories_args' lets you modify the arguments for wp_list_categories() when it's used in the default widget. –  John P Bloch Apr 27 '11 at 17:56
    
@Voodoo Yes, this is the standard "blogroll" widget. Is there a cleaner way of doing this w/o editing the code? Like a wp_list_bookmarks widget or something? Or can I add an extra field to links called 'order'? –  barrycarter Apr 27 '11 at 18:00
    
Sorry, I had the wrong widget. The filter for bookmarks is 'widget_links_args'. –  John P Bloch Apr 27 '11 at 18:01
add comment

Well, the plugin My Link Order does exactly that.

My Link Order allows you to set the order in which links and link categories will appear in the sidebar. Uses a drag and drop interface for ordering. Adds a widget with additional options for easy installation on widgetized themes.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.