Created
January 29, 2014 14:33
-
-
Save ckpicker/8689212 to your computer and use it in GitHub Desktop.
The Events Calendar 3.4.1 // Disable AJAX paging on Calendar month view
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', 'sd_frontend_script_and_style', 100, 0 ); | |
function sd_frontend_script_and_style() { | |
if(tribe_is_month()) { | |
wp_dequeue_script( 'tribe-events-calendar' ); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment