I know this has got to be a fairly common question which I could not find the solution. I have categories called, Home, About, Sponsor, and so on. So, each page of the site, has a category.
I only want posts under Home to be on the home, post with category About, to be under the about page. You get it.
So, on my home page, index.php, how can I say where only posts with a category of 35 to show. Here are the first lines of code where I think if I can add to the conditon if(have_post) I could also add and where category is 35.
How do I add that condition?
<?php get_header(); ?>
<!-- START LOOP -->
<div id="content" class="widecolumn">
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>