Created
May 10, 2017 20:38
-
-
Save MattRyanCo/961a7a2562cf270352f0f0476510d174 to your computer and use it in GitHub Desktop.
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
//* Customize search form input box text | |
//* Ref: https://my.studiopress.com/snippets/search-form/ | |
add_filter( 'genesis_search_text', 'sp_search_text' ); | |
function sp_search_text( $text ) { | |
// return esc_attr( 'Search my blog...' ); | |
return esc_attr( 'Seach ' . get_bloginfo( $show, 'display' )); | |
get_permalink(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment