Support

Home Forums Events Calendar Add-on Events Calendar – CSS and JS not being enqueued with the widget and shortcode Reply To: Events Calendar – CSS and JS not being enqueued with the widget and shortcode

Reply To: Events Calendar – CSS and JS not being enqueued with the widget and shortcode

Author Replies
tbutcher # Posted on April 27, 2018 at 3:01 am

Never mind I’ve figured it out!

https://eventespresso.com/wiki/events-calendar-add-on/#ee4customizations

It’s literally in the docs, just pop this snippet in functions.php:

if ( class_exists( ‘EED_Espresso_Calendar’ ) ) {
global $is_espresso_calendar;
$is_espresso_calendar = TRUE;
add_action( ‘wp_enqueue_scripts’, array( EED_Espresso_Calendar::instance(), ‘calendar_scripts’ ) );
if ( EED_Espresso_Calendar::instance()->config()->tooltip->show ) {
add_filter(‘FHEE_load_qtip’, ‘__return_true’ );
}
}

Do NOT follow this link or you will be banned from the site!