Search Form
<?php
//* Do NOT include the opening php tag shown above. Copy the code shown below.
<!-- Below is the code to customize the search form input box: -->
//* Customize search form input box text
add_filter( 'genesis_search_text', 'sp_search_text' );
function sp_search_text( $text ) {
return esc_attr( 'Search my blog...' );
}
<!-- Below is the code to customize the search form input button: -->
//* Customize search form input button text
add_filter( 'genesis_search_button_text', 'sp_search_button_text' );
function sp_search_button_text( $text ) {
return esc_attr( 'Go' );
}
<!-- Below is the code to customize the search form label: -->
//* Customize search form label
add_filter( 'genesis_search_form_label', 'sp_search_form_label' );
function sp_search_form_label ( $text ) {
return esc_attr( 'Custom Label' );
}