[wp-testers] Excluding subcategories
Dino Termini
dino at duechiacchiere.it
Tue Jan 23 22:58:22 GMT 2007
Hi all, I cannot find a reply for this question: is there a way to show
ONLY "first level" categories, without subcategories? At the moment the
solution I found is
wp_list_categories('hierarchical=0&exclude=14,15,16,17,18,19,20,21,22,23,25,24,26&show_count=0&title_li=');
but maybe there is a better (and more clean) solution...
Thanks.
--
due chiacchiere <http://feeds.feedburner.com/duechiacchiere>
More information about the wp-testers
mailing list