uh k....I KNOW i've seen this somewhere before, but I cant find it now...and clicking whatever links i find sends me back to the category tag...but not what i'm looking for...so here goes nothing...
I have two categories...2 main categories..
i want ONLY ONE category to post to the main page....the other category should just act as an archive....how can i go about doing this?
If you don't want a particular category to show on the main page, what you can do is open up the index.php file in your blog root (not the theme's index.php) and add the $cat=-2 before require('./wp-blog-header.php');
2 is the category id of the category that you don't want to show up (i.e. your 'archive' category).
@ ifelse,
thank you for your help, but whenever someone wants to click on the Poetry category from the main page, it wont show the posts now. :(
maybe i explained it wrong....i still want peopel to be able to click on the "poetry" category to get to the posts in that category. I just dont want them to be included on the main page.
Can you try the following:
copy (not rename) the theme's index.php into home.php i.e. copy
/wp-content/themes/chewinggum/index.php to /wp-content/themes/chewinggum/home.php
Now at the top of home.php, there should be a line called get_header();
after it add the following line:
query_posts('cat=1');
okay, PROMISE...i dont have get_header() in my current index.php renamed to home.php in the theme folder