Created
November 4, 2013 15:56
-
-
Save DigitalEssence/7304704 to your computer and use it in GitHub Desktop.
Edit Genesis Search Box Text
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 | |
//* Do NOT include the opening php tag above | |
/** | |
* Customize the default text inside of search box | |
*/ | |
add_filter( 'genesis_search_text', 'custom_search_box_text' ); | |
function custom_search_box_text( $text ) { | |
return esc_attr( 'Search our website...' ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment