Skip to content

Instantly share code, notes, and snippets.

Coffee is for Committers!

Joseph Dickson josephdickson

Coffee is for Committers!
Block or report user

Report or block josephdickson

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View DequeueGoogleMapsAPIforECP.php
* Unregisters the Google Maps API script on Events Calendar PRO.
add_action( 'wp_print_scripts', 'ecp_remove_google_maps_api', 100 );
function ecp_remove_google_maps_api() {
wp_deregister_script( 'tribe-gmaps' );
jo-snips / events-conditional-wrappers.php
Last active Oct 23, 2019
The Events Calendar: Basic Conditional Wrappers
View events-conditional-wrappers.php
/* Conditional Logic to Detect Various Event Related Views/Pages
if( tribe_is_month() && !is_tax() ) { // Month View Page
echo 'were on the month view page';
} elseif( tribe_is_month() && is_tax() ) { // Month View Category Page
You can’t perform that action at this time.