[wp-trac] Re: [WordPress Trac] #2741: categories and subcategories

WordPress Trac wp-trac at lists.automattic.com
Sat Mar 10 18:33:07 GMT 2007


#2741: categories and subcategories
-------------------------------+--------------------------------------------
 Reporter:  Denis-de-Bernardy  |        Owner:  anonymous 
     Type:  defect             |       Status:  closed    
 Priority:  normal             |    Milestone:            
Component:  Template           |      Version:  2.0.2     
 Severity:  normal             |   Resolution:  worksforme
 Keywords:  category           |  
-------------------------------+--------------------------------------------
Changes (by jhodgdon):

  * keywords:  => category
  * status:  new => closed
  * resolution:  => worksforme

Comment:

 This behavior seems to have been fixed. As of [5012], if you create a
 category hierarchy as shown, and put posts only in cat2 and cat11, and use
 the function call

 wp_list_categories('hierarchical=true&show_count=true')

 in your sidebar, you will get exactly what is shown as the "expected"
 behavior above.

 Since the deprecated functions list_cats and wp_list_cats both now call
 wp_list_categories, I think they should work too (though I didn't
 specifically test them). If there is another function for listing
 categories that needs to be fixed, perhaps this ticket can be re-opened.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/2741#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list