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 should you use WP_Query vs query_posts() vs get_posts()?
- When to use WP_query(), query_posts() and pre_get_posts
- Pagination when using wp_query?
- How can i retrieve default post per page value? from settings->reading. And total number of posts?
- Find out total number of pages in global query on archive page?
- Post_count only shows the number of results per page
- Multiple WP_Query loops with Pagination
- Pagination with custom SQL query
- WordPress Pagination Not Working – Always Showing First Pages Content
- How to use the_posts_navigation for wp_query and get_posts?
- WP_Query vs get_posts
- get_query_var function not working at all
- meta_query: using BETWEEN with floats and/or casting to DECIMAL
- Get posts from Network (Multisite)
- Pagination on a WP_query not showing navigation links
- Different ‘posts_per_page’ setting for first, and rest of the paginated pages?
- How to order by post_status?
- Using get_posts vs. WP_Query
- How to paginate wordpress [gallery] shortcode?
- Delete all posts from WordPress except latest X posts
- Pagination returns 404 after page 20
- paginate_links() adds empty href to first page and previous link
- paginate_links ignore my format
- Sanitation needed for WP_Query or get_posts calls?
- Differences Between WP_Query() and get_posts() for Querying Posts?
- Custom Taxonomy not working with posts_per_page in new WP_query (pagination problem)
- Combining two wordpress queries with pagination is not working
- Get Recent Posts by Date in Multisite
- Custom WP_Query order by post_meta and (author) user_meta
- get_posts with multiple categories
- get_template_part in for loop
- Use of caller_ get_ posts
- How to paginate attachments in a secondary query as gallery?
- How-to exclude terms from the main query the most performant way?
- Pagination with WP_Query is buggy – working for some pages, but not the others
- Is it possible to select against a post’s parent’s fields with WP_Query?
- WP_Query and Pagination on a Static front page
- next_posts_link not working for loop called with ajax
- Query causing load because of SQL_CALC_FOUND_ROWS post counting?
- Query all posts where meta value is empty
- Get posts by meta data OR title
- Pagination with 5 posts per page
- Pagination shows 404 after a certain number of pages
- Get_post() with meta_key when compare is a date
- Pagination custom query
- get_posts not finding argument: post_name
- Meta Query with date and time on the same Day before given time
- Get posts with condition on comment meta value
- Pagination not working for Custom search form & custom result template
- Pagination/infinite scroll with WP_Query and multiple loops
- How to adjust found_posts so that it accounts for offset and pagination
- Pagination broken when merging search results with additional WP_Query
- Function to check if author has posted within the last x days
- WP_query and pagination?
- pagenavi with merged wp_query [duplicate]
- Add and in the header while looping over custom query in page template
- pagination doesn’t show up for custom post type
- Use post__in and post__not_in together?
- Pagination causes error 404 when used with front-page.php
- Paginated pages are showing correct content but pagination links are not
- Query with pre_get_posts to get pagination
- Pagination wont work with search results template [duplicate]
- Pagination Not working on Home Page with 2 Query
- What should I use, get_posts or wp_query for less CPU load?
- Different Results with query(‘s=computer’) vs get_posts(‘s=computer’)?
- How to get post from all Blog Multisite to the Main Site?
- Best Practice For Querying Grandchildren?
- Pagination not working on static page
- Display different number of posts from one category on the different pages
- Using next/previous_posts_link with customised search
- Pagination not working Search posts
- Pagination not working for category posts
- Pagination is not working using WP_Query
- WP Query post meta value
- WP Query with offset breaks wp_pagenavi or any pagination
- Get all posts without tags
- Search – Ajax – Alter Query Parameters with Pagination
- Two queries on the same page with pagination
- Transient pagination not working properly
- get_posts() seemingly ignoring post_type
- Can not switch the queried post in pre_get_posts hook
- Injecting content with $wp_query->current_post restarts from zero on paged pages. How to inject content after X posts, regardless of pagination?
- Show single post then all posts (with pagination)
- Is there a PHP function that can match anything after the given URL, so my IF statement will work in each instance?
- Add custom search results to main WP search [duplicate]
- How to find out what “Blog pages show at most” is set to [duplicate]
- 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?
- Pagination for custom query on single.php