Created
June 11, 2014 17:34
-
-
Save ajmorris/1ad7f0dd3d40b952436c to your computer and use it in GitHub Desktop.
Sample Search form
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 method="get" id="searchform" action="<?php bloginfo('url'); ?>/"> | |
<label class="hidden" for="s"><?php _e('Search:'); ?></label> | |
<input class="search-field" type="text" value="<?php the_search_query(); ?>" name="s" id="s" /> | |
<input class="search-button primary medium" type="submit" id="searchsubmit" value="GO" /> | |
</form> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment