Below is the code to customize Genesis search form input box.
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 | |
//* Customize Genesis search form input box | |
add_filter('genesis_search_text', 'prefix_search_text'); | |
function prefix_search_text($text) { | |
return esc_attr('Search my blog...'); | |
} |