Instantly share code, notes, and snippets.

Embed
What would you like to do?
New code to change Genesis admn menu icon
function add_my_custom_css() {
if ( is_admin() ) {
wp_enqueue_style( 'prefix-font-awesome', '//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css', array(), '4.0.3' );
wp_enqueue_style( 'functions', get_stylesheet_directory_uri()."/admin.css");
}
}
add_action( 'admin_enqueue_scripts', 'add_my_custom_css' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment