Last active
August 29, 2015 14:06
-
-
Save badah/c4ae46f347c5f3ef041f to your computer and use it in GitHub Desktop.
Wordpress: custom searchform
This file contains hidden or 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
<form role="search" method="get" class="searchform" id="searchform" action="<?php echo home_url( '/' ); ?>"> | |
<div><label class="screen-reader-text" for="s"><?php _e('Search for:', 'bonestheme') ?></label> | |
<input type="text" value="" placeholder="<?php _e( 'Search this site', 'bonestheme' )?>" name="s" id="s" /> | |
<input type="submit" id="searchsubmit" value="Submit" /> | |
</div> | |
</form> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment