I've modified my loop to eliminate a category from my blog posts view, but now my prev_post_link and next_post_link tags no longer work. The url changes to read the proper "blog/page/2/" but it always displays the first 10 results no matter what page # I'm on.
And here is my current loop code.
<ul id="posts">
<?php
$temp_query = $wp_query;
query_posts('cat=-17');
?>
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<li id="post-<?php the_ID(); ?>" class="clear">
<div class="author">
<img src="<?php bloginfo('template_directory') ?>/images/authors/<?php the_author_ID()?>.jpg" alt="<?php the_author(); ?>" width="86" height="94" />
<?php the_author_posts_link( null,'mar_10_b'); ?>
</div>
<div class="preview">
<p class="date orange_14px"><?php the_time('F j, Y'); ?></p>
<h2 class="red_18px"><a href="<?php the_permalink() ?>" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
<p><?php the_excerpt(); ?></p>
<div class="clear">
<a href="<?php the_permalink() ?>" title="Read More">Read More »</a>
<a href="#" title="Share This Post" class="share">Share</a>
<a href="<?php the_permalink() ?>#view_comments" title="View Comments" class="comments"><?php comments_number('No Comments', '1 Comment', '% Comments' );?></a>
</div>
</div>
</li>
<li class="rule"></li>
<?php endwhile; ?>
<li class="pagination clear">
<?php next_posts_link('Previous Entries »', 0, 'prev') ?>
<?php previous_posts_link('« Newer Entries', 0, 'next') ?>
</li>
</ul>
<?php endif; ?>