Update your code as below.
// show all active coupons for this store and setup pagination
query_posts( array(
'post_type' => APP_POST_TYPE,
'post_status' => 'publish',
APP_TAX_STORE => $term->slug,
'ignore_sticky_posts' => 1,
'posts_per_page'=>-1
)
);
Related Posts:
- posts_nav_link on single post template
- How can i change the output of posts_nav_link();
- Paging doesn’t work?
- Previous / Next Links For Custom Post Type Sorted By Meta_Value
- Post navigation doesn’t show (in custom template, custom post type, custom query)
- Pagination not working with custom loop
- WP_Query Pagination on single-custom.php
- Have different number of posts on first page
- Custom pagination for custom post types (by names)
- Custom post type pagination 404 fix?
- next_post_link() not working for single custom post type post
- Remove current_page_parent nav class from blog index when in CPT
- wp_pagenavi() with custom wp_query()?
- WordPress Custom Post Types with a page as a parent?
- Pagination with custom post type not working
- Custom post type archive 404’s with paginate_links
- How do I Paginate Search Results for Custom Post Types?
- Pagination throws 404 error on custom taxonomy archive pages
- How to order adjacent posts (prev / next) by custom field value?
- How to model a hierarchy for courses, levels and lessons?
- Changing the URL Structure of a Paginated Custom Post
- Custom Post Type Pagination Not Working On Archive Page
- Custom Post Type Archive Page: Set Posts Per Page, Paginate
- How make get_next_post() return first post when viewing last one
- Number of pages – multiple (custom) post types
- WordPress search: pretty URLs (permalinks), custom post types and pagination
- Pre get posts for single post
- Multiple Paginations on one Page
- Archive page…limiting posts per page
- Pagination not working with custom category template
- Problem excluding category from get_next_post
- Shortcode Displaying Custom Post Types
- Custom permalink with pagination
- 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
- Custom Post Type pagination – normal solutions aren’t helping
- Custom Post Type Archives by Date (stored as meta value) WP3.1
- Pagination Doesn’t Work
- Numeric pagination custom post type
- Custom Post Type Rewrite Rule for Author & Paging?
- Pagination go to first page if i’m on last post
- Posts in Multiple Columns and Rows with one single loop
- Pagination throws 404
- specify meta_key / meta_value condition for prev_post_link and next_post_link
- Pretty paged permalinks in custom post type loop
- Newer/Older posts links display same posts on every page
- Custom wp_query pagination – next_posts_link() or wp_pagenavi() always empty
- Pagination with custom loop
- Group list of posts by taxonomy and allow for pagination
- Custom post type archive with pagination?
- Pagination on a custom page template
- Custom Post Type pagination when CPT ‘rewrite’ rule and a page have the same slug
- paginate function in archive for custom-post-type
- Nav menu of all posts in a custom post type
- Pagination problems with multiple custom post type archive pages
- Pagination in plugin with custom post type
- Fix custom query pagination without changing site-wide posts-per-page settings
- custom post type paging not working past page 3
- Full-Ajax Theme: parseJSON error while building a JSON object from a WordPress custom template
- Custom Post Type, Two categories, Two columns with Pagination
- Display “Post 2 of 4” on single post page?
- Pagination problem in custom post type used as front page
- Custom Taxonomy archive returns 404
- Dropdown list of a custom post type
- Pagination gives 404 error
- Paginate Custom Post Type Page
- Highlight nav menu terms
- Creating a simple pagination for custom post type templates
- WP_Query pagination using only numbers instead of /page/1 on URL
- Custom Taxonomy Breadcrumb Navigation
- Custom Post Types, Page Templates and Pagination. Why do I get a 404 Error?
- Pagination with custom post types results in 404 issues
- Pagination not working
- Pagination Custom post type
- Pagination Issue: Custom Post Type In Index
- Select menu should display categories and the item’s depth
- Custom query form submission pagination
- Paginated Taxonomy Term Archive including one post per term
- Why are navigation items saved in the database?
- WordPress rewrite my URL when i use pagination
- adding .current* tags to custom post types and taxonomies
- Pagination links not showing on custom post type admin list
- wp_get_nav_menu_items wp-admin/customize.php problem
- Pagination on Custom Post Type: 404 Error
- current-menu-item not working with custom post type
- Custom Post Type Pagination & duplicate posts
- Pagination in a Shortcode. Get_next_posts_link not working but get_previous_posts_link works fine right next to it
- Showing Custom Content in a Nav Dropdown
- Order WordPress Custom Taxonomy Pages & Pagination Not Working
- Custom post type archive page pagination
- Pagination problem
- Hierarchical Custom Posts – Highlighting Current Post in Sub-Menu
- How to load custom post archives sub-pages with ajax?
- Custom post type archive not regarding ‘posts_per_page’ => -1
- pagination redirecting from page number url before page requested
- Unable to get paginate_links working with a custom query [duplicate]
- Custom Post Type Navigation on Custom Field
- Setting posts per page in query_posts
- Custom post type, permalinks & pagination, going wrong
- Add/Remove current_page_parent class