Is it possible to take a user input from a search form, use that to search a custom post type via the
WP_Query class and then redirect the user to a page template to display the results?
Assume you have a search input that takes
zip You then enter in California, next that input is then captured and the WP_Query is used to then search custom post type "Locations". It finds 4 locations matching, you are then redirected to page "Locations" which then displayed all 4 locations.
How would you do this?
Note: This is not a home work assignment, this a client feature. Yes there are plugins but due to how this is customized and how they want it laid out, it has to be built from the ground up.