If you only want to display the custom post types and not other types, then you should disable the “Search in posts” and “Search in pages” option on the general options panel and select the custom post types you want to use on the same panel. (“Search in custom post types” option)
You can also find more details about that in the documentation.
- This reply was modified 7 years, 11 months ago by Ernest Marcinko.
If you like my products, don't forget to rate them on codecanyon :)