Title: Next &amp; Previous Posts Pagination using loop on page.php
Last modified: August 20, 2016

---

# Next & Previous Posts Pagination using loop on page.php

 *  [mawdizzle](https://wordpress.org/support/users/mawdizzle/)
 * (@mawdizzle)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/next-previous-posts-pagination-using-loop-on-pagephp/)
 * I am using panaorama theme by themocracy.
 * I have created a post “series” because I needed multiple posts to cover the topic
   I wanted to write about.
 * I put the series on its own page and modified the page.php code with this code:
 * …
    } elseif (is_page(‘persian-letters-series’)) { query_posts(‘tag=persian-letters&
   order=ASC’); }; // END IF IS_PAGE
 * I liked the idea of putting my categories in my menu bar and the code above is
   what I used for all the different categories. But, for my series, as you can 
   see, I am focusing on one tag and ordering chronologically.
 * This works (or I should say worked) fine until I exceeded 10 posts which is my
   post limit. Now my series ‘page’ is only showing 10 posts but I have more than
   10 posts in that series.
 * I’d like to have pagination for just this post series. I want WordPress to show
   10 posts but provide a link to the next 10 posts in the query_posts(‘tag=persian-
   letters&order=ASC’); series.
 * Does anyone know how to do this?
 * URL: [http://mawdizzle.com/series/persian-letters-series/](http://mawdizzle.com/series/persian-letters-series/)
 * Thank you thank you thank you!
    Matt

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Edward Caissie](https://wordpress.org/support/users/cais/)
 * (@cais)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/next-previous-posts-pagination-using-loop-on-pagephp/#post-2246348)
 * Although it may be a great deal of work to revert your current method, you may
   want to have a look at this plugin: [http://wordpress.org/extend/plugins/series/](http://wordpress.org/extend/plugins/series/)
 * It seems you are trying to accomplish what it is designed to do.
 *  Thread Starter [mawdizzle](https://wordpress.org/support/users/mawdizzle/)
 * (@mawdizzle)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/next-previous-posts-pagination-using-loop-on-pagephp/#post-2246390)
 * Ed,
 * Thanks for the response.
 * I’m hesistant to install too many plugins because I’m paranoid about them 🙂
 * I ended up adding the arg ‘showposts=100’ to my queryposts function and that ‘
   kinda’ solved my issue. If I had too many posts, the pages could take longer 
   to load, but that’s ok. Not too many people are using my website other than me
   🙁
 * I think I can find a better solution, but my band-aid solution will work for 
   now.
 * I guess I’d really like to be able to figure out how to show 10 posts and then
   have pagination for the remaining ones. I know it’s possible, I just have to 
   figure it out.
 * Thanks again!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Next & Previous Posts Pagination using loop on page.php’ is closed to
new replies.

## Tags

 * [next_posts_link](https://wordpress.org/support/topic-tag/next_posts_link/)
 * [posts_nav_link](https://wordpress.org/support/topic-tag/posts_nav_link/)
 * [previous_posts_link](https://wordpress.org/support/topic-tag/previous_posts_link/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [mawdizzle](https://wordpress.org/support/users/mawdizzle/)
 * Last activity: [14 years, 10 months ago](https://wordpress.org/support/topic/next-previous-posts-pagination-using-loop-on-pagephp/#post-2246390)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
