Posted: 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 |
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/ |
|
|
I wasn’t using the divi page builder on this page actually. But adding the snippet did the trick. Thanks so much! |
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. |
|
|
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. |
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.
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)
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. |
|
|
Thanks appreciate all your help. |
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.