Skip to content

Instantly share code, notes, and snippets.

@craigsimps craigsimps/functions.php
Last active Aug 29, 2015

Embed
What would you like to do?
Remove the screen reader text class from the search form. Genesis 2.2.
<?php
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
You can’t perform that action at this time.