mirror of
https://git.sindominio.net/estibadores/wordpress.git
synced 2024-11-23 02:51:06 +01:00
17 lines
721 B
PHP
17 lines
721 B
PHP
|
<?php
|
||
|
/**
|
||
|
* Template for displaying search form
|
||
|
*
|
||
|
* @package hero
|
||
|
*/
|
||
|
|
||
|
?>
|
||
|
|
||
|
<form role="search" method="get" class="searchform" action="<?php echo esc_url( home_url( '/' ) ); ?>">
|
||
|
<label>
|
||
|
<span class="screen-reader-text"><?php echo esc_html_x( 'Search for:', 'label', 'hero' ); ?></span>
|
||
|
<input type="search" class="search-field" placeholder="<?php echo esc_attr_x( 'Search …', 'placeholder', 'hero' ); ?>" value="<?php echo esc_attr( get_search_query() ); ?>" name="s" />
|
||
|
</label>
|
||
|
<button type="submit" class="search-submit btn search-btn"><span class="screen-reader-text"><?php echo esc_html_x( 'Search', 'submit button', 'hero' ); ?></span><i class="fa fa-search"></i></button>
|
||
|
</form>
|