[Plugin: WP Calendar] {event-calendar} not working
-
Hi there, I’m having a little bit of trouble trying to get the calendar working on my website. I have configured it all already in the Options Page. The fse_print_events works perfectly, but when I put the tag {events-calendar} it just doesn’t display anything on any page nor post.
First I though that it could be a problem with 3.0 but it didn’t work on a 2.9 WordPress niether.
I’ve disabled any other jquery or Javascript thinking that it could case a problem, with no luck.
As far i see the tag just adds this to the code:<div id="fscal-4c2a2f"></div><script type="text/javascript">jQuery(document).ready(function() {jQuery('#fscal-4c2a2f').fullCalendar({firstDay: 1,timeFormat: "H:mm",monthNames: ["Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agosto","Septiembre","Octubre","Noviembre","Diciembre"],monthNamesShort: ["Ene","Feb","Mar","Abr","May","Jun","Jul","Ago","Sep","Oct","Nov","Dic"],dayNames: ["Domingo","Lunes","Martes","Miércoles","Jueves","Viernes","Sábado"],dayNamesShort: ["Dom","Lun","Mar","Mie","Jue","Vie","Sab"],titleFormat: {month: "MMMM yyyy",week: "MMMM dd[ yyyy]{ \'—\'[ MMMM] dd yyyy}",day: "dddd, MMMM d, yyyy"},columnFormat: {month: 'dddd',week: 'ddd MM/d',day: 'dddd MM/d'},buttonText: {prev: ' ◄ ',next: ' ► ',prevYear: ' << ',nextYear: ' >> ',today: 'today',month: 'month',week: 'week',day: 'day'},eventClick: function(calEvent, jsEvent, view) {document.location.href='https://oscarbazaldua.com/jourdain/prueba/?event='+calEvent.id;},events: function(start, end, callback) { jQuery.post( WPCalendar.ajaxUrl, { action: 'wpcal-getevents', start: Math.round(start.getTime() / 1000), end: Math.round(end.getTime() / 1000)}, function(events) { var evt = eval(events); callback(evt); } ); }})});</script>
I guess that’s what it should do, but no display anyway.
Does anybody know what could be causing this? Is there a function to call it from the theme instead?
- The topic ‘[Plugin: WP Calendar] {event-calendar} not working’ is closed to new replies.