Trying to exclude category from sidebar…
-
on sidebar.php I have changed
<?php wp_list_categories('show_count=1&title_li=<h2>Categories</h2>'); ?>
to<?php wp_list_categories('show_count=1&exclude=11&title_li=<h2>Categories</h2>'); ?>
Is this the right way to go about omitting category 11 from the list? Or am I misunderstanding something?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Trying to exclude category from sidebar…’ is closed to new replies.