http://wordpress.org/support/topic/87020?replies=4#post-444035
http://wordpress.org/support/topic/38210
<?php
if (is_home()){
$page = (get_query_var(‘paged’)) ? get_query_var(‘paged’) : 1;
query_posts(“cat=12&paged=$page”);
}
?>
This will only display posts from category 12. Change the number in query posts to your category. And put this code in your index.php or whatever file.
Soo many people are going through the same issues I had a week ago.. :\
As he said, you’d put it in your theme’s index.php. Might be worth reading up on The_Loop.
Or, you could look into one of these two plugins:
Category Visibility plugin.
Ultimate Category Excluder plugin.
I added the code, but the post apears twice, instead of once.
Nevermind I got it working.
Is there a way to put more than one category in that code? Sorry for the dumb question. The plugins mentioned don’t work with 2.3.x.
[Update: I found my answer in the comments on this page.]