I’ve been searching high and low for this but haven’t got any wiser. Basically my site has a Static page set as front_page and the page template includes a custom query where I’d like the visitor to be able to browse the blog content.
I’ve had no trouble setting up the query to fetch the posts but the pagination is not working properly. The “next_posts_link” works fine when on the first page but on /page/2/ and on it just links to /page/2/ and not the next page. (As you can see I’ve set a custom permalink structure, but resetting that does nothing for the pagination)
The “previous_posts_link” that should show up on /page/2/ and on does not work anywhere.
I found this blog post on custom loops and pagination, but I’ve tried it and it has the exact same effect as my own code.
I bet this kind of functionality is quite common, so I can’t see how no-one has solved this before. I bet I’m just googling the wrong things, so if anyone can point me in the right direction I’d be ever grateful!