Custom post types are not included in the WordPress search results by default - this snippet allows specific custom post types to be queried and searched by WordPress.
This WordPress snippet will automatically include all public post types, that have not been excluded from searches in your search results.
This snippet will allow you to control which WordPress posts or pages there should be excluded from WordPress search results.
Here is how to exclude a custom post type from the WordPress search results.
This snippet will show you how to extend the WordPress search function to include custom post meta.
Adding this snippet to the functions.php of your wordpress theme will add the search form to your wordpress wp_nav_menu. Don’t forget to update the MENU-NAME to specify the menu you wish to display within, just in case you have multiple menus.