Posted: August 31, 2020 at 7:07 am
|
On the website https://www.rudolf-harbig-stadion.com/event-kalender/ in the month of November, I have the problem that events over several days and the change of week are not completely highlighted in color. I ask for help with that the background can be seen over and over again. Thanks in advance. |
Hi there, This is happening becuase of the version of jQuery you have active on the site Looking at the page source I can see you are using the jQUery Updater plugin to switch to a different version of jQuery than what ships with WordPress (3.5.1 to be exact). You’ll need to disable that plugin for the calendar to function as expected. |
|
|
Thanks for the answer, if I deactivate the plugin, the shortcodes no longer work. |
When you say they don’t work, in what way? What happens? Loading the latest version of jQuery in place of the version shipped with WordPress is the ‘wrong’ way to fix this, for details on why see: https://pippinsplugins.com/why-loading-your-own-jquery-is-irresponsible/ I can see you’re using visual composer, try adding the calendar shortcode to the default editor, does it work then? |
|
|
Thank you for the informations. What happens when integrating the shortcode? So in the frontend the loading symbol is hidden by display none and no calendar is loaded. the experiment without the visuel composer produces the same result, which can be seen at: https://www.rudolf-harbig-stadion.com/kalender-test/ |
The calendar uses JavaScript to display on the page, any JavaScript error being thrown on the page will cause the calendar to fail as once there is a JS error no other JS can run after it. I can see that the espresso-calendar placeholder divs are loading on the page and the scripts are added, meaning the shortcode is parsing as expected but the JS is failing. If you open the above page and then open Chrome Dev Tools (or similar) and look in the console you’ll see this JavaScript error:
Working through the stack trace it shows the error is from the initMobileMenu function in the default.min.js which lives in:
The part of the error that sticks out to me is this A quick Google search for the exact error you’re getting on the site leads to here: Which highlights exactly the same problem and it’s something your theme author needs to fix, you can manually edit the above to fix it, but if the theme author hasn’t fixed it the next time you update the the theme the same will happen. |
|
|
I have to thank you very much. |
You’re most welcome, I’m glad it’s working. |
|
The support post ‘Display problems’ 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.