-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathsearchform.php
More file actions
20 lines (20 loc) · 837 Bytes
/
searchform.php
File metadata and controls
20 lines (20 loc) · 837 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php
/**
* The template for displaying search forms
*
* @package WordPress
* @subpackage Binary_Bootstrap
* @since Binary Bootstrap 1.0
*/
?>
<form role="search" method="get" class="search-form" action="<?php echo esc_url( home_url( '/' ) ); ?>">
<div class="input-group">
<label>
<span class="screen-reader-text"><?php echo _x( 'Search for:', 'binarybootstrap' ); ?></span>
</label>
<input type="search" class="search-field form-control" placeholder="<?php echo esc_attr_x( 'Search …', 'binarybootstrap' ); ?>" value="<?php echo get_search_query(); ?>" name="s" title="<?php echo _x( 'Search for:', 'binarybootstrap' ); ?>">
<span class="input-group-btn">
<button type="submit" class="search-submit btn btn-default"><?php echo esc_attr_x( 'Search', 'binarybootstrap' ); ?></button>
</span>
</div>
</form>