The issue was that the get_previous/next nav filters were “out in the open” in the plugin; so they were executed every time the plugin was loaded. I put them in a function called myplugin_set_nav_filters(), which I invoked before the loop in the CPT single template, and everything worked as advertised.
Now the nav on regular posts is no longer being filtered by the CPT posts; and the CPT page is getting the filters it needs.
I hope this helps someone.
Related Posts:
- What does this PHP function code mean? [closed]
- Possible to change the URL for the regular post type without affecting the URL of other custom post types?
- Enable sticky posts to custom post_type
- How to add a button to custom post type’s posts-page
- How can I add a column/s to wp_posts table?
- flush_rewrite_rules on save_post Does Not Work on First Post Save
- post_row_actions for custom post type
- Limit the post for differents custom post type in the same wp_query
- Loading post content in FancyBox
- Downsides to not using built-in “Posts” post type?
- get_page_by_title() not returning anything [closed]
- Multiple Content Block
- Display Custom Post Type in Recent Posts
- IF statement in a do_shortcode
- Make `previous_post_link()` Function Show The Post After Next i.e. Jump A Post
- How do I create an archive page for standard posts?
- get_queried_object error How to show post count by month in the taxonomy page
- How to create A-Z index listing for custom post types?
- Remove All, Published and Trashed Post Views in Custom Post Type
- Custom Taxonomy – Tags Metabox is showing instead of Categories
- How to post twitter like updates on wordpress
- How Can I Set the Post Author of a Post I Just Created With PHP?
- WordPress Orderby Numeric Value Not Working
- Deleting Custom Post type data using mySQL command
- Notice: Undefined index: suppress_filters
- How to add post_type=value when editing that post type in the WordPress admin?
- Open Custom Post Type as PDF
- Show the same Article Available in Other Categories
- Show custom post type filtered by category
- Allow non-logged in users to see a future post after clicking on a list of future posts
- Meta query for custom post type ignored in main query
- Update Post Meta for a logged in user
- Get related posts of child term of custom post type
- Get the category from custom post type
- Is it possible to store Custom Post Type data in separate set of tables and still have wp_post class functionality?
- Prioritize posts in query by meta keys?
- Homepage’s content is dependent on the custom field values (set automatically), how do I get homepage to update without manually updating page?
- Load Next Posts With AJAX not working with custom post type
- Permalink misbehaving in Custom Post Types
- Is it a good idea to add a column to the posts table?
- Can I change my post type to anything and my site still work?
- Display Only Certain Category In a Custom Page Template
- Creating separate feeds for custom post types
- wordpress lists similar type of posts in a custom post type
- Auto post creation
- How to filter url on post submission?
- Easy reading or transfer of data from posts?
- Different structure/content for posts from a custom post type
- list posts of two post types in a single template
- The loop does not show users
- How to controll the Posts post type and general wondering about WP data structure
- Front-end Image Upload to Custom Meta Box
- Create a custom post type based on ‘Post’
- redirect after submiting post for review
- Invalid content when I try to import custom post type from the old template wordpress
- Why is my custom post content only viewable when signed into WordPress?
- i need to have a tab with gategory post
- Custom Post type to Woocommerce Product type
- Add a form in every post and save data in post meta
- How to set post date in post_type so that it’s same as latest post in category
- Enforcing a rigid reusable template structure for similar posts?
- Auto delete pages/posts without views
- Right way to store a large set of similar information on website? [duplicate]
- Create a post automatically if search result has zero results
- Limiting the Number of User Posts to Their Own Posts
- Correct way adding External classes to Custom Post type and output their methods to template
- Assign a Post to a User
- Cannot save pages after migration
- Bulk trashing post ‘fails’
- News post with multiple permalinks? When opened from different page
- minimize wp_query call to database
- Rest Api not working with Iframe in form data
- Limit posts per page depending on the size of a div?
- Display title of all custom posts from same taxonomy term on a custom post template
- Use WP pagination functions on a custom page template
- Event Manager: Events Deleted are still in DB as published but hidden in admin
- Rewrite url post_tag for custom post type
- Setting up a page to house certain types of posts
- Single Post (CPT) in two pages – Normal and Extended
- Limit or filter edit view in the dashboard to a specific ID only?
- How to add New Post On clicking a button?
- Featured image in custom post is being disabled
- How to set class to “current-page” on the currently viewed single post within a CPT
- Why isn’t my custom post type using the corresponding custom post template?
- WordPress Author Posts Review After Every Change In The Same WordPress Post
- Linking custom taxonomies and posts
- Search page for custom post type
- Query Only Show Text on Posts With Certain Taxonomy Tag
- how to remove user name and date in post page
- WP Build-In Post selector for CPT
- Post type cloud like tag cloud?
- Change permalinks for posts but not custom post type?
- How to make a template for a specific post of a custom post type?
- Display posts from another page on home page in wp-editor
- How do I hide single category post on my post page
- Front end post or photo or both
- Canot save post if any meta box was empty
- Can WordPress show posts based on a button that the user clicked 2 pages back?
- How to get permalink of post based on post name?
- Two pagination in one page without AJAX