Skip to content

Instantly share code, notes, and snippets.

@aryaprakasa aryaprakasa/gist:5501800
Last active Dec 16, 2015

Embed
What would you like to do?
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
You can’t perform that action at this time.