Support

Home Forums Events Calendar Add-on Espresso Calendar Does Not Display

Espresso Calendar Does Not Display

Posted: May 20, 2013 at 10:58 am


Darren Leet

May 20, 2013 at 10:58 am

Currently, the event page with the Calendar shortcode does not display the calendar. The site is WP 3.5.1 with EE 3.1.32.2P installed.

I’ve read through the forum topics to understand it’s a Jquery load issue. This is proven by reverting to theme Twenty Twelve; the calendar displays. I’ve removed all current theme and plugin Jquery but for the scripts which load with Event Espresso and most of the CSS and the calendar still does not display.

The JS for the calendar is loading into the page, and the DIV where the JS should be placing the calendar is there. The Jquery base loading on the page is through:
<span class="start-tag">script</span> <span class="attribute-name">type</span>='<a class="attribute-value">text/javascript</a>' <span class="attribute-name">src</span>='http://www.site.com/wp-includes/js/jquery/jquery.js?ver=1.8.3'&gt;<span>&lt;/<span class="end-tag">script</span></span>
Is there something else I should be looking for to keep this conflict from happening?Thanks


Josh

  • Support Staff

May 20, 2013 at 11:30 am

It could be a number of things, does the theme you’re using have the the wp_footer() function in the footer.php template?

There’s a troubleshooting guide in the calendar documentation that may help:

https://eventespresso.com/wiki/calendar/#troubleshooting

If you need further help than what the documentation outlines, then please post a link to the page where you’re having issues and we can investigate further.


Darren Leet

May 20, 2013 at 11:56 am

The Calendar Wiki was helpful. I wrapped the shorcode in [raw] and that worked. I was wondering what all the <p> tags were doing inside the on page script for the calendar. Turns out they were doing nothing good.


Josh

  • Support Staff

May 20, 2013 at 3:43 pm

Hi Darren,

Yes, there are a lot of themes that have a popular code snippet that will (not the intent of the original author) end up adding br and p tags when there’s a new line in the code that gets passed through their custom content filter, which in this case breaks the calendar’s JavaScript.

If you’re interested in knowing more about this phenomenon, there’s information posted elsewhere:

http://pippinsplugins.com/never-remove-the-default-the_content-filters-in-themes/

http://theandystratton.com/2011/shortcode-autoformatting-html-with-paragraphs-and-line-breaks

The support post ‘Espresso Calendar Does Not Display’ 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