If you don’t want to search custom post types at all, you can add
'exclude_from_search' => true
to your registration args.
Related Posts:
- Ideas on how to organize a project [closed]
- CPT, meta-data, url parameter
- How to Display Content from Search URLs on Permanent URLs in WordPress?
- What to and how to proceed with CPT to make DB small and efficient?
- Need help with permalink rewrites for Custom Post Types with hierarchical relationships
- Custom Post Type Permalink empty
- Pretty URL for custom search for custom post type
- Custom Permalinks with CPT and Hierarchical Taxonomies
- Add post location with mile radius allowing search
- Include custom post type content in search
- Change custom post type permalink to show name of post from another custom post type?
- Custom Post Type Permalink
- Get post count for search result based on post type
- Permalinks for custom post type
- How to have this permalink structure: post_type/postname/custom_inner_page
- Additional section in custom post type permalink
- Auto Complete Search
- How to include term custom meta into the custom taxonomy term permalink structure
- Blog posts for custom post type only
- search suggest – filter post type
- Path to custom post type
- Custom Permalink Structure for Custom Post Type, Custom Taxonomy, Under a page
- Searching Custom Post Types
- Custom taxonomy returns 404
- Parent Page and Breadcrumb URL’s for Custom Post Types Not Working
- Permalinks: custom post type -> custom taxonomy -> post
- How do i search authors from search form using author’s name
- Custom post type archive pagination 404
- CPT’s with landing page instead of archive – Url Rewrite?
- How to change permalink to include custom post type
- Removing Custom Permalink Structure for Custom Post Type
- Custom post type, permalinks, taxonomies and blog posts
- Custom post type permalink tag 404
- Custom post type permalink returns 404
- Remotely search WordPress sites using xml-rpc
- Use the same date-based permalink structure for all post types
- Permalink structure with custom taxonomies and custom post type like /parent-tax/child-tax/custom-post-type-name (with no base name)
- permalink /category/post-name with custom post type and taxonomy
- “Post name” permalink returns home page for custom posts
- Custom post type and taxonomy permalinks
- Hierarchical permalinks for custom post type and taxonomy
- How to organize hierarchical structure in custom post type with taxonomy (like with categories)
- Make custom post types and pages place nice, re: rewrite
- Custom Post Fields at the beginning of a Custom Permalink
- Flush Rewrite Rules when new site is created on network
- BBPress Search results in WordPress search
- Pretty URLs and custom post types
- Form action doesn’t work if slug isn’t same as custom post title
- How to make permalink structure %category%/%postname%/ work for custom post type?
- Limit Search to Post Type With Apostrophe return search not found
- set permalink for CPT
- Search filter triggered & sort by custom post type
- Ignoring slug capitalization on rewrite rule for custom post type archive page
- Set Custom Post Type in Widget Settings for use in Widget
- Lost of query parameter when using permalink
- Custom permalinks rules don’t match and lost of query var in the process
- Custom Post Type – Duplicate Page Slugs
- Displaying and searching Custom Posts
- Search by tag name and category
- Searching Custom Fields
- Advanced search form with filters for custom taxonomies
- dropdowboxes with pre-selected custom fields optios that filters the results according seach needs
- Rewrite rule for Custom post type Monthly and Yearly archive
- filter search custom field query
- How to let users choose where to search for posts?
- menu link to custom post_type?
- Custom permalink with child taxonomy terms
- WordPress Custom Search by post_type
- Custom post type Permalinks with hierarchical Taxonomies
- Include custom taxonomy term in search
- 404 in custom post type feed with mistake permalink
- Add a permalink variable onto custom post type URL after post name slug
- What content types are shown at a search page?
- Can NOT search my custom post type?
- Remove permalink for custom post type
- Permalink misbehaving in Custom Post Types
- Check post on publish for blank title
- Search one custom post type ONLY, disable “all posts”
- How to solve this custom post type goes to 404 page?
- Best way to specify “article type” in URL
- Template files for Custom Post Type and Taxonomy
- How to Create Template File for Parent Page of Custom Post Type
- How do you create %post_type%/%postname%/ permalink structure?
- Problems with 404, .htaccess, permalinks and WordPress custom posts locally on Snow Leopard
- Changed permalink structure of CPT – should I redirect?
- Custom post_type search pages
- How to query 2 custom post types that need to share a slug?
- Pagination Error : Duplicate argument being outputted
- WordPress search and date filter not working with custom post type
- I’m having trouble getting the permalink sample on my custom post type edit page to work
- How to change path for default WordPress blog posts?
- Custom Empty Results page for my Custom Post Type
- How to hyperlink content from archive page with custom post-type
- Can’t use pagination with custom taxonomy
- retrieve permalinks of posts inside custom post type by using post ID
- Custom Permalinks with meta value not working. Why?
- Custom post type as child of page
- Remove custom permalink structure from custom post type without modifying register_post_type() directly
- How to have permalink like domain.com/term/postname?
- Can variables be used to rewrite a Custom Post Type permalink? [duplicate]