This repository has been archived on 2020-05-08. You can view files and clone it, but cannot push or open issues or pull requests.
2012-01-13 20:10:17 +00:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* The template for displaying search forms in _s
|
|
|
|
*
|
|
|
|
* @package _s
|
|
|
|
* @since _s 1.0
|
|
|
|
*/
|
|
|
|
?>
|
2012-02-16 17:19:39 +00:00
|
|
|
<form method="get" id="searchform" action="<?php echo esc_url( home_url( '/' ) ); ?>" role="search">
|
2012-01-13 20:10:17 +00:00
|
|
|
<label for="s" class="assistive-text"><?php _e( 'Search', '_s' ); ?></label>
|
2012-08-14 06:36:37 +00:00
|
|
|
<input type="text" class="field" name="s" value="<?php echo esc_attr( get_search_query() ); ?>" id="s" placeholder="<?php esc_attr_e( 'Search …', '_s' ); ?>" />
|
2012-01-13 20:10:17 +00:00
|
|
|
<input type="submit" class="submit" name="submit" id="searchsubmit" value="<?php esc_attr_e( 'Search', '_s' ); ?>" />
|
|
|
|
</form>
|