Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Change default text in a Genesis Framework search box:
//* Do NOT include the opening php tag above
//* Customize search form input box text of Genesis child themes
add_filter( 'genesis_search_text', 'b3m_genesis_search_text' );
function b3m_genesis_search_text( $text ) {
return esc_attr( 'Search my blog...' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.