rendered paste body<?php
include_once('gravatar.php');
get_header();
?>
<?php query_posts('cat=-2'); // exclude the first category ?>
<?php while (have_posts()) : the_post(); // start your Loop ?>
<?php if ( in_category(3) ) {
// ignore category 3 and do nothing and move on
} else { ?>
<a href="<?php the_permalink(); ?>"><?php the_title(); ?></a> <br />
<?php endif; endwhile; ?>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="post">
<h3 class="storytitle" id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h3>
<div class="meta"><?php _e("Filed under:"); ?> <?php the_category(',') ?> — <?php the_author() ?> at <?php the_time('g:i a') ?> on <?php the_time('l, F j, Y') ?> <?php edit_post_link(__('Edit This')); ?></div>
<div class="storycontent">
<?php the_content(__('(Read on ...)')); ?>
</div>
<!--
<div class="feedback">
<?php wp_link_pages(); ?>
<?php comments_popup_link(__('Comments (0)'), __('Comments (1)'), __('Comments (%)')); ?>
</div>
-->
<!--
<?php trackback_rdf(); ?>
-->
</div>
<?php comments_template(); ?>
<?php endwhile; else: ?>
<p><?php _e('Sorry, nothing matched your criteria.'); ?></p>
<?php endif; ?>
<?php posts_nav_link(' — ', __('« Previous Page'), __('Next Page »')); ?>
<?php get_footer(); ?>