Skip to content

Instantly share code, notes, and snippets.

@ckpicker
Created January 29, 2014 14:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ckpicker/8689212 to your computer and use it in GitHub Desktop.
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
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