Skip to content

Instantly share code, notes, and snippets.

@DigitalEssence
Created November 4, 2013 15:56
Show Gist options
  • Save DigitalEssence/7304704 to your computer and use it in GitHub Desktop.
Save DigitalEssence/7304704 to your computer and use it in GitHub Desktop.
Edit Genesis Search Box Text
<?php
//* Do NOT include the opening php tag above
/**
* Customize the default text inside of search box
*/
add_filter( 'genesis_search_text', 'custom_search_box_text' );
function custom_search_box_text( $text ) {
return esc_attr( 'Search our website...' );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment