Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Sidebars & Widgets »

Category ordering in widget


  #1  
Old Feb 16, 2009, 04:24 PM
pminner
 
1 posts · Feb 2009
Category ordering in widget

Hi Flynn!

I really like what you've done in creating Atahualpa. It produces a very clean, professional site and I've donated to show my support for your efforts.

I've been able to figure out how to do everything I need to so far to get the customization desired with the exception of ordering the titles of the categorys/subcategories in the category widget. The categorys/subcategories are always ordered alphabetically, regardless of the order I create them in. I can rename them with a number first, but this is asthetically unpleasing.

An example for displaying the menu for meeting minutes:

Current
Minutes
--April
--February
--January
--March

Desired
Minutes
--January
--February
--March
--April

Do you have any recommendations for ordering the category(s)/subcategories using the category widget or is there a different approach you could recommend?

Thank you!

Paul
  #2  
Old Feb 16, 2009, 08:44 PM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
You could add this either manually into the top or bottom of a sidebar, but then you'd have to repeat that with each Atahualpa update, so I'd recommend to add the following code by using the http://wordpress.org/extend/plugins/php-code-widget/ PHP widget. Install it and put it into a sidebar and put this into the PHP code widget:
PHP Code:
<?php wp_list_categories('title_li='); ?>
To configure the output see http://codex.wordpress.org/Template_...ist_categories

For instance
PHP Code:
<?php wp_list_categories('title_li=&orderby=name&order=ASC&show_count=1'); ?>
The orderby=name and order=ASC is what you want and it should be the default, so the first example should work for you, but if it doesn't use the second example which explicitly sets those parameters.

Thank you for the donation and let me know if this doesn't work or you wanted something different

  #3  
Old Mar 15, 2009, 07:37 AM
paulae's Avatar
paulae
 
1,333 posts · Feb 2009
Wordpress 3.4.1, Atahualpa 3.7.7
I was having the same problem. I found this nifty plugin which lets you simply drag and drop your categories in any order you like, when in the category mode.

http://wpguy.com/plugins/category-order/

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing category order in category menu bar, not in sidebar cat. list paulae Page & Category Menu Bars 13 Mar 30, 2011 05:36 PM
[SOLVED] category widget can not display inline in v3.4 duping812 New Versions, & Updating 5 Jul 11, 2009 11:10 AM
Category title on category page, not on each post excerpt kicker paulae Excerpts, Read more, Pagination 4 Jun 22, 2009 11:33 AM
category widget reallylost Sidebars & Widgets 1 Jun 22, 2009 08:58 AM
Styling Category Widget BigG Sidebars & Widgets 3 Apr 16, 2009 11:53 AM


All times are GMT -6. The time now is 09:27 PM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.