This is for a page template. I am using query posts to display all the posts from a certain category. I have around 70 items in this category, so I want to utilize previous and next to make the page more manageable. The previous and next are working (proceeding to page 2 and beyond), but the page content is not changing. It is still only showing the 6 posts from the first page. Any idea what I am doing wrong? Here is a snippet of my code:
<?php query_posts('cat=17&posts_per_page=6'); ?>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<?php the_content('<p class="serif">Read the rest of this page »</p>'); ?>
<?php endwhile; endif; ?>
</div>
<!-- END PORTFOLIO CONTAINER -->
<div class="previous-and-next"><span class="previous">
<?php next_posts_link('Next') ?>
</span><span class="next">
<?php previous_posts_link('Previous') ?>
</span></div>
<?php edit_post_link('Edit this entry.', '<p>', '</p>'); ?>