Jump to content
Sign in to follow this  
szool

re-order category nav?

Recommended Posts

szool

The category nav orders alphabetically. How can I change that to order by ID in the order that I choose? I have a plug-in called "My Category Order" which lets you change the order on the sidebar widget but how do I change it likewise on the category nav bar?

Share this post


Link to post
Share on other sites
cmunns

Are you looking for a custom order? There are ways to re-order it using the function already provided in sub_head.php ` <?php wp_list_categories('include='.pagelines('subnav_categories').'&title_li='&'); ?> ` Can become: ` <?php wp_list_categories('include='.pagelines('subnav_categories').'&title_li= &orderby=id'); ?> ` But this will just put them in order of lowest to highest id number. Basically you change the function to get close but the plug-in won't work in the subnav area

Share this post


Link to post
Share on other sites
cmunns

Are you looking for a custom order? There are ways to re-order it using the function already provided in sub_head.php ` <?php wp_list_categories('include='.pagelines('subnav_categories').'&title_li='&'); ?> ` Can become: ` <?php wp_list_categories('include='.pagelines('subnav_categories').'&title_li= &orderby=id'); ?> ` But this will just put them in order of lowest to highest id number. Basically you change the function to get close but the plug-in won't work in the subnav area

Share this post


Link to post
Share on other sites
szool

I would not want it in order by ID #, but in the order I place the ID's top to bottom....

Share this post


Link to post
Share on other sites
szool

or left to right.... so I can put them in the exact order I want them... not sorting in any way... but manually positioning them.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×