mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-06 10:50:56 +01:00
d1d3076d5a
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>
|