Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Customize the search form on your site using the Genesis Framework.
//* Do NOT include the opening php tag
//* Customize search form input box text
add_filter( 'genesis_search_text', 'custom_search_text' );
function custom_search_text($text) {
return esc_attr( 'Search my blog...' );
//* Customize search form input button text
add_filter( 'genesis_search_button_text', 'custom_search_button_text' );
function custom_search_button_text($text) {
return esc_attr( 'Go' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment