The problem in this case is the name of the post type, action
. WordPress core uses the query var action
for its own purposes, so this has created a conflict somewhere within the code. The solution is to rename the post type to something unique to remove the conflict.
Related Posts:
- How can I change the admin search posts fields?
- Admin Area Custom Type Search By Meta Fields Without Title & Content
- Custom post type admin search
- How to search CPT’s by meta query from the admin dashboard?
- Placing a Custom Post Type Menu Above the Posts Menu Using menu_position?
- Loading External Scripts in Admin but ONLY for a Specific Post Type?
- How to make a WP_Query search with custom post types?
- Add “Last Edited by” column to custom post type list table
- Search multiple custom fields by using meta_query
- How do I Paginate Search Results for Custom Post Types?
- Filter custom post types in admin not working
- WordPress post sorting with AJAX
- Why have my custom post type searches stopped working after changing URLs / updating WordPress?
- Search that will look in custom field, post title and post content
- Create a dropdown with Custom Post Types as option in admin
- Returning search results by relevance, including Custom Post Types
- How to replicate some of Drupal Views functionality in WordPress?
- Prevent reload confirmation after AJAX save
- Seperating Custom Post Search Results
- Admin Post Update Redirection to Posts Screen
- Exclude from search all custom posts which are NOT in a taxonomy term
- Exclude a term of a taxonomy with a custom post type in a search
- Custom Post type sort order not working in the admin area
- Separating Search Results By Post Type
- Add custom column to custom post type overview in backend
- How Do I Use WP_Query to Run This Database Query as Search Result?
- Custom Post Types: pretty search URLs and has_archive
- Unable to filter on field on edit.php page
- How to Change the Title of a Meta Box on a Specified Custom Post Type? [duplicate]
- Is there An Input Checkbox Option That Works like `wp_dropdown_categories()` To Use In A WP Search Form?
- Custom Post Type and taxonomies’s labels localization not working
- Show admin help message across custom post type parent and child posts
- How to show custom (checkbox) field value in admin post list?
- Add text to wordpress admin ‘Add Post’ edit
- Custom Post Type not appearing in website search
- CPT Search Form with Taxonomy filter & Or
- How can I change the title of an Add New page in Admin for custom post type
- Set a default category – if the user didn’t select one- before creating a post
- Keyword search limited to specific post type filtered by multiple custom taxonomies?
- Custom search for custom post meta with pre_get_posts interferes with WP search
- I did group my search results by post type, but how can i give each of them its own order?
- Add acf field in title (admin table)
- Custom Post Type Nav to Subpage
- Selecting a post in Dashboard
- WordPress sort search results by custom order
- Pretty URL for custom search for custom post type
- Add post location with mile radius allowing search
- Include custom post type content in search
- Get post count for search result based on post type
- search suggest – filter post type
- Filtering posts list table
- How do i search authors from search form using author’s name
- CPT Validation to not show “Post updated.”
- WordPress search and date filter not working with custom post type
- Use remove_meta_box conditionally on custom post type
- Custom filter for main search: how to exclude specific post_type from search results
- Add custom attributes to a post
- How to check if post/page or taxonomy post is published by admin
- Display an icon based on post type
- CPT Columns doesn’t show categories
- Insert Custom Post Types
- how to get this tax_query working?
- Custom Taxonomy Search result page
- How to group search results by post type and only if post type result is not empty?
- Custom Post Type – Support “author” only for admins
- find custom post type post by searching its custom field with my string
- Category Search / Custom Post Type search on my website. Custom Post Types that are “page-like”?
- Showing User’s Post Counts by Custom Post Type in the Author.php?
- What is the correct term for a tool that filters content based on metadata?
- Ideas on how to organize a project [closed]
- CPT, meta-data, url parameter
- Function to add custom HTML into head in custom post-type list page
- How to Implement Search Functionality?
- How can I put content before my custom post type default pages?
- Change search query in wordpress custom post type
- How we can create menu from Appearance > Menu and use as a add-submenu-page for admin menu?
- Create a post automatically if search result has zero results
- How to hide private posts even if user is admin
- Adding orderby url parameter to main CPT admin menu link
- Custom Archive – hide posts until a search is made?
- Display result as “prefix+ID” and show in the search result as bookcode
- custom search results – order results differently by post type
- Custom Post Search
- Custom post type doesn’t display on admin list
- Search form to find custom meta box generated data
- Shared Custom post type between WP network sites
- 404 error Custom search results page for custom post types with friendly URL
- multiple custom post type category selection search
- Custom Search Template for Custom Post Types
- WordPress Author Posts Review After Every Change In The Same WordPress Post
- Redirect preview single post link to a page
- Search page for custom post type
- Cannot get query var ‘post_type’ to work
- Archive custom template from search
- Customising wordpress search and using $_GET[“s”]
- search this custom post type
- Why custom search engine only searches in post titles of custom posts?
- How do I provide a search form for a specific post type, that is capable of searching within custom fields of the specified CPT?
- Admin menu link with variable
- Meta_query question