Next & Previous Posts Pagination using loop on page.php
-
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_PAGEI 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: https://mawdizzle.com/series/persian-letters-series/
Thank you thank you thank you!
Matt
- The topic ‘Next & Previous Posts Pagination using loop on page.php’ is closed to new replies.