Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Calendar Not Appearing | Event Espresso - Staging Server

Support

Home Forums Calendar Calendar Not Appearing

Calendar Not Appearing

Posted: January 4, 2013 at 11:28 am

Viewing 2 reply threads


Donna

January 4, 2013 at 11:28 am

Hello. I’m unable to get the calendar to display on a new page I’ve added to shortcode to.
I’ve tried disabling plugins, wrapping the shortcode in raw, making sure is in footer, trying this shortcode [ESPRESSO_CALENDAR show_expired=”false”].
Calendar should appear on this page; http://ncbase.org/hba/calendar/
Any help is appreciated.


Josh

January 4, 2013 at 11:54 am

Hi Donna,

In this case, it’s the older copy of jQuery that the theme is loading in the footer that is causing the issue. In the theme’s footer.php file, you’ll see something like this:

 <!-- Placed at the end of the document so the pages load faster -->
        <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>

This should be removed. WordPress has a function that will load the jQuery JavaScript library when needed, and the above code is interfering.

Here is the same page with the extra jQuery library removed:

http://jsfiddle.net/joshfeck/e7emH/embedded/result/

Since other scripts included with the theme will require the jQuery library and are likely not declaring this dependency correctly, you will likely need to add something like this to the theme’s header.php file just before the theme calls the wp_head() function. It will look like this:

<?php wp_enqueue_script("jquery"); ?>

<?php wp_head(); ?>

Please see this reference for more info:
http://digwp.com/2009/06/including-jquery-in-wordpress-the-right-way/


Donna

January 4, 2013 at 12:07 pm

that’s fantastic. Thanks very much Josh!

Viewing 2 reply threads

The support post ‘Calendar Not Appearing’ 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