themotion-lemondropproductions/searchform.php

16 lines
713 B
PHP
Raw Normal View History

2017-01-09 15:11:45 -05:00
<?php
/**
* Search form.
*
* @package themotion
*/
?>
<form role="search" method="get" class="search-form search-toggle" action="<?php echo esc_url( home_url( '/' ) ); ?>">
<label>
<span class="screen-reader-text"><?php _ex( 'Search for:', 'label', 'themotion' ); ?></span>
<input type="search" class="search-field" placeholder="<?php echo esc_attr_x( 'Search &hellip;', 'placeholder', 'themotion' ); ?>" value="<?php echo esc_attr( get_search_query() ); ?>" name="s" title="<?php _ex( 'Search for:', 'label', 'themotion' ); ?>">
</label>
<input type="submit" class="search-submit" value="<?php echo esc_attr_x( 'Search', 'submit button', 'themotion' ); ?>">
<span class="search-quit"></span>
</form>