While I was typing up this question, I left it for a while, found out the problem, and decided to post the answer just in case it helped anyone else. Apparently, in WordPress’s infinite wisdom, it decided to make this argument in its register_post_types function:
'publicly_queryable'
When this is set to true, it causes this weird phenomenon. When it is set to false, it fixes this issue.
Related Posts:
- How can I fix a slow redirect after form submit from frontend (no plugin)?
- How to embed form data within the ‘Add new post’
- How to Submit Post Via cURL & PHP
- How to integrate a form (Ninja Form or Contact Form 7) with Custom Post Types?
- Making a form for user to add new custom post with custom taxonomies and custom fields
- Front-end form submission not creating post
- Hook for post and page load
- How to show all posts of the category in wordpress?
- How can I convert Posts into Custom type posts?
- Fetch All Posts (Including Those Using a Custom Post Type) With WordPress API
- How do I add a new custom post format?
- Edit the “Post updated. View post” link
- Problem excluding category from get_next_post
- How to hook get_terms() to only show count of posts that have custom meta
- How Can the Users Make a “Playlist” of Posts?
- Create Post tabs in single-{content-type}.php with Custom Field values
- Missing the first 6 Posts and displaying posts that are after the latest 6
- Add extra parameters after permalink?
- How do I check if a posts status is set to draft or pending?
- Adding Custom Taxonomy to WordPress default Post type
- Post type hierarchy
- Quickest way to get last or oldest post date – WP Query
- How to use custom fields to enable sticky posts on custom post types?
- WP_Query is printing out only one post when posts_per_page is set to multiple
- How to get all posts except for one post from a certain custom post type?
- Custom post type and body_class: Remove “blog” class
- Exclude child pages from archive.php
- How to get the post type from a category id?
- Send email button in custom post type backend
- Using The REST API How To Pull All Custom Posts?
- Getting posts under the custom post type ui category
- List children on child post
- Restrict custom post type from appearing with ?post_types=
- Turn on and off custom post type from admin?
- How do I do this with WordPress? Taxonomies?
- Display Ad on Specific Categories
- Show titles, date of all posts on single category page
- Several post types on WP Query by tag and taxonomy
- Set up post page like JAMA articles
- Shortcode not working with post counter
- Changing default ‘posts’ parameters with register_post_type_args
- A form that can save/edit after first input
- Allow users to create posts without logging in?
- Form action doesn’t work if slug isn’t same as custom post title
- Check post on publish for blank title
- Different Limit number of post on different archive page
- How to change “post_class()” for a custom post type?
- Help With Warning on creating new Post types?
- Including link to custom post type in ‘wp_list_pages’ function
- Get an array wich contains the post_name of every post that has the custom post_type “pelicula”
- Custom post types and ‘new WP_Query’
- Showing custom post type categories in the menu
- I can no longer post or even save a draft, getting the error “A post type mismatch has been detected.”
- Dynamic pages for linked categories and content
- Separate Content from gallery (custom post type)
- Get post format
- How to set the mainpage of a custom post type?
- displaying content of custom post type
- How to query Posts from a custom post type which contains a custom taxonomy?
- Custom Post type registering as page post type
- Custom Posts and Posts – next_post_link and previous_post_link not working together
- Does “Custom Post Type” can have page hierarhy option?
- How to: Add a publish immediately button when editing custom WordPress posts?
- How set template for “custom post type” individual post
- Extending post by email
- Checking for custom field in admin pages
- A sports wordpress website
- What is the best way to set the post category (Custom Post Type) automatically based on the one of the tags assigned to the post?
- Settings -> Reading -> Posts Page ->Blog — is not working in my website
- Is it possible to get the specific content on the search page?
- Best way to fix bad count on All | Mine | Published
- How to mass get post editor URLs
- How to create additional rendering for custom post types?
- SELECT custom post type and its meta in SQL
- how to display posts content on the custom css popup by clicking on each title on the sidebar?
- Attend event form with ajax
- Adding specific custom fields (images) to post excerpt
- Add input radio menu to post
- How to properly get the wp_postmeta.meta_value of a custom post type in specifics?
- How to add custom PHP code in post header?
- I cannot display custom posts in custom taxonomy
- How to manage a dynamic multi-level page hierearchy system?
- Custom Post By Category
- custum post inner page not taking single-gallery.php? it redirecting to archive page
- Change Custom Post Type to Post + Category
- When post is Published, insert into custom table a number – custom post type
- Get post from Category by Priority
- Submitting custom post from frontend,jQuery ajax, and custom validation – can’t find proper place to insert wp_insert_post()
- Cannot use pages created on WP
- Calling specific page with wp query
- How to get Last post Id of custom post type in wordpress
- Display a post count from a custom metabox selection
- Displaying database table in backend of wordpress
- Custom Post Type children and grand-children in one list
- Custom Post Type post not appearing
- How to call wordpress custom post type page
- How to filter homepage posts by popularity? [closed]
- Automatically add custom taxonomy when meta value gets to a set number or beyond
- show posts under custom post type with same autj
- Two pagination in one page without AJAX