Skip to content

Commit 9b3a618

Browse files
committed
Adding autofocus to search form template
1 parent d1db239 commit 9b3a618

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

themes/jquery/searchform.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
<label>
99
<span class="visuallyhidden">Search <?php bloginfo( 'name' ); ?></span>
1010
<input type="text" name="s" value="<?php echo get_search_query(); ?>"
11-
placeholder="Search <?php bloginfo( 'name' ); ?>">
11+
placeholder="Search <?php bloginfo( 'name' ); ?>" autofocus>
1212
</label>
1313
</form>

0 commit comments

Comments
 (0)