Support

Home Forums Events Calendar Add-on Calendar Shortcode not working

Calendar Shortcode not working

Posted: February 2, 2018 at 6:47 pm


creativeescapesstudio

February 2, 2018 at 6:47 pm

Just setting up the calendar addon and the shortcode is not working. I installed latest version of both (new installation) The event shortcodes work but not the calendar.

The link is

https://www.creativeescapesstudio.com/calendar/


Tony

  • Support Staff

February 5, 2018 at 3:33 am

Hi there,

The problem is none of the calendar’s assets are loading on that page.

Are you using Divi’s page builder to add the shrotcode to the page? If yes, try adding the shortcode to the standard WP editor.

Or you can add this snippet to your site:

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

You can add that to a custom functions plugin on your site:

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


creativeescapesstudio

February 5, 2018 at 8:03 am

I wasn’t using the divi page builder on this page actually. But adding the snippet did the trick. Thanks so much!


Tony

  • Support Staff

February 5, 2018 at 9:19 am

I’m glad that worked, but can I ask, how are you building out the page if not using the builder?

I’m curious as to why the shortcode tracking wasn’t working with your setup.


creativeescapesstudio

February 5, 2018 at 11:21 am

First, I wasn’t using it on the page, just inserted the shortcode. After adding the snippet, I tested it while using the builder and it worked as well. Not sure why it wasn’t working before, even disabled all the plugins, switched themes and nothing. So it wasn’t even the divi theme or any of the plugins.


Tony

  • Support Staff

February 5, 2018 at 3:01 pm

First, I wasn’t using it on the page, just inserted the shortcode.

The shortcode? So it was just added directly within the WP Editor… it’s odd that that didn’t just work out the box then.

After adding the snippet, I tested it while using the builder and it worked as well.

It will as the above snippet set the calendar scripts to load everywhere, they just need the elements on the page that the JS targets (which the shortcode adds for you)

Not sure why it wasn’t working before, even disabled all the plugins, switched themes and nothing.

Yeah if something has prevented the shortcode tracking from registering the shortcode in use, disabling plugins and switching the theme may not work.

I have a copy of Divi, so will do some digging into this and see if I can reproduce.


creativeescapesstudio

February 5, 2018 at 9:23 pm

Thanks appreciate all your help.

You must be logged in to reply to this support post. Sign In or Register for an Account

Support forum for the Events Calendar add-on.
Documentation for Events Calendar add-on and EE4 Events Calendar add-on
http://eventespresso.com/wiki/events-calendar-add-on/

Status: publish

Updated by  creativeescapesstudio 1 week, 6 days ago ago

Topic Tags

Notifications

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