perfectlover
Member
Posted 6 years ago #
Hello ALL,
I have 14 categories and all posts from these categories are on main page. But I don't want to display posts from one particular category. How should I do it? . I have searching this forum but could not get any solution. Any help would be appreciated.
Thank you
perfectlover
Member
Posted 6 years ago #
Hello,
I have been using this line of code to exclude one category
<?php
if (is_home()) {
query_posts("cat=-3");
}
?>
It's been working fine in 1.5 when I upgraded to 2.0 this code is working but pagination function ( next , previous) is not working.
Any suggestion(s)?
Thanks
I'm trying to do the same, but withf multiple categories, actually I want just one category in my home page... any idea? using wordpress 2.1 thanks
Try a plugin called opt-in front page from Semiologic.com.