Good Afternoon,
I’ve tried adding the calendar to a page using:
<?php echo do_shortcode(‘[ESPRESSO_CALENDAR]’); ?>
However, it shows up as just:
<div id=”espresso_calendar” class=”calendar_fullsize”></div>
<div style=”clear:both;” ></div>
<div id=”espresso_calendar_images” ></div>
inside the code and I can’t spot any JS errors in the console. Has anyone encountered this before?
Thanks Tony, that sorted it. I was planning on using the calendar on a jquery show hide, but it looks as though it displays the top part of the calendar.
Essentially the wrapper div which the calendar is contained in is hidden and then a jQuery(‘#eventsListView’).show(); is called but results in the chopped off calendar.
The load order of your scripts may be affecting this, where you’re hiding the div before the calendar is generated. You may be able to fix this by firing your custom script after the Ajax request is complete. Here’s a link to some documentation:
When you click the left and right button, it fires another ajax request. So if your code that hides the calendar runs before the initial ajax request, your calendar may not generate. I could be wrong though, so you may also need to also attach your custom code to a document ready event handler.
Viewing 6 reply threads
The support post ‘Calendar not showing 11’ 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.