wp_list_categories shows children of children
I’ve just upgraded a site i’m working on from 2.0 to 2.1. I use a number of categories and sub categories and sub sub categories, and have noticed that 2.1 behaves differently from 2.0 in relation to these.
I was using the list_cats function in 2.0 like this
<?php list_cats(TRUE, '', 'name', '', '', TRUE, FALSE, FALSE, FALSE, FALSE, FALSE, 82, '0', FALSE, '', '', '', TRUE); ?>
Which showed only children of category 82, and not any children of the child categories. Since upgrading however all child – child categories are also showing.
Anyone know a way to get around this?? I’ve tried the wp_list_categories function for 2.1 but it doesn’t look like it will help.
- The topic ‘wp_list_categories shows children of children’ is closed to new replies.