Posted: October 6, 2014 at 6:25 am
I have this plugin installed on http://citydealsnetworkfl.com/naples/ 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”] Please help. |
|
|
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. |
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/ |
|
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? |
|
|
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? |
@Tony Warwick I add it in custom HTML code block but have tried as text only and it still didn’t work. Theme is calling op_footer. I’ve added <?php wp_footer(); ?> just before closing of the body tag but no luck. |
|
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 — |
|
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. |
|
Are you seeing wp_footer() in any of those files? http://codex.wordpress.org/Function_Reference/wp_footer — |
|
No, I’ve placed the <?php wp_footer(); ?> code in all of footer.php files but nothing happened. |
|
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: 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. — |
|
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.