views:

3141

answers:

5

I use wp_list_categories() to get the list of all the categories and generate the navigation bar. Is there a way to order this categories in a particular order other than alphabetical ordering.

eg: Connect, News & Views, Q&A, Hello Startup, Startup 101...

A: 

With the wordpress plugin "My Category order" ( http://wordpress.org/extend/plugins/my-category-order/ ) we can order categories in any order.

Saneef
You asked this question then answered it yourself 25 seconds later?
Mike B
Parallely I was searching for any plugins, luckily i got so fast :)
Saneef
A: 

Hi @Saneef

I think following plugin is much simpler and easy to use:

http://wordpress.org/extend/plugins/order-categories/

Prashant
A: 

Hi, FYI - neither work in WP 2.8.3!!!

if you get a fix pls let me know at www.thatsabadhatharry.com as I have several sites that require it!!

Thanks!

A: 

You can use a really simple custom function. Like this:

http://www.invisibleinkwebdesigns.com/weblog/php/customising-your-category-link-order-in-wordpress/

Luke Sheppard
A: 

I get the impression that in my category order plugin you use the admin panel to re-order the categories. That is not the way I would want it. I prefer a random listing of categories. I prfesently have it coming up alphabetically (always the same) I also have a drop down categories menu in the sidebar that contains all categories. The category bar is strictly cosmetic. If there are any specific answers send to [email protected]. Thanks Alfie

Alfie
Try getting the category list array using wp_list_categories() and then write a little php code randomise the array.
Saneef