WordPress.org

Support

Support » How-To and Troubleshooting » Category pagination within a post… is this possible?

Category pagination within a post… is this possible?

  • My aim is to create a ‘Next’ pagination link within a single post that when clicked will show the next 5 posts in the same category as that post. So the next page url would look like ‘post-slug/page/2’ and display the next lot of posts. Can this even be done??

    I am fully aware of post pagination where you can split the posts content into sections to create a multiple page effect, but this is a different matter altogether and despite my relentless searching I have not managed to uncover anything. The reason I am doing this is to utilise the Infinite Scrolling plugin on posts as well as pages.

    I hope this makes sense. Any help much appreciated, this is the last thing I need to implement before I can sign off on this site!! Many thanks in advance.

Viewing 1 replies (of 1 total)
  • Maybe you can query the posts in the single template and then hide it, and make it appear via Javascript?

    I don’t think WordPress will be able to do this natively.

Viewing 1 replies (of 1 total)
  • The topic ‘Category pagination within a post… is this possible?’ is closed to new replies.
Skip to toolbar