forked from mirror/_s
14 lines
650 B
PHP
14 lines
650 B
PHP
<?php
|
|
/**
|
|
* The template for displaying search forms in _s
|
|
*
|
|
* @package _s
|
|
* @since _s 1.0
|
|
*/
|
|
?>
|
|
<form method="get" id="searchform" class="searchform" action="<?php echo esc_url( home_url( '/' ) ); ?>" role="search">
|
|
<label for="s" class="assistive-text"><?php _ex( 'Search', 'assistive text', '_s' ); ?></label>
|
|
<input type="search" class="field" name="s" value="<?php echo esc_attr( get_search_query() ); ?>" id="s" placeholder="<?php echo esc_attr_x( 'Search …', 'placeholder', '_s' ); ?>" />
|
|
<input type="submit" class="submit" id="searchsubmit" value="<?php echo esc_attr_x( 'Search', 'submit button', '_s' ); ?>" />
|
|
</form>
|