[wp-trac] [WordPress Trac] #9999: Beta 2.8.2 - wp_list_categories
buggy hierarchy
WordPress Trac
wp-trac at lists.automattic.com
Mon Jun 1 17:13:43 GMT 2009
#9999: Beta 2.8.2 - wp_list_categories buggy hierarchy
--------------------------+-------------------------------------------------
Reporter: eliZZZa | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.8
Component: General | Version:
Severity: normal | Keywords:
--------------------------+-------------------------------------------------
I try to exclude some categories and show the rest hierarchical.
Following problems occur:
With child_of it does show the desired cats but without hierarchy, even if
I add hierarchical=1
With include it does not show children, even if I add depth=0
With exclude it behaves mainly like the former exclude_tree but leaves a
few subcats for no obvious reason (with their parents excluded).
Any idea, how I could force a tree view?
I am testing on http://team.eliZZZa.net/
In the right sidebar you see two occurences of wp_list_categories, coded
like this:
<?php
wp_list_categories("exclude=1,2,3,5,6,7,10,11,13,14,15,16,17,19,20,26,27,30,31,32,33,84,85,87,88,103,104,105,111,112,113,114,115,116,117,118,119&title_li=&hierarchical=1&hide_empty=0&show_count=1&feed=rss&feed_image=http://team.elizzza.net
/wp-content/themes/teameli/images/rss.gif¤t_category=1"); ?>
and
<?php
wp_list_categories("exclude=1,2,3,5,6,7,10,11,13,14,15,16,17,19,20,26,27,30,31,32,33,84,85,87,88,103,104,105,107,109,110&title_li=&hierarchical=1&hide_empty=0&show_count=1&feed=rss&feed_image=http://team.elizzza.net
/wp-content/themes/teameli/images/rss.gif¤t_category=1"); ?>
respectively...
Kind regards from Austria
--
Ticket URL: <http://core.trac.wordpress.org/ticket/9999>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list