Change default text in a Genesis Framework search box: http://rickrduncan.com/wordpress/customize-genesis-search-form
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 search form input box text of Genesis child themes | |
add_filter( 'genesis_search_text', 'b3m_genesis_search_text' ); | |
function b3m_genesis_search_text( $text ) { | |
return esc_attr( 'Search my blog...' ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment