Creating a search form for custom fields
I have built a theme for a car dealership. Each car is a custom post type (“vehicle”), and has about 12 custom fields with things such as Make, Model, Mileage, Fuel Type etc. etc.
So basically on the home page I want a search form which has drop down lists for Make & Model and contains any available Makes or Models.
I also want it to have 2 options for Year, so the end user can select “2006” and “2012” and the search results contain all vehicles with the year between those two numbers.
Is there a plugin out there that can do this??
Thankyou for any help.. this has been driving me crazy for hours!!!!
Leave an answer