I tried reverting back to the older version 3.0.x, but the problem remained the same.
The answer can be found here:
Related Posts:
- Get the number of posts from the current page results
- Custom posts per page does not work with pagination
- Static Front-Page Excerpts
- Custom loops, sticky posts, and pagination nightmare
- Querying posts only if the current page is not paged?
- When to use WordPress loop or Foreach loop?
- How do I query based on the modified date?
- Modify main loop query for paged and meta key
- Limitless amount of posts in custom archive page
- How do I query by post format in WordPress 3.1
- How to return results of a get_posts() in explicitly defined order
- Custom Taxonomy not working with posts_per_page in new WP_query (pagination problem)
- Modify main WordPress loop with a parse_query filter
- Pagination on archive.php page
- How do I prevent one of two multiple loops from repeating on a second page?
- How should I intercept the main query and inject custom join / order by / group by criteria
- Having trouble generating pagination links on custom query
- Broken pagination
- query_posts and pagination, still stuck after much research
- Search results with custom loop don’t update when paged
- how could I get the pagination as I want to when query posts using get_posts function
- Pagination Not working on Home Page with 2 Query
- Custom Loop Pagination on WordPress
- query_posts sort in multiple directions
- pagination in author.php template returns 404 error
- Dynamically excluding current page id
- How do i paginate query_posts with numeric pagination?
- How to order results by date and meta key?
- Pagination on custom query
- Adding Pagination on a Custom Author Page
- Adding Variables to post query
- Is it possible to query_posts using post__in and then Loop through them in the ordered they were queried?
- Setting posts per page in query_posts
- How to insert content from another Custom Post type into Post?
- WordPress pagination showing same posts on each page
- Placing post data (title, date, and excerpt) nested in static content
- query_posts() ALWAYS displays something?
- paged > max_num_pages won’t throw 404
- Five posts from a category in footer
- Using loop pagination on single.php
- WordPress pagination with get_posts?
- Using ajax with paging and a custom sub-query
- Pagination Issues using WP_Paginate Plugin
- Blog post per page setting conflicting with custom WP_Query?
- Make blog page show 10 on first page, 9 on every other page
- How to remove a plugin filter’s priority on specific loops (custom queries)?
- pagination not working for category.php (custom post types in categories)
- Filter Loop by Custom Field Value
- Pagination on category.php and tag.php not working
- query_posts pagination will always show identical content
- Modify loop but keep the original query, what am I doing wrong?
- Post per page not working if no category specified
- Can’t get pagination to work for sticky posts only
- How do I use pagination in WordPress?
- Pagination, query more pages at once
- pagination broken – clicking next displays “page not found”
- Paginate pages with dynamic query
- Pagination linking to first page
- filter posts by meta key with pagination
- Pagination for two loops
- Calling Posts from Specified Cat
- Magazine style frontpage with multiple categories/loops and no duplicate posts
- Most Effective Method? Exclude Category and Number of Posts Per Page
- Script that gets the first tag of post and query all other posts with the same tag
- How to add an “or” instead of and “and” (&) in a WordPress query?
- Query add html after set amount of posts?
- Create a Loop with Posts Ordered by Most Recent Comments
- Why does my WP_Query pagination on a custom page.php only loads the homepage?
- Numbered Pagination Showing The Same Posts After Altering WP_Query
- Custom query pagination with php parameter as arg problem
- Query counting excluded category on paged loop
- Pagination on Custom Loop
- Post Filter clearing on pagination $_post
- get_next_posts_link() stops displaying at page 4
- How to inject a post within a loop
- pagination does not work with query_posts. Help! [duplicate]
- Displaying posts limit: can’t get pagination to display [duplicate]
- send user to first page of results when reposting to page?
- query_posts and sub pages?
- Pagination problem with multiple loops on the same page
- The_content display a different content from a previous loop
- Including post data in a sidebar occurring outside of and before the Loop
- Multiple loops with / without sticky posts and different post limits
- Achieving pagination with `query_posts`
- Pagination in category.php not functioning
- Custom Page Template and Category Exclusion
- Show number of posts AND number on current page (cannot make it work)
- how to query posts by category and tag?
- Replace query_posts with pre_get_posts
- Pagination is broken and I need help fixing it
- Hide featured post on second page
- Simple custom post query for all the posts or many of them not working
- Hook to return true when the_post() is used in a custom while loop
- why to use query_posts() in custom page?
- How to make posts unqueryable/unpublish posts where ACF relationship field is an unpublished post? [closed]
- Tax query get first product with attribute value in pre_get_posts
- How can I get the last post while on the first post for pagination? As if it were infinite
- Some doubts about how the main query and the custom query works in this custom theme?
- WordPress posts loop pagination – first page return 125 posts instead of 10 and the rest return 10
- posts_nav_link() not working on index.php