I recently ran into a problem with the search form in the Avada theme, I was using the Advanced Custom Fields plugin to create a custom post type "Automotive". I also added some custom fields to this post type like "Make", "Model", "Year", etc. I've been able to get a lot of results from these "Car" posts on one page. Now, I have successfully extracted and displayed data from these "Cars" posts on a page. This part runs successfully.
However, I'm having a problem. I'd like to add an advanced search form to this page so that others can search for these "car" posts by custom fields (like by make or year).
My goal is for others to be able to filter through the search form and find the exact "Automotive" post that matches the criteria based on the values of the ACF fields such as "Brand", "Year", and so on.
- newest
- hottest
See only the author.