Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
<?php
//* Do NOT include the opening php tag
//* Use dashicon for search button
//* http://melchoyce.github.io/dashicons/
add_filter( 'genesis_search_button_text', 'b3m_search_button_dashicon' );
function b3m_search_button_dashicon( $text ) {
return esc_attr( '&#xf179;' );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment