Created
January 27, 2022 04:55
-
-
Save jhimross/0bfa2a6bd8c3be591a92c893b0e4d6d3 to your computer and use it in GitHub Desktop.
WooThumbs - Fix Flatsome Flickity Conflict
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
/** | |
*Iconic Attributes Swatches - dequeue flickity JS and CSS | |
*/ | |
function iconic_was_dequeue_flickity(){ | |
wp_dequeue_style( 'flickity' ); | |
wp_dequeue_script( 'flickity' ); | |
} | |
add_action( 'wp_enqueue_scripts','iconic_was_dequeue_flickity', 11); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment