Hello. I am looking to see if there is some PHP snippet or other method to be able to add to my template page for a custom_post_type that will allow search of ONLY that custom_post_type.
So if I have a custom post type called “movies”. I want to add a search bar within that template that will only display results on said page of movies and not another post type such as “posts” or “pages”.
Thank you in advance,