I am using a custom designed and coded theme. The calendar is not showing up on the page when I am using my custom theme. When I switch to a theme built into wordpress like 2011, then the calendar shows up on the page. Any help to fix this issue would be greatly appreciated. I have already resolved the JQuery known bug.
Your custom theme is not coded correctly to allow scripts to load. It’s missing the standard WordPress functions that allow plugins to load their scripts. That’s why it works with the other themes, and not your theme.
First, please remove this code from where ever you added it, it’s not helping:
if (!is_admin()) add_action("wp_enqueue_scripts", "my_jquery_enqueue", 11);
function my_jquery_enqueue() {
wp_register_script('jquery';
wp_enqueue_script('jquery');
}
Then, in the header.php file, you’ll need to add this code:
wp_head();
Please see this example for where and how it should be added:
If you do not have a header.php file or footer.php file, please post the contents of your theme’s main template file to a github gist or a pastebin at pastebin.com, and link to it here and we can show you where to add the necessary code.
Viewing 3 reply threads
The support post ‘Event Espresso Calendar not showing in page’ 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.
Support forum for Event Espresso 3 and Event Espresso 4.