Beta 2.8.2 - wp_list_categories buggy hierarchy
|Reported by:||eliZZZa||Owned by:|
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"); ?>
<?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"); ?>
Kind regards from Austria
Change History (3)
- Component changed from General to Template
- Keywords needs-patch added
- Milestone changed from 2.8 to Future Release