Created
March 12, 2018 10:51
-
-
Save anonymous/8d5a7d0ea84600bda0ca675e086a7709 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Search Form template. | |
* | |
*/ | |
?> | |
<form role="search" method="get" class="search-form" action="<?php echo esc_url( home_url('/') ); ?>"> | |
<label> | |
<span class="screen-reader-text"><?php echo esc_html__('Search for:','bizlight-pro'); ?></span> | |
<input type="search" class="search-field" placeholder="<?php esc_html_e( 'Search …', 'bizlight-pro' ); ?>" value="<?php echo get_search_query(); ?>" name="s"> | |
<input type="hidden" name="post_type" value="product"> | |
</label> | |
<input type="submit" class="search-submit" value="Search"> | |
</form> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment