Problem with not viewing any events SOLVED
-
Hello,
It seems that after an update of WordPress this plugin doesn’t show any events in the front end, only after clicking the next or previous month.
It looks look the correct month doersn’t show up in JQuery so the initial page has no events.
Here’s a solution which works fine with me, in wp-content/plugins/ajax-event-calendar/js/jquery.fullcalendar.min.js I added these lines at the end of the file:
$(document).ready(function() {
var urlpath = window.location;
if (urlpath == ‘https://www.test.com’) { // fill here the complete url to your calendar page
setTimeout(delay, 400);
}
});function delay() {
$(‘.fc-button-prev’).children().trigger(‘click’);
$(‘.fc-button-next’).children().trigger(‘click’);
}Hopefully this helps someone with keeping this great plugin alive ??
Kind regards,
Arie
- The topic ‘Problem with not viewing any events SOLVED’ is closed to new replies.