You can exclude category with query_post(), as shown below:
<?php query_posts('cat=-3'); ?>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<h3></h3> <p>
<?php the_time('F jS, Y') ?></p>
<?php the_content(); ?>
<?php endwhile; ?>
You may use comma separated values to remove more than one category (e.g. cat=-1,-2).




{ 0 comments... read them below or add one }
Post a Comment