-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsearchform-news.php
29 lines (27 loc) · 983 Bytes
/
searchform-news.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
28
29
<?php
/**
* *PHP version 8.0
*
* Search News | core/searchform-news.php.
*
* @category Search_Form_News
* @package Clashvibes
* @subpackage Search_Form_News
* @author Raymond Thompson <ray_thomp@hushmail.com>
* @copyright 2017 Raymond Thompson
* @license http://www.gnu.org/licenses/gpl-3.0.en.html GPLv3
* @version GIT: https://github.com/raythompsonwebdev/clashvibes .git
* @link http:www.raythompsonwebdev.co.uk custom template
*/
?>
<form method="get" class="search-form" action="<?php echo esc_url(home_url('/')); ?>">
<div>
<label>
<span class="screen-reader-text">
<?php esc_html_e('Search', 'clashvibes'); ?>
</span>
<input type="search" class="search-field" value="<?php echo get_search_query(); ?>" name="s" title="<?php echo esc_attr__('Search', 'clashvibes'); ?>" />
</label>
<input type="submit" class="search-submit" value="Find" />
</div>
</form>