daaaaave
Forum Replies Created
Viewing 4 replies - 1 through 4 (of 4 total)
-
see here for quick and dirty fix https://ww.wp.xz.cn/support/topic/calendar-shows-no-booked-days/#post-9985689
Forum: Plugins
In reply to: [WP Booking System - Booking Calendar] Calendar shows no booked daysHere’s a quick and dirty fix :
in /wp-content/plugins/wp-booking-system/include/pluginShortcode.php
line 10
replace
wp_enqueue_script('wpbs', WPBS_PATH . '/js/wpbs.min.js', array('jquery'));by
wp_enqueue_script('wpbs', WPBS_PATH . '/js/wpbs.js', array('jquery'));in /wp-content/plugins/wp-booking-system/js/wpbs.js
on line 87, add
var $instance = wpbs(this); showLoader($instance); //e.preventDefault(); if($instance.find(".wpbs-current-timestamp a").length == 0) timestamp = $instance.find(".wpbs-current-timestamp").html(); else timestamp = $instance.find(".wpbs-current-timestamp a").html() wpbs_changeDay('refresh',timestamp, $instance);Then clear your browser cache.
Forum: Plugins
In reply to: [WP Booking System - Booking Calendar] Calendar shows no booked dayssame for me
version 4.2.1
https://bapteme-parapente.ch/same for me !
I noticed the ajax call isn’t working when the page loads first. Then if you change the month it works again.
the page where you can see the bug : https://bapteme-parapente.ch/
Viewing 4 replies - 1 through 4 (of 4 total)