They’re not the same. Your news page is the posts page, and your recipes page is a page post type where you’ve used a custom query to load the posts. I can see that by looking at the classes being added to the body tag. I presume that your custom query has no pagination parameters being passed to it, but you’ll have to show us the code in the template to confirm.
If you were to set has_archive
to true
when you register your post type and use the post type archive page instead of a custom query, your AJAX pagination will probably work.
Related Posts:
- 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
- wp_pagenavi() with custom wp_query()?
- 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
- 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
- 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
- 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
- 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
- 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
- Custom Post Type, Two categories, Two columns with Pagination
- Display “Post 2 of 4” on single post page?
- posts_nav_link on single post template
- Pagination problem in custom post type used as front page
- Custom Taxonomy archive returns 404
- Pagination gives 404 error
- Paginate Custom Post Type Page
- Creating a simple pagination for custom post type templates
- WP_Query pagination using only numbers instead of /page/1 on URL
- 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
- Custom query form submission pagination
- Paginated Taxonomy Term Archive including one post per term
- WordPress rewrite my URL when i use pagination
- Pagination links not showing on custom post type admin list
- Pagination not working with custom loop
- Pagination not working on homepage
- send user to first page of results when reposting to page?
- How do I paginate a custom post type listing on a custom template page?
- Fourth page of custom post type archive page does not exist
- Pagination broke after updateto WordPress 3.4 [duplicate]
- Problems with pagination for a custom post type
- WordPress custom post type post and category links 404
- WordPress pagination URL
- Pagination not working for archive
- Archive page – problem with pagination
- See the process of creating a taxonomy and tell me where I made a mistake
- WordPress getting problem with pagination [duplicate]
- Pagination not working in custom post type
- Pagination not working
- What Is My Fault With This WP_QUERY ? [ Pagination Problem ]
- Pagination for custom post type on multisite not working
- Unable to display paging navigation with a custom post type loop
- Pagination on category pages using wp_pagenavi causes 404 errors
- Pagination not working only on Archive-Name.php using new WP_Query
- CPT Archive Pagination – Page not found
- WPNavi pagination links not working on custom pages
- 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
- Custom post type pagination conflict result in 404
- Custom post type pagination not working in index.php file
- Custom post type category pages pagination returns 404
- 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
- Create an archive page by combining two post type
- Custom post type sub-category pagination return error 404 on second page
- WordPress Custom Post Type Archive, filter by category and get pagination working
- remove pagination from a single blog entry