You might be in a situation to exclude some categories which you might have created for some tracking purpose and you do not want to display to the visitors. You can do this by simply modifying the category function
Usually the categories on the menu can be found at the header.php file in your assigned template folder.
<?php wp_list_categories('title_li=') ?> //change this to where 6 and 43 is the category id <?php wp_list_categories('exclude=6,43&title_li=') ?>


{ 4 comments… read them below or add one }
Much needed for a recent theme hack.
Thanks for sharing.
Thanks. Solved my problem!
Thanks man. This was perfect…
thanx for share, but can you share how to make script for menu in admin area to setting exclude category menu?