Thanks ^_^
I wasn't sure where I was supposed to put the code, so I replaced this: <?php while (have_posts()) : the_post(); ?>
with this:
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<!-- The following tests if the current post is in category 3. -->
<!-- If it is not, the code within The Loop is executed as normal. -->
<!-- If it is, nothing is done until the next post is processed. -->
<?php if ( !(in_category('26') && is_home()) ) { ?>
<div class="post">
<h2>"><?php the_title(); ?></h2>
<small><?php the_time('F jS, Y'); ?></small>
<div class="entry">
<?php the_content(); ?>
</div>
<p class="postmetadata">Posted in <?php the_category(', '); ?>
</div> <!-- closes the first div box -->
<?php } ?> <!-- Close the if statement. -->
<?php endwhile; else: ?>
Sorry, no posts matched your criteria.
<?php endif; ?>
But got this error:
Parse error: parse error, unexpected T_ENDWHILE in /home/.hauser/wellofdreams/blog.canny-cat.com/wp-content/themes/cannycat/index.php on line 56