Posted: September 18, 2024 at 3:48 am
[ESPRESSO_EVENTS] does not work when inserted on any newly created pages. Other short-codes from other plugins work okay. Important information: |
|
Hi there, Is I can’t see any output from that shortcode (even when its not working we would usually see with the shortcode output directly to the page or some additional wrapped elements within the page). I can see some output from |
|
Yes, that’s correct! My apologies. It’s not loading [ESPRESSO_CALENDAR] |
|
Ok, so as your using a page builder, EE can’t detect that the calendar shortcode is in use within that page so it’s not loading the asset for the calendar. The shortcode is working/parsing in the background but the JavaScript files to load the calendar aren’t loaded. To fix this and load the assets on the above page, add this snippet to your site: https://gist.github.com/Pebblo/c029293f6b048a1de2d42e19423c6d97 You can add that to a custom functions plugin on your site: https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/ |
|
Hi Tony, I’ve put the snippet in to the website but unfortunately it’s still not displaying, is there anything else you can suggest? |
|
The assets still still aren’t loading, where did you add that snippet? Change this line:
To be:
What happens then? |
|
I’ve uploaded it into our WPCODE plugin as a new PHP snippet. I’ve also tried it with the replacement code you gave and unfortunately it still isn’t loading. |
|
Hmm, strange. Can I take a look at this? I could be the WPCODE plugin is loading too late in the request to fix this so the code may need to be added within an actual hardcoded plugin rather than a plugin that loads snippets from the database. If you can send me WP-admin and FTP credentials I’ll take a look at this. You can send those over using this form: |
|
The support post ‘[ESPRESSO_EVENTS] short code not showing’ 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.