forked from bootscore/bootscore
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsearchform.php
More file actions
22 lines (16 loc) · 826 Bytes
/
Copy pathsearchform.php
File metadata and controls
22 lines (16 loc) · 826 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php
/**
* Template to show classic searchform widget
*
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
*
* @package Bootscore
* @version 6.1.0
*/
// Exit if accessed directly
defined('ABSPATH') || exit;
?>
<form class="searchform input-group" method="get" action="<?= esc_url(home_url('/')); ?>" role="search">
<input type="text" name="s" class="form-control" placeholder="<?php _e('Search', 'bootscore'); ?>">
<button type="submit" class="input-group-text <?= apply_filters('bootscore/class/widget/search/button', 'btn btn-outline-secondary'); ?>" aria-label="<?php esc_attr_e( 'Submit search', 'bootscore' ); ?>"><?= apply_filters('bootscore/icon/search', '<i class="fa-solid fa-magnifying-glass"></i>'); ?> <span class="visually-hidden-focusable">Search</span></button>
</form>