-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsearchform.php
18 lines (17 loc) · 968 Bytes
/
searchform.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php
/**
* Search form template used by `get_searchform()`.
* Used for the WordPress default search form if BU Search is not available.
*
* @package Responsive_Framework
*/
?><form id="quicksearch" action="<?php echo esc_url( home_url( '/' ) ); ?>" method="get">
<fieldset>
<legend class="screen-reader-text"><span><?php esc_html_e( 'Search', 'responsive-framework' ); ?></span></legend>
<label>
<span class="screen-reader-text">Search for:</span>
<input id="q" name="s" aria-label="<?php esc_attr_e( 'Search', 'responsive-framework' ); ?>" class="search-field" placeholder="<?php esc_attr_e( 'Search site…', 'responsive-framework' ); ?>" title="<?php esc_attr_e( 'Search for:', 'responsive-framework' ); ?>" type="text" value="<?php echo esc_attr( the_search_query() ); ?>">
</label>
<input type="submit" value="<?php esc_attr_e( 'Search', 'responsive-framework' ); ?>" name="do_search" class="button search-submit">
</fieldset>
</form>