mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-19 09:05:22 +01:00
15 lines
760 B
PHP
15 lines
760 B
PHP
|
<?php
|
||
|
/**
|
||
|
* The template for displaying search forms in Twenty Thirteen.
|
||
|
*
|
||
|
* @package WordPress
|
||
|
* @subpackage Twenty_Thirteen
|
||
|
* @since Twenty Thirteen 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', 'twentythirteen' ); ?></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', 'twentythirteen' ); ?>" />
|
||
|
<input type="submit" class="submit" name="submit" id="searchsubmit" value="<?php echo esc_attr_x( 'Search', 'submit button', 'twentythirteen' ); ?>" />
|
||
|
</form>
|