Whether to exclude posts with this post type from frontend search results.
- Click on Meta Box in the WordPress admin sidebar.
- Click on post types.
- Hover the post type you want to change and click edit.
- Click on advanced.
- Locate the Exclude From Search option and enable or disable it.
- click update.