Originally I had decided NOT to include my WordPress snippets here as I have accumulated quite a collection over the past few years on www.marlyse.com, but in the end it just makes more sense to keep ALL my coding related info here and allow my personal blog to indulge fully in non-techie stuff. What made me finally change my mind was the following snippet which I think too useful to stash away on my personal blog:
If you’re modifying your own WP templates, chances are that you are creating custom pages and it might also happen to you that the next_page link does not result in what you THINK should be there but instead only displays the query_post result from the first page.
If so, try the following:
<?php $paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
This assumes you are using query_posts or similar to set up your page template. You have to change cat=1 to whatever category(s) you are including on your page.
You can read the full post on the WordPress Forum at: Next Page does not display existing items using Page Template