Support

Home Forums Event Espresso Premium Calendar Short Code not working

Calendar Short Code not working

Posted: October 6, 2014 at 6:25 am

Viewing 10 reply threads


Ruth Kuttler

October 6, 2014 at 6:25 am

I have this plugin installed on http://citydealsnetworkfl.com/naples/
the site is using the theme OptimizePress 2.0.

when i put the calendar short code in pages, i either get a 404 error and when i insert it as an element within a page, i get nothing. I have tried [ESPRESSO_EVENTS] on http://citydealsnetworkfl.com/naples/events/ (I get a 404)

and this short code [ESPRESSO_CALENDAR cal_view=”month”]
on the main page http://citydealsnetworkfl.com/naples/ (I get nothing)

Please help.


Dean

October 6, 2014 at 6:41 am

Hi Ruth,

http://citydealsnetworkfl.com/naples/events/ for the main events looks fine to me. You may want to “flush” your permalinks (Settings > Permalink > just press the save button) and clear your browser and/or site cache.

Regarding the calendar, it looks like the scripts aren’t loading for some reason.

Can you test this with other plugins disabled and also on a default theme (Them Test Drive is a good plugin to use to test a theme change).

Your site is also running two copies of jQuery Masonry and 2 copies of jQuery UI, which *might* also be a contributing factor.


Ruth Kuttler

October 10, 2014 at 3:19 am

I’ve tested with every other plugin disabled and no luck. Only way it was working was with default wordpress themes.

Console did show this error: “Uncaught ReferenceError: eeCAL is not defined”. Currently that error doesn’t show up but neither does the calendar. Page i’m talking about is http://citydealsnetworkfl.com/naples/


Tony

  • Support Staff

October 10, 2014 at 4:45 am

Hi Ruth,

I think it is OptiPress causing this rather than other plugins, I’ve seen OptiPress cause some strange issues with shortcodes.

How are you adding the [ESPRESSO_CALENDAR] shortcode to the page currently?


Dean

October 10, 2014 at 4:48 am

Hi,

“Only way it was working was with default wordpress themes.” So the theme is causing the issue.

I ran a test with a version of OptimizePress that I have (an older version) and it didn’t seem to interfere with EE.

It could be that the theme or template is not calling wp_footer(), which is required by EE to load the scripts.

OptimizePress is hard to navigate but can you see if that function is being called in the footer.php file?


Ruth Kuttler

October 10, 2014 at 9:23 am

@Tony Warwick

I add it in custom HTML code block but have tried as text only and it still didn’t work.


@Dean

Theme is calling op_footer. I’ve added <?php wp_footer(); ?> just before closing of the body tag but no luck.


Lorenzo Orlando Caum

  • Support Staff

October 10, 2014 at 10:45 am

Hi,

wp_footer() is usually added to a footer.php file:

http://codex.wordpress.org/Function_Reference/wp_footer

I have not used OptimizePress before. Are you on the latest version and does it have a footer.php file in the location below?

wp-content/themes/OptimizePress


Lorenzo


Ruth Kuttler

October 13, 2014 at 4:03 am

Hi Lorenzo,

Yes, i’m on the latest version of OptimizePress. Under wp-content/themes/OptimizePress there is a footer.php file and the only content in it is “<?php op_theme_file(‘footer’) ?>”.

Then under OptimizePress/themes/theme-folder there are footer.php files which are calling aforementioned op_footer function.


Lorenzo Orlando Caum

  • Support Staff

October 13, 2014 at 1:52 pm

Are you seeing wp_footer() in any of those files?

http://codex.wordpress.org/Function_Reference/wp_footer


Lorenzo


Ruth Kuttler

October 14, 2014 at 3:16 am

No,

I’ve placed the <?php wp_footer(); ?> code in all of footer.php files but nothing happened.


Lorenzo Orlando Caum

  • Support Staff

October 14, 2014 at 8:15 am

Hi there,

Could you please create a temporary WordPress admin login so we can take a closer look at this issue?

Please share that temporary login through the secure link below:

https://eventespresso.com/send-login-details/

To prevent delays in troubleshooting, be sure to double check your information on the form before submitting.

The submit button for the form appears at the end of the form.

Again, please ensure that the temporary login works.

Thank you.


Lorenzo

Viewing 10 reply threads

The support post ‘Calendar Short Code not working’ 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