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:
- Custom pagination for custom post types (by names)
- next_post_link() not working for single custom post type post
- Pagination with custom post type not working
- Changing the URL Structure of a Paginated Custom Post
- 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
- 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?
- Posts in Multiple Columns and Rows with one single loop
- Newer/Older posts links display same posts on every page
- Custom post type archive with pagination?
- Pagination in plugin with custom post type
- Fix custom query pagination without changing site-wide posts-per-page settings
- Display “Post 2 of 4” on single post page?
- Custom Post Types, Page Templates and Pagination. Why do I get a 404 Error?
- Custom post type archive page pagination
- Pagination problem
- Custom post type archive not regarding ‘posts_per_page’ => -1
- Setting posts per page in query_posts
- Archive template for custom post type only lists first 10
- Pagination : How to remove /page/x/ after a ‘POST’ action on a form returning to page 1
- How can i change the output of posts_nav_link();
- How to alter WP-JSON main query or best practise for custom endpoints
- Pagination is not working in custom post type
- Page vs Custom Post Types Differences/Issues
- How to display all posts from standard posts to custom post types in a loop with pagination?
- Previous/Next Link by Meta Value in CPT
- Custom post type (with parent-child relationship) singular page with pagination
- Custom template Page 2 not working
- How do you paginate a query grouped by month?
- custom post type pagination error 404
- Custom Post Type Pagination Paginates Only in URL Structure
- Querying Custom Post Type, ordering by Custom Taxonomy Pagination Not Working
- Pagination with custom query, custom search form, single and pages, ajax and no plugins
- pagination not working for category.php (custom post types in categories)
- Custom post type pagination 404
- Pagination broken by naming conflict between CPT and Page
- Cant get paginations on single.php to work with my custom post types
- Pagination Error : Duplicate argument being outputted
- Trouble with pagination
- previous_post_link in same taxonomy in custom post type
- How to do admin CRUD & Pagination
- Pagination hitting 404 page on /page/4
- How to list custom post types on a custom post type page?
- Pagination of custom post type leads to 404 error
- Pagination on a page
- Custom Post Type Pagination on Single.php?
- 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
- Custom post type paging return home page
- 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
- Pagination in custom loop for custom post type throwing 404 error
- Custom post type blog pagination conflict
- Custom post type pagination, single page issue
- Pagination for a Custom Taxonomy
- Pagination always adding “Next” link when results come from Custom Post Type WP_query
- WordPress Load more posts by ajax not working
- 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
- Pagination not working for archive
- 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
- WPNavi pagination links not working on custom pages
- the_post_navigation in single page with multiple taxonomies