Customize the Search Form text
[php]add_filter('genesis_search_text', 'be_custom_search_text');
function be_custom_search_text($text) {
return esc_attr('Search');
}[/php]
Customize the Search Button text
[php]add_filter('genesis_search_button_text', 'be_custom_search_button_text');
function be_custom_search_button_text($text) {
return esc_attr('');
}[/php]
Daniel Fiege says
If I wanted to pass an image in instead of text for the Search button, would I use $image as an argument and <img src="…. for the esc_attr?
Travis Smith says
For an image, just use CSS. But if you are doing something dynamic on this for whatever reason, then you want to filter `genesis_search_form`.