Skip to content

Instantly share code, notes, and snippets.

@JiveDig
Last active December 17, 2015 05:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JiveDig/5556759 to your computer and use it in GitHub Desktop.
Save JiveDig/5556759 to your computer and use it in GitHub Desktop.
<?php
// 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