Created
May 29, 2011 15:38
-
-
Save roose/997870 to your computer and use it in GitHub Desktop.
WordPress search form template
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
<form action="<?php bloginfo('url'); ?>" id="searchform" method="get"> | |
<div> | |
<input type="text" onblur="if (this.value == '') {this.value = 'Search';}" onfocus="if (this.value == 'Search') {this.value = '';}" id="s" name="s" value="Search"/> | |
<input type="submit" value="" id="ss"/> | |
</div> | |
</form> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment