Support

Home Forums Event Espresso Premium EE4 Calendar Won't Display

EE4 Calendar Won't Display

Posted: December 23, 2016 at 3:44 pm

Viewing 2 reply threads


Dave Renshaw

December 23, 2016 at 3:44 pm

I have a site theme that does active page builds vice standard WP pages.
The EE4 Grid view short code works fine (after excellent advice here) but when I replaced that with the short code for the calendar, the calendar will not display on the page.
Short code I used: [ESPRESSO_CALENDAR]

Any thoughts on how to get this to work?

The calendar works fine on standard pages but the page builder is used from the home page searches so it’s important to keep that function.


Josh

  • Support Staff

December 23, 2016 at 4:14 pm

Hi Dave,

You’re running into exactly the same problem as you did before with the Grid short code. So the solution will be very similar. Here’s another gist with some example code that you can add to your custom plugin:

https://gist.github.com/joshfeck/5d9c88fea504c0b111c3df8f24ad25d9

One note though, if the calendar is going onto a specific page, you can add a conditional in there
( with something like is_page('calendar') )
so the scripts only load on that page, instead of on all pages.


Dave Renshaw

December 23, 2016 at 6:10 pm

That did it! Thanks!

Viewing 2 reply threads

The support post ‘EE4 Calendar Won't 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