wp_blog/wp-content/themes/worldwide-v1-01/searchform.php

15 lines
535 B
PHP
Raw Normal View History

2020-01-02 23:15:16 +07:00
<div class="gdl-search-form">
<form method="get" id="searchform" action="<?php echo home_url(); ?>/">
<?php
$search_val = get_search_query();
if( empty($search_val) ){
$search_val = __("Type keywords..." , "gdl_front_end");
}
?>
<div class="search-text" id="search-text">
<input type="text" value="<?php echo $search_val; ?>" name="s" id="s" autocomplete="off" data-default="<?php echo $search_val; ?>" />
</div>
<input type="submit" id="searchsubmit" value="" />
<div class="clear"></div>
</form>
</div>