diff options
Diffstat (limited to 'searchform.php')
| -rw-r--r-- | searchform.php | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/searchform.php b/searchform.php new file mode 100644 index 0000000..dba8180 --- /dev/null +++ b/searchform.php @@ -0,0 +1,16 @@ +<?php +/** + * The template for displaying search forms in Underscores.me + * + * @package understrap + */ +?> + <form method="get" id="searchform" action="<?php echo esc_url( home_url( '/' ) ); ?>" role="search"> + <label for="s" class="assistive-text"><?php _e( 'Search', 'understrap' ); ?></label> + <div class="input-group"> + <input type="text" class="field form-control" name="s" id="s" placeholder="<?php esc_attr_e( 'Search …', 'understrap' ); ?>" /> + <span class="input-group-btn"> + <input type="submit" class="submit btn btn-primary" name="submit" id="searchsubmit" value="<?php esc_attr_e( 'Search', 'understrap' ); ?>" /> + </span> + </div> + </form> |
