Reply To: Not acting as default search

#645

Participant

OK. So I have read up a little enough to figure out that this is the relevant section of code. However, my clumsy edits have not worked. Any pointers would be appreciated.

<!– search –>
<?php if ( empty( $data[‘head_show_search’] ) || ( !empty($data[‘head_show_search’]) && $data[‘head_show_search’] == ‘yes’) ) { ?>
<div id=”search”>
<span class=”icon-search icon-white”></span>
<div class=”search”>
<form id=”searchform” action=”<?php echo home_url(); ?>” method=”get”>
<input name=”s” maxlength=”20″ class=”inputbox” type=”text” size=”20″ value=”<?php echo __( ‘SEARCH …’, THEMENAME );?>” onblur=”if (this.value==”) this.value='<?php echo __( ‘SEARCH …’, THEMENAME );?>’;” onfocus=”if (this.value=='<?php echo __( ‘SEARCH …’, THEMENAME );?>’) this.value=”;” />
<input type=”submit” id=”searchsubmit” value=”go” class=”icon-search”/>
</form>
</div>
</div>
<!– end search –>