Skip to content

Instantly share code, notes, and snippets.

Last active August 29, 2015 14:27
What would you like to do?
Remove the screen reader text class from the search form. Genesis 2.2.
add_filter( 'genesis_search_form', 'prefix_unhide_search_label' );
function prefix_unhide_search_label( $markup ) {
return str_replace( ' screen-reader-text', '', $markup );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment