Support

Home Forums Event Espresso Premium Calendar Short Code Not Working

Calendar Short Code Not Working

Posted: September 3, 2013 at 8:26 am

Viewing 7 reply threads


SBANE Webmaster

    September 3, 2013 at 8:26 am

    WordPress 3.1, EE 3.1.33.3, recent upgrade (one month ago)

    We recently noticed that the Events Calendar shortcode [ESPRESSO_CALENDAR] isn’t working on this page: http://sbane.knowarecms.net/sbane-events-calendar/. Note that the code was working up until a few weeks ago, but we can’t pinpoint what change may have caused it to stop functioning. There script behind the calendar is loading, and there aren’t any errors in the Firebug console to track.

    Thanks in advance for any help,
    Erik


    Josh

      September 3, 2013 at 3:02 pm

      Hi there,

      Has anyone edited the footer.php template file of your WordPress theme in the last few weeks? The reason I ask is there doesn’t appear to be any JavaScript being loaded before the closing body html tag other than analytics code. If you open up the theme’s footer.php template (or where ever the closing body tag is marked up) there needs to be a call to fire the wp_footer action.

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


      SBANE Webmaster

        September 3, 2013 at 4:45 pm

        Hi Josh,

        Thanks for the reply. The footer template hasn’t been changed recently, and the call to the wp_footer() function is in place, right before the closing </body> HTML tag.

        Could there be some other JS conflict?


        Dean

        • Support Staff

        September 4, 2013 at 3:21 am

        Hi

        Your theme is loading jQuery 1.7.0. The Calendar needs a minimum of 1.7.2 and really the theme should be letting WordPress load jQuery (current with WP 3.6 is jQuery 1.10)

        I would sort that and see if it resolves the problem, most likely it will.


        SBANE Webmaster

          September 12, 2013 at 2:20 pm

          I updated the plug-in that was loading jQuery to use version 1.7.2, but that didn’t resolve the issue. Please advise.


          Sidney Harrell

          • Support Staff

          September 12, 2013 at 8:40 pm

          Can you test to see if the calendar comes back with all non-EE plugins deactivated and switched to the default WP theme?


          SBANE Webmaster

            September 13, 2013 at 6:31 am

            I deactivated all non-EE plug-ins and switched to the default WP theme. However, the calendar still didn’t appear.


            Dean

            • Support Staff

            September 13, 2013 at 10:47 am

            Hi,

            Well the test site you linked to above still has Javascript errors http://d.pr/i/kLJd

            I am wondering if the whole thing is due to the mismatch in WordPress version and javascript? You are running WordPress 3.1 and of course loading jQuery above 1.7.2 perhaps updating WordPress will resolve the issue

            Viewing 7 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 - Staging Server