-
Notifications
You must be signed in to change notification settings - Fork 187
/
searchform.php
executable file
·17 lines (16 loc) · 865 Bytes
/
searchform.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?php
/**
* The template for displaying search forms in activello
*
* @package activello
*/
?>
<form role="search" method="get" class="form-search" action="<?php echo esc_url( home_url( '/' ) ); ?>">
<div class="input-group">
<label class="screen-reader-text" for="s"><?php _e( 'Search for:', 'activello' ); ?></label>
<input type="text" class="form-control search-query" placeholder="<?php echo esc_attr_x( 'Search…', 'placeholder', 'activello' ); ?>" value="<?php echo get_search_query(); ?>" name="s" title="<?php echo esc_attr_x( 'Search for:', 'label', 'activello' ); ?>" />
<span class="input-group-btn">
<button type="submit" class="btn btn-default" name="submit" id="searchsubmit" value="<?php echo _e( 'Search', 'activello' ); ?>"><?php echo esc_attr_x( 'Search', 'submit button', 'activello' ); ?></button>
</span>
</div>
</form>