I know this has been answered here but everytime I search nothing comes up so I need to ask. I want to hide one category from the list on my home page. I read someone's tutorial and they had a little snippet of code for the myhack.php file BUT it does not work for the current version just released. Wordpress itself, says you can hide a category and when I went to the section where the check box is supposed to be, it didn;t exist so I think the option must be been on an older version. Anyway, either with code or a plugin, how do I hide one of the categories so people cannot see it on the homepage. thx so much for the help.
Do you just want to hide the sidebar link to the category? Or the actual posts from that category appearing on the home page? The first option would require you to replace the wp_list_cats() function in the sidebar (X = category ID to hide): wp_list_cats("exclude=X"); Code (markup): And the 2nd would require adding the following code just before "the loop" in your index.php template file (X = category ID to hide): if(is_home()) query_posts("cat=-X"); Code (markup):