Isn’t it so that you have exactly 10 posts and you’re showing them all on first page.
$found_posts – The total number of posts found matching the current
query parameters
found_posts
on your first page shows 10. All of these posts are shown on first page. So there are no posts to show on second page – therefore it’s empty.
Related Posts:
- get_query_var( ‘paged’ ) not working outside of homepage
- Get the number of posts from the current page results
- Why does pagination always break when used on any form of a home page?
- ‘paged’ in wp_query doesn’t work
- Merged two WP_Queries, posts per page and pagination not working
- Pagination on template page for custom query redirecting to index.php
- filter posts by meta key with pagination
- Query specific number of posts for each post type in specific order
- Why won’t my paged wp_query work? [duplicate]
- Pagination not working in secondary query
- When to use WP_query(), query_posts() and pre_get_posts
- Pagination when using wp_query?
- Find out total number of pages in global query on archive page?
- Post_count only shows the number of results per page
- WordPress Pagination Not Working – Always Showing First Pages Content
- get_query_var function not working at all
- meta_query: using BETWEEN with floats and/or casting to DECIMAL
- Pagination returns 404 after page 20
- Query all posts where meta value is empty
- get_posts not finding argument: post_name
- Pagination broken when merging search results with additional WP_Query
- Transient pagination not working properly
- get_posts() seemingly ignoring post_type
- Can not switch the queried post in pre_get_posts hook
- Woocommerce custom loop to show all the products [closed]
- Count posts returned by get_posts in external PHP script
- How to bring specific post to front of wordpress loop?
- Intentionally exceed max_num_pages on main query without getting 404?
- Pagination 404 errors for author posts query on author.php
- SELECT * FROM $wpdb->posts WHERE ID > 160
- Pagination problem after WP_Query with tag filtering
- Pagination stops at page 6
- Paginated HTML Sitemap
- Adding multiple post queries with parent and children to page – Best Way
- Pagination is broken and I need help fixing it
- Create a sitemap without a plugin – get parent pages only?
- Creating a custom search for a specific post type
- Pagination on category page with custom post types
- get_posts – find out if querystring was crap and fallback is used
- WP Pagination on Posts Search Results Page resulting from AJAX WP Query
- Creating query to show which editor (classic or block) was last used to edit a post/page
- Create A Loop With A Variable Number of Posts For Each Bootstrap Row?
- The pagination on index.php doesn’t work on a first page
- paging in WP_Query on static page
- WP_Query() and get_posts() can’t handle over a thousand posts?
- pagination with numbers for WP_User_Query
- WordPress pagination not working using WP_Query
- Masonry, WP_Query & paged – first page repeating, second page not loading
- posts_per_page not working for first page of pagination
- Pagination on static Posts page
- How to show more post at a given category?
- How to cache wp_query with pagination using transients?
- Pagination only won’t work in author template
- Use WP_Query or query_posts() or get_posts() for optimizing a site?
- Specify strict ‘order by’ in WordPress query
- How I can change the condition or compare operator for WP_Query in pre_get_posts
- Check if searched number is within the post meta value
- WP_User_Query and user posts
- Notice thrown when creating numeric pagination on custom query
- Second loop pagination changes URL, not content
- Custom Homepage Pagination using WP_Query
- Pagination problem by using WP_Query
- Ajax (jquery) wp_query pagination returns -1
- Why always one post missing
- Having a variable based on $post_count increase when i move to the next page of results
- Why my query is not “Main_query”?
- Function the_posts_pagination() not compatible with WP_Query arguments
- adding pagination to a foreach loop in wordpress
- Facing problem with tax_query results
- Pagination of custom page with custom fields query
- pre_get_posts pagination not working
- Pagination not working on archive.php template?
- Numbered Pagination Showing The Same Posts After Altering WP_Query
- Pagination inside the blog page not working
- Pagination on archive.php not working?
- Custom Query Pagination not working on static front page
- WordPress search page pagination displaying but not functional
- get_posts query caching?
- Paginated Post List on Front Page
- Slow query when selecting with large meta query or post__in
- Problem with custom WP_Query and underlying pagination/posts_per_page
- Archive – Show Page Month Headers
- Query post Pagination Problem
- Both WP_Query and get_posts returning 1 post
- Pagination for custom query throws 404 errors on last pages [duplicate]
- Pagination is not working on custom query inside a custom home page template
- Pagination not working in some author pages
- Ordering Custom WP_Query loop by meta key value with pagination
- Loop being strainge
- send user to first page of results when reposting to page?
- Pagination in custom query not working [duplicate]
- paginate_links() on page (shortcode output)
- Duplicate posts showing up in loop using infinite scroll
- Pagination showing same posts despite changing page
- Weird query with get_posts and WP_Query
- Query custom post types by meta field in a term from custom taxonomy
- Pagination with Custom Post Type not working on index.php: I get a 404
- Pagination on custom post type not working
- How to retrieve _embed (etc) fields in get_posts custom query?
- Limit paginated result set to a maximum number of posts