Support

Home Forums Events Calendar Add-on Calendar Shortcode not working (4)

Calendar Shortcode not working (4)

Posted: February 2, 2018 at 6:47 pm

Viewing 6 reply threads


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:

https://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.

Viewing 6 reply threads

The support post ‘Calendar Shortcode not working (4)’ 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