You might need a different var … set_query_var(‘posts_per_archive_page’, 1);
posts_per_archive_page (int) – number of posts to show per page – on archive pages only. Over-rides posts_per_page and showposts on pages where is_archive() or is_search() would be true.
Related Posts:
- Custom post type archive page pagination
- paginate function in archive for custom-post-type
- paging is not working properly on news archives page [duplicate]
- Custom Post Type Archives by Year & Month?
- Get custom post type slug for an archive page
- Custom post type pagination 404 fix?
- Meta_Query as a way how to setup CPT permalinks – is it a good thing?
- Pagination throws 404 error on custom taxonomy archive pages
- Proper way of making custom post type landing page or archive page
- Custom Post Type Archives by Date with Custom Permalink
- Custom Post Type Archive Page: Set Posts Per Page, Paginate
- Change title in head on Archive page
- Custom Post Type Archives with 0 Posts Redirects as 404
- Multiple Paginations on one Page
- Archive page…limiting posts per page
- Page is defaulting to archive page and not designated template
- Better to use a post type archive, page template, or shortcode for generating a highly configurable CPT archive?
- Custom Post Type Archives by Date (stored as meta value) WP3.1
- Custom post type archive with pagination?
- Custom post type archive sorted and grouped by date in post meta field
- How to create archive page for taxonomy terms within custom post type
- WordPress custom post type archive with description
- Custom-post-type-archive: posts sorted/filtered by year?
- How to list custom post types?
- Editable content on a Custom Archive page
- Second Custom Post Type Archive
- Unable to get paginate_links working with a custom query [duplicate]
- is_main_query() not working for WP REST API
- CPT Archive with core Category
- How can i change the output of posts_nav_link();
- Changing number of posts per page on CPT-archive.php, have tried 20-30 code chunks so far
- get the custom post type title/name
- URL of a custom post type’s post format archive?
- Create template for taxonomy results limited by Custom Post Type
- How do you paginate a query grouped by month?
- Custom post type archive page blank
- How to display custom post in archive section of the wordpress page?
- What’s the name of the custom post type yearly archive template?
- How can I use archive-{post_type}.php theme template?
- Pagination doesn’t function properly for archive of a custom post type set as the front page
- Return the name of the post type
- Use the custom post type archive for taxonomies?
- Using Pagination for Custom Post Type and keeps returning 404
- Custom Post Type Archive Pagination
- Archive page for custom post type and custom taxonomy
- How to have multiple archive pages?
- Create a Custom Path to Archive
- Custom Post Type Date Based Archive URL rewrite [duplicate]
- WordPress sitemap with Custom Post Types
- Is possible register two archive pages for single custom post type?
- Archive page for WordPress Custom Post Type doesn’t show pagination from paginate_links()
- pagination problem listing custom post types of taxonomy in wordpress
- Custom Post type page content (archive page)
- Group custom post type posts by month
- Creating an archive page or simple template to list all values of a custom field of specific post type listing
- Do not show child pages within a file page
- Tell wordpress to show a single page instead of an archive page
- Permalink for custom post type pages not working
- Custom Post Type archive page listing a 404 or single post
- Custom post pagination not working
- Custom post type pagination problem – page 1 and 2 show same content
- I want to create pagination for my custom post type archive that i am displaying with loop
- Post navigation doesn’t show (in custom template, custom post type, custom query)
- Want to display my custom date archive to date.php but dont know how
- Custom Post Type shows pagination (w/404) or posts_per_page query, but not both
- Custom taxonomy in custom post type archive with pagination
- why custom post archive gives always no more than 10 posts despite of paging settings?
- Rewriting archive page slug to be different than custom post type slug
- Pagination fault in custom post type archive page [duplicate]
- Site loads very slow for archive custom post type page
- Paginating custom query on category template
- Stop Custom post type from being searched via URL
- Custom pagination [duplicate]
- Custom post type category page not working
- How can I set up the URL for a category archive for a custom post type?
- Taxonomy Query of Custom Post Displays Archive Instead of Posts
- Archive Page Pagination not working
- How to have a dynamic slug and rendering the archive-{post_type}.php?
- Remove plugin’s custom post type archive page and single pages [closed]
- Pagination not working only on Archive-Name.php using new WP_Query
- Pagination not working on custom post type archive
- Archive pagination – second page shows exactly the same posts
- Two pagination in one page without AJAX
- WordPress CPT archive page display sticky post first and then display the rest of the posts in same Query
- WordPress custom post type category pagination 404 Error
- Pagination is not working in custom post type
- Custom post type (with parent-child relationship) singular page with pagination
- Single post with a Custom Post Type returns 404, when archives of the CPT work correctly
- Custom Post Type slug same as page name
- Custom Post Type Pagination Paginates Only in URL Structure
- Can’t access private custom posttype single- or archives-page
- Why does my URL keep returning 404 error code?
- 2 Custom Post Types In 1 Archive Page?
- Custom category taxonomy – archive page not showing up
- Pods pagination erases my sub menu
- Remove the “View” Link in Post edit Admin
- Is it possible to remove the word “date” from archives?
- Fourth page of custom post type archive page does not exist
- Pagination broke after updateto WordPress 3.4 [duplicate]
- the_post_navigation in single page with multiple taxonomies