-
Notifications
You must be signed in to change notification settings - Fork 0
/
searchform.php
27 lines (26 loc) · 985 Bytes
/
searchform.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?php
/**
* The template for displaying search form
*
* @category TacticalWP-Theme
* @package TacticalWP
* @author Tyler Kemme <[email protected]>
* @license MIT https://opensource.org/licenses/MIT
* @version 1.0.4
* @link https://github.com/tpkemme/tacticalwp-theme
* @since 1.0.0
*/
do_action('twp_before_searchform'); ?>
<form role="search" method="get" id="searchform" action="<?php echo home_url('/'); ?>">
<?php do_action('twp_searchform_top'); ?>
<div class="input-group">
<input type="text" class="input-group-field" value="" name="s" id="s" placeholder="<?php esc_attr_e('Search', 'twp'); ?>">
<?php do_action('twp_searchform_before_search_button'); ?>
<div class="input-group-button">
<input type="submit" id="searchsubmit" value="<?php esc_attr_e('Search', 'twp'); ?>" class="button">
</div>
</div>
<?php do_action('twp_searchform_after_search_button'); ?>
</form>
<?php
do_action('twp_after_searchform');