Support

Home Forums Events Calendar Add-on Calendar Not Displaying (11)

Calendar Not Displaying (11)

Posted: October 16, 2020 at 7:04 pm


lifeforcearts

October 16, 2020 at 7:04 pm

I am just getting started. I have loaded a couple of sample events and placed the calendar shortcode directly into a wordpress page using the shortcode widget. But the calendar is not showing. you can view my page here: https://www.lifeforcearts.org/newsite/calendar/

I’ve disabled my theme back to Twenty Twenty as well but the calendar still not showing


Tony

  • Support Staff

October 19, 2020 at 5:27 am

Hi there,

Apologies but I don’t follow this ‘directly into the wordpress page using a shortcode widget’, can you explain how you are adding the shortcode?

It looks like none of the calendar scripts are loading on the page, which is common with page builders and you can fix it using a snippet like this:

https://gist.github.com/joshfeck/bca903a5db194f5620462032b92e445c

That snippet tells EE to load the calendar scripts on specific pages, for your current setup you can remove lines 7 – 9.

Add that to a custom functions plugin on the site, we have some documentation on creating one here:

https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/

With the above in place, does the calendar then load?


lifeforcearts

October 19, 2020 at 3:26 pm

Thanks Tony – to clarify, I had placed the shortcode into a basic wordpress page, no page builder used at all, using a shortcode block. I also tried a text block.

I will try creating the function and will get back to you.


lifeforcearts

October 19, 2020 at 4:17 pm

The function worked! The calendar is now displaying. Thanks for your help!


Tony

  • Support Staff

October 19, 2020 at 4:19 pm

Great, thanks for the update and I’m glad it worked.

Any more issues just let us know.

The support post ‘Calendar Not Displaying (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.

Status: closed

Updated by  Tony 3 months, 1 week ago ago

Topic Tags

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!