Remove the screen reader text class from the search form. Genesis 2.2.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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