just created a child theme using december 2015 as a base in “home.php” trying to change the location search from city to state. tried changing <?php echo $CORE->CUSTOMFIELD_LIST(‘map-city’); ?></select> to <?php echo $CORE->CUSTOMFIELD_LIST(‘map-state’); ?></select>
and changing <select name=”city1″ class=”form-control f2″ to <select name=”state1″ class=”form-control f2″ (returns no search result) and then <select name=”map-state” class=”form-control f2″ (which returns all listings regardless of location)
how to i get the search to just work properly ????? urgently
You should try to replicate exact advanced search fields when you are customizing this search in home.php file. Create advanced search with fields which you would like to use and than make sure you include all of them as part of the form. For example, state search would be URL like this:
so try with name=”map-state1–2″ and also attach advanced_search=yes, you can put it as hidden form field
hello attached is a sample of the code. could you show me where to put the advanced search field ??
Try with this code: https://pastebin.com/yxuDMrX4
thank you very much works a treat 🙂
You are welcome 😉
@ Zarko, thanks for this. Resolved my own search issue as well. Good thing I stumbled across this :).
Thanks for updating Bryan 🙂
Start your new website today!