Skip to content

Instantly share code, notes, and snippets.

@aprakasa
Last active December 16, 2015 21:39
Show Gist options
  • Save aprakasa/5501800 to your computer and use it in GitHub Desktop.
Save aprakasa/5501800 to your computer and use it in GitHub Desktop.
Dequeue Default fontawesome styles from Widget Text Icon plugin
add_action( 'wp_enqueue_scripts', 'wti_dequeue_fontawesome_styles' );
/**
* Dequeue Default fontawesome styles from Widget Text Icon plugin
*
*/
function wti_dequeue_fontawesome_styles() {
if ( class_exists( 'Widget_Text_Icon' ) ) {
wp_dequeue_style( 'fontawesome' );
wp_dequeue_style( 'fontawesome-ie7' );
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment