Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: ddfbc09f88
Fetching contributors…

Cannot retrieve contributors at this time

20 lines (18 sloc) 0.772 kb
* Search Form Template
* The search form template displays the search form.
* @package Uridimmu
* @subpackage Template
<div class="search">
<form method="get" class="search-form" action="<?php echo trailingslashit( home_url() ); ?>">
<input class="search-text" type="text" name="s" value="<?php if ( is_search() ) echo esc_attr( get_search_query() ); else esc_attr_e( 'Search this site...', 'uridimmu' ); ?>" onfocus="if(this.value==this.defaultValue)this.value='';" onblur="if(this.value=='')this.value=this.defaultValue;" />
<input class="search-submit button" name="submit" type="submit" value="<?php esc_attr_e( 'Search', 'uridimmu' ); ?>" />
</form><!-- .search-form -->
</div><!-- .search -->
Jump to Line
Something went wrong with that request. Please try again.