Support

Home Forums Events Calendar Add-on Calendar not displaying anymore

Calendar not displaying anymore

Posted: January 11, 2013 at 10:07 am


William Ashworth

January 11, 2013 at 10:07 am

This was working previously, but for some reason it’s not displaying from the shortcode anymore.

In the HTML tab we have this as a test right now:

Test

[RAW][ESPRESSO_CALENDAR][/RAW]

[ESPRESSO_CALENDAR]

[EVENT_LIST]

Doesn’t seem to be making a difference, though. An ideas why it would just break suddenly?

http://clackamasartsalliance.bdcads.com/calendar/


Josh

  • Support Staff

January 11, 2013 at 10:16 am

Hi William,

It looks like this code from the theme’s scripts.js is causing a JavaScript error on the page because it’s using the $ shorthand instead of jQuery.

$(function () {
    //Remove Empty </p></div> tags
    $('div.row-fluid p:empty').remove();

    $('div.row-fluid div:empty').remove();

    //Social Icons Open New Window
    $('.social_wrapper a').attr('target', '_blank');






});

This is the error:

Uncaught TypeError: Property '$' of object [object Window] is not a function

You can try changing the $ to jQuery, or wrap the function with a no conflict wrapper as detailed here:

http://digwp.com/2011/09/using-instead-of-jquery-in-wordpress/


William Ashworth

January 11, 2013 at 3:30 pm

Ah man, thank you! Looks like it’s back and working again.

The support post ‘Calendar not displaying anymore’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso