Created
May 11, 2017 01:58
-
-
Save MattRyanCo/14a6dbcbb3c5b28fa90df01243a0a494 to your computer and use it in GitHub Desktop.
remove plugin installed stylesheets in genesis
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
add_action( 'wp_enqueue_scripts', 'sk_disable_simple_social_icons_styles', 11 ); | |
function sk_disable_simple_social_icons_styles() { | |
if ( class_exists( 'Simple_Social_Icons_Widget' ) ) { | |
/** Dequeue icon styles */ | |
wp_dequeue_style( 'simple-social-icons-font'); | |
} | |
} | |
// ref: https://wordpress.org/support/topic/removing-plugins-css/?replies=1#post-4992189 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment