Project Description:
We have a Wordpress theme: Contempo "Real Estate 3"(http://themes.contempographicdesign.com/?theme=realestate3). We need to modify a little bit the original advanced search form. The search form only have select fields and we'd like to add checkboxes fields.
We have added ct_search_form_checkbox function in theme-functions.php. This works, visually, but when we try searching, it just fetches the first value, not all values checked. We have also tried to add “[]” in "name" attribut but it’s worse, it didn’t fetch any value at all, as a result, it displays all listings.
I enclosed the 2 template files :
- theme-functions.php : where we added the checkbox function line 810
- search-listing.php : file with search listing query (without modification yet)