-
-
Save smchenrybc/6f835d159fe2d5885516eb56b68f8bc1 to your computer and use it in GitHub Desktop.
The Events Calendar // Dequeue Styles
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
function dequeue_tribe_styles() { | |
// Dequeue events calendar stylesheets | |
wp_dequeue_style( 'tribe-events-full-calendar-style' ); | |
wp_dequeue_style( 'tribe-events-calendar-style' ); | |
wp_dequeue_style( 'tribe-events-calendar-full-mobile-style' ); | |
wp_dequeue_style( 'tribe-events-calendar-mobile-style' ); | |
wp_dequeue_style( 'tribe-events-full-pro-calendar-style' ); | |
wp_dequeue_style( 'tribe-events-calendar-pro-style' ); | |
wp_dequeue_style( 'tribe-events-calendar-full-pro-mobile-style' ); | |
wp_dequeue_style( 'tribe-events-calendar-pro-mobile-style' ); | |
} | |
add_action( 'wp_enqueue_scripts', 'dequeue_tribe_styles', 100 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment