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
January 11, 2013 at 10:16 am
Add New Note to this Reply
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
Add New Note to this Reply
Ah man, thank you! Looks like it’s back and working again.