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
|
|
|
|
*/
|
|
|
|
?>
|
2013-06-29 20:19:10 +00:00
|
|
|
<form role="search" method="get" class="search-form" action="<?php echo esc_url( home_url( '/' ) ); ?>">
|
|
|
|
<label>
|
|
|
|
<span class="screen-reader-text"><?php _ex( 'Search for:', 'label', '_s' ); ?></span>
|
|
|
|
<input type="search" class="search-field" placeholder="<?php echo esc_attr_x( 'Search …', 'placeholder', '_s' ); ?>" value="<?php echo esc_attr( get_search_query() ); ?>" name="s" title="<?php _ex( 'Search for:', 'label', '_s' ); ?>" />
|
|
|
|
</label>
|
2013-07-01 11:38:44 +00:00
|
|
|
<input type="submit" class="search-submit" value="<?php echo esc_attr_x( 'Search', 'submit button', '_s' ); ?>" />
|
2013-06-29 20:19:10 +00:00
|
|
|
</form>
|