Support » Plugins » previous_posts_link nor working with query_posts or custom loop

  • Hi all

    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!

    Thanks in advance!

    / Carl-Johan

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘previous_posts_link nor working with query_posts or custom loop’ is closed to new replies.