A problem with a custom query is that the posts_per_page resets before the page loads. So if you got 10 posts, than you only have one page, because the default posts_per_page is 10. If you have 11 posts than you will see the second page, but not beyond that.
Solution for this is changing your posts_per_page settings in the back-end: Settings > Reading > Blog pages show at most > 3. But this will change all archive page settings. Quick fix for this is adding
<?php global $query_string; query_posts($query_string . '&posts_per_page=10'); ?>
at the top of your archive templates where you want the default posts_per_page.
Related Posts:
- Pagination not working with custom loop
- Custom post type pagination 404 fix?
- wp_pagenavi() with custom wp_query()?
- How do I Paginate Search Results for Custom Post Types?
- Custom Post Type Pagination Not Working On Archive Page
- Archive page…limiting posts per page
- Shortcode Displaying Custom Post Types
- Related posts by author pagination not working on the production site
- Secondary loop pagination on custom post type single post gets redirected to first page
- Pagination go to first page if i’m on last post
- Pagination throws 404
- Pretty paged permalinks in custom post type loop
- Pagination with custom loop
- Group list of posts by taxonomy and allow for pagination
- Custom Post Type pagination when CPT ‘rewrite’ rule and a page have the same slug
- paginate function in archive for custom-post-type
- custom post type paging not working past page 3
- Custom Post Type, Two categories, Two columns with Pagination
- Pagination gives 404 error
- Creating a simple pagination for custom post type templates
- WP_Query pagination using only numbers instead of /page/1 on URL
- WordPress rewrite my URL when i use pagination
- Custom Post Type Pagination & duplicate posts
- pagination redirecting from page number url before page requested
- Repeating posts when paginating random posts
- How to add pagination to wp_query [duplicate]
- CPT: if more than X images are in post, use pagination
- Hard code the nextpage tag into my theme?
- Pagination on with query_posts in custom post type template
- How do I move/order posts with a tag to the end?
- Add Pagination on Custom Post Type Archive
- Woocommerce search pagination not working
- List all posts in a custom post type with pagination (the correct way)
- Category with post type pagination returns 404
- How To Show All Custom Post Types In A Category Instead Of Pagination?
- Pagination issue on category.php using custom post type query
- Is it possible to to use custom post type types on a page with the same slug somehow?
- WordPress custom post query with pagination
- Custom Theme With Custom Loops
- pagination not working for category.php (custom post types in categories)
- Cant get paginations on single.php to work with my custom post types
- Can’t use pagination with custom taxonomy
- Trouble with pagination
- previous_post_link in same taxonomy in custom post type
- How to do admin CRUD & Pagination
- Custom ordering of CPT items not matching with the ordering of its pagination
- Break up posts per page in two sections
- How to list custom post types on a custom post type page?
- Custom post pagination trouble
- Pagination on a page
- Single parent post lists child posts with pagination
- Using custom post type as front home page pagination not working
- Previous / Next Links For Custom Post Type Sorted By Meta_Value
- Problem with custom loop navigation inside the blog page
- pagination for custom post type archive page
- custom taxonomy pagination 404 error
- Custom archive page for custom taxonomy and pagination issue
- Pagination Not Working When Used With WP_Query() `offset` Property
- Pagination on custom post type without plugin
- pagination problem listing custom post types of taxonomy in wordpress
- Permalink for custom post type pages not working
- How to display custom post type pagination buttons when processing AJAX request
- Make pagination work as a carousel (custom query)
- Why is my loop not populating the page with my custom taxonomy terms from my custom post type?
- Custom Post Type Pagination – not displaying posts
- Pagination with a custom post type
- I want to create pagination for my custom post type archive that i am displaying with loop
- Pagination URL in Custom Content Type
- Pagination functions won’t work
- pagination for a custom query
- yet another: custom post type with pagination not working in WordPress
- How to Fix Custom WordPress Loop with Pagination on Single Post View?
- Custom post type with Filter and Page Nav
- Pagination fault in custom post type archive page [duplicate]
- Pagination custom post types outside loop
- Paginating custom query on category template
- Custom post type blog pagination conflict
- Custom post type pagination, single page issue
- Pagination always adding “Next” link when results come from Custom Post Type WP_query
- Pagination not working with custom loop
- Pagination not working with custom loop
- Archive Page Pagination not working
- Classic Custom Post Types and WP-PageNavi
- List of filtered Events is breaking paging?
- Pagination not working on homepage
- How do I paginate a custom post type listing on a custom template page?
- WordPress custom post type post and category links 404
- WordPress getting problem with pagination [duplicate]
- Pagination not working
- What Is My Fault With This WP_QUERY ? [ Pagination Problem ]
- Pagination not working only on Archive-Name.php using new WP_Query
- CPT Archive Pagination – Page not found
- Pagination not working on custom post type archive
- the_post_navigation in single page with multiple taxonomies
- Archive pagination – second page shows exactly the same posts
- Two pagination in one page without AJAX
- Query Multiple Post Types and Paginate Newly Created List
- “Page not found” while on page 2 from pagination menu
- Issues with Ajax Pagination and Filtering
- Custom post type pagination not working in index.php file