I’d suggest using a plugin for this. next_post_link
and previous_post_link
will use the category taxonomy (literally)*, so they will not work as expected with custom taxonomies, which I think you are using here.
I’ve used both Smarter Navigation by Scribu and Ambrosite Next/Previous Post Link Plus, which are both great plugins for this sort of thing.
*See the source for get_adjacent_post()
which is used by WP’s next/previous_post
functions in \wp-includes\link-template.php to see how “category” is hard-coded.
Related Posts:
- Pagination throws 404 error on custom taxonomy archive pages
- Pagination throws 404
- custom post type paging not working past page 3
- Custom Taxonomy archive returns 404
- Paginated Taxonomy Term Archive including one post per term
- Custom Post Type Pagination & duplicate posts
- Order WordPress Custom Taxonomy Pages & Pagination Not Working
- Repeating posts when paginating random posts
- Pagination : How to remove /page/x/ after a ‘POST’ action on a form returning to page 1
- Pagination for Custom Taxonomy Page [duplicate]
- How do I move/order posts with a tag to the end?
- Custom taxonomy rewrite give pagination 404
- Custom Post Type Pagination Paginates Only in URL Structure
- Querying Custom Post Type, ordering by Custom Taxonomy Pagination Not Working
- Custom post type pagination 404
- Pagination Not Working for Custom Taxonomy with Custom Query – 404 Error
- Can’t use pagination with custom taxonomy
- Custom post type and custom taxonomy 404 on page 2
- How to list custom post types on a custom post type page?
- Taxonomy rewrite pagination 404
- 2 custom post type paging in 1 custom taxonomy
- custom taxonomy pagination 404 error
- Custom archive page for custom taxonomy and pagination issue
- Custom post type paging return home page
- Remove custom taxonamy slug with pagination
- pagination problem listing custom post types of taxonomy in wordpress
- WordPress custom post type taxonomy paging
- How to display custom post type pagination buttons when processing AJAX request
- Why is my loop not populating the page with my custom taxonomy terms from my custom post type?
- CPT/Taxonomy/Postname permalink structure makes pagination break
- Pagination with a custom post type
- I want to create pagination for my custom post type archive that i am displaying with loop
- Pagination not working (page/2 retunring 404 page)
- 404 error next-page [2] PageNavi custom type taxonomy
- Pods pagination erases my sub menu
- Custom taxonomy in custom post type archive with pagination
- Pagination fault in custom post type archive page [duplicate]
- Paginate custom taxonomy category with wp_custom_pagination
- Pagination for a Custom Taxonomy
- Pagination URL order
- how to limit query_post to first page?
- See the process of creating a taxonomy and tell me where I made a mistake
- the_post_navigation in single page with multiple taxonomies
- Taxonomy, Terms, and Template Files
- Custom Post Types not showing on Custom Taxonomy archive page
- custom post type or taxonomy
- Changing the priority of a custom taxonomy’s metabox
- Pagination not working with custom category template
- Admin to user notices – best practices?
- front end radio custom taxonomy with custom post type
- How to query custom post type by term?
- Custom Permalink with Dynamic Taxonomy for Custom Post Type – Works, but breaks other permalinks
- How can I show recent posts from same taxonomy as the post currently being viewed?
- How to get the first term for the current taxonomy?
- Custom post type archive not regarding ‘posts_per_page’ => -1
- Group custom posts by custom taxonomy names
- How to query custom post types posts filtered by multiple custom taxonomies through a form selection
- How i can add ‘N’ page of ‘N’ pages under posts loop?
- Pagination on a custom post type loop
- Wrong request query on cpt and tax
- Custom post type multiple loop by taxonomy term
- Cannot add category or custom taxonomy from admin. WordPress site is hosted in Windows 16 server via IIS. No XAMPP or WAMP
- How to Filter custom post type by taxonomy?
- Listing posts under primary and secondary taxonomies
- Listing custom terms in custom post meta
- WordPress subpages to custom post types
- How do I display a list showing custom post types nested within a taxonomy?
- Display posts with tag for custom post type only
- Which file/template is in charge of taxonomies for custom post types?
- Custom Post Types not queried in Custom Taxonomy archives or Native archives
- Show current custom taxonomy
- Custom Post Type Archive Pagination
- Loop and add Specific Categories and Products Images
- Custom post type specific category box
- custom post type or taxonomy, which approach is better?
- Custom Post Type with Different Sets of Post Content?
- Add a class to a div if custom post type has specific terms?
- Custom Permalink For Custom Post Type – Working Fine But Broken For Pagination
- Basic CPT Question About Categories
- custom post type and a “sticky” position taxonomy
- Custom taxonomy returns 404 even with saving permalinks
- Custom post type shortcode with taxonomy attribute not working and no errors
- Redirect Custom Post Type from Child Taxonomies
- Ajax load more inside custom post type taxonomy
- Pagination for custom query returns 404
- How can I get the last 5 element of this tax query?
- Custom post edit page permalink links to edit page rather than the post
- Create a custom wp_query from a specific custom post type with specific taxonomy
- Show tags of custom post types in WordPress
- Show posts for current taxonomy
- WordPress get all post with like in terms [duplicate]
- Query Pulling the same post twice
- Cannot retrieve Custom Taxonomies (Disappeared)
- Custom Post type and Taxonomy in post URL error
- Loop multiple taxonomy in custom post
- Pagination in custom loop for custom post type throwing 404 error
- How to Create Custom Post Type with Multiple Color Options?
- Pagination not working for archive
- Get all active posts that are tied to a custom taxonomy for a custom post type
- Custom post type pagination conflict result in 404