Support » Fixing WordPress » Custom Loop Pagination Issues

  • Resolved Thomas Sturm


    Hi all,

    I have a custom page template with a custom loop (fetching all posts of all blogs on multisite from a global wp_globalposts table) and I used this howto which is working fine:

    However, I have a problem with pagination. previous_posts_link() works as expected, but not next_posts_link(), this just returns nothing, on any page. When I manually add /page/2/ to the URL, it works as expected (and shows link back to newer posts), but there’s no link to older posts either. If I echo $paged, this shows me the correct page number. What’s wrong here?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Custom Loop Pagination Issues’ is closed to new replies.