I recently upgraded to WordPress 2.7 and trying to use the wp_list_categories function to hide categories. In fact it was working fine before 2.7 and now they are showing up – no code changes were made by me.
Below is the code
<ul id="nav" class="grid_13"> <?php include(TEMPLATEPATH . '/includes/version.php'); ?> <?php wp_list_categories('title_li=&exclude=3,4,5,8,9,10,11,12,15,17,18,20,21,24,25,26,27,28,29,30,31,32,33,34,35,37,38,39,40,43,44,45,47,48,49,50,52,53,55,57,58,1,61,62,64,65,66,67,68' . $ex_aside) ?> <li> </li> </ul>
Anyone know how to exclude these categories from showing up in WP 2.7? You can see them all displayed here; http://www.marketing.fm
- The topic ‘hiding categories using wp_list_categoires’ is closed to new replies.