I want to create another category but don't want its posts to be displayed on the index page. Visitor has to click on the category name in order to see that category's post. I don't want to install another wordpress and host that category so hope someone can help
You can easily control what to show in the page using the 'query_posts' template tag.
In your template, before the loop begins, place
<?php if(is_home()) {query_posts('cat=-5');} ?>
where the '-5' is the ID of the category you don't want to include in the listing.
See
http://codex.wordpress.org/Template_Tags/query_posts
for more details on query_posts.
KatGirl
Member
Posted 3 years ago #
You can also control what appears on the front page by using ShowOnFrontPage plugin. Its pretty simple to use.
THanks yoshi and katgirl
That plugin works like a charm ;-)