Support

Home Forums Events Calendar Add-on EE4 Calendar not working on events archive page using shortcode

EE4 Calendar not working on events archive page using shortcode

Posted: July 27, 2016 at 8:41 pm


Marketing NRA

July 27, 2016 at 8:41 pm

I’m trying to get the EE4 Calendar to show on the events page but it’s not displaying the calendar. I have the latest version of the EE4 plugin and EE4 Calendar plugin, using the latest version of WordPress.

I’m using a shortcode [ESPRESSO_CALENDAR] and this is working fine on a normal page. For the events page I’m using a custom template (archive-espresso_events.php) and using echo do_shortcode(‘[ESPRESSO_CALENDAR]’);

I also tried using a new install of WordPress with twentyfifteen with no luck. Any ideas on how I can get this to work?


Tony

  • Support Staff

July 28, 2016 at 4:58 am

Hi Jessie,

Have you added the code to load the calendar scripts when using the calendar shortcode within do_shortcode within your template?

We have some details on this in our documentation here:

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


Marketing NRA

July 28, 2016 at 6:04 am

Thank you for your help Tony. I missed the last instruction – couldn’t work out why the scripts weren’t loading. That worked!

The support post ‘EE4 Calendar not working on events archive page using shortcode’ 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