Is it possible to have pagination within a category on single posts?
-
Hi there, I wonder if anybody could help me with this.
My main navigation menu contains links to the three categories I have on my site (ex. Photos, Diary, News). So when you click on that link it displays all the posts within that category.
However, the pagination links at the bottom of each single-post page link to the next/previous post on the site regardless of what it’s category is. So, for example, any given single-post in the “Photos” category may have a “Previous Post” pagination link at the bottom, which does indeed link to the previous post, but which may be a post in an entirely different category, for example “News”.
Is there someway I can get it so a single-post in a given category will only link to the previous/next post within that category? So readers can scroll through all the posts in that category one-by-one?
If anyone has a solution I would greatly appreciate it, thanks!
- The topic ‘Is it possible to have pagination within a category on single posts?’ is closed to new replies.