Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Change default text in a Genesis Framework search box: http://rickrduncan.com/wordpress/customize-genesis-search-form
<?php
//* 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