Custom Search
-
Hello,
I’m trying to get 2 keyword search boxes so a user can search for a “Plumber” in “London”.
I have the code below which only lets one of the search boxes work:
<form role="search" method="get" id="searchform" action="<?php echo home_url('/'); ?>"> <input class="search-input" type="text" value="" name="s" id="s" placeholder="<?php esc_attr_e('Business Type, Name or Service', 'reverie'); ?>"> <input class="search-input" type="text" value="" name="s" id="s" placeholder="<?php esc_attr_e('City, Town or Village', 'reverie'); ?>"> <input type="submit" id="searchsubmit" value="<?php esc_attr_e('Search', 'reverie'); ?>" class="button postfix"> </form>
What am I missing?
Thanks
- The topic ‘Custom Search’ is closed to new replies.