mirror of
https://github.com/WordPress/WordPress.git
synced 2024-08-25 15:22:53 +02:00
props matt, joen, obenland, lancewillett. see #23504 git-svn-id: http://core.svn.wordpress.org/trunk@23452 1a063a9b-81f0-0310-95a4-ce76da25c4cd
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>
|