Title: wpdevelop's Replies - page 38 | WordPress.org

---

# wpdevelop

  [  ](https://wordpress.org/support/users/wpdevelop/)

 *   [Profile](https://wordpress.org/support/users/wpdevelop/)
 *   [Topics Started](https://wordpress.org/support/users/wpdevelop/topics/)
 *   [Replies Created](https://wordpress.org/support/users/wpdevelop/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/wpdevelop/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/wpdevelop/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/wpdevelop/engagements/)
 *   [Favorites](https://wordpress.org/support/users/wpdevelop/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 556 through 570 (of 2,707 total)

[←](https://wordpress.org/support/users/wpdevelop/replies/page/37/?output_format=md)
[1](https://wordpress.org/support/users/wpdevelop/replies/?output_format=md) [2](https://wordpress.org/support/users/wpdevelop/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/wpdevelop/replies/page/3/?output_format=md)…
[37](https://wordpress.org/support/users/wpdevelop/replies/page/37/?output_format=md)
38 [39](https://wordpress.org/support/users/wpdevelop/replies/page/39/?output_format=md)…
[179](https://wordpress.org/support/users/wpdevelop/replies/page/179/?output_format=md)
[180](https://wordpress.org/support/users/wpdevelop/replies/page/180/?output_format=md)
[181](https://wordpress.org/support/users/wpdevelop/replies/page/181/?output_format=md)
[→](https://wordpress.org/support/users/wpdevelop/replies/page/39/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Booking Calendar] automatic reservations](https://wordpress.org/support/topic/automatic-reservations/)
 *  Plugin Author [wpdevelop](https://wordpress.org/support/users/wpdevelop/)
 * (@wpdevelop)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/automatic-reservations/#post-15334635)
 * Hello.
    It’s possible only in the Booking Calendar Business Small or higher versions.
   You can configure it at the Booking > Settings General page in “Auto cancellation/
   auto approval of bookings” section.
 * In the Booking Calendar Fre version you can rename the “label” Pending to “Approved”
   at the Booking > Settings General page in “Form” section. For your website visitors
   will be showing such dates as unavailable and labels will indicate that it’s 
   approved. Even if in reality at admin panel such bookings will be as pending.
 * Kind Regards.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Booking Calendar] Calendar is not showing, jquery error](https://wordpress.org/support/topic/calendar-is-not-showing-3/)
 *  Plugin Author [wpdevelop](https://wordpress.org/support/users/wpdevelop/)
 * (@wpdevelop)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/calendar-is-not-showing-3/#post-15327615)
 * Hello.
 * _Please note, your website [https://pubblierolando.it/masseria/prenota/](https://pubblierolando.it/masseria/prenota/)
   is not accessible. I can see only this error “The connection has timed out”. 
   Please publish it, then I can recheck it more detail._
 * Relative that JavaScript error.
 * Usually the reason of this issue is loading of jQuery library 2 times in your
   website.
 * The loading process is following:
    1) Firstly is loaded the standard jQuery from
   WordPress (and its fine):
 * <script type=’text/javascript’ src=’../wp-includes/js/jquery/jquery.js?ver=3.6.0′
   id=’jquery-core-js’></script>
 * 2) Then load the scripts of the Booking Calendar, where is defined all functions,
   including the datepick function.
 * 3) Then your theme (or some other plugin) load the jQuery again in not correct
   way.
 * <script type=”text/javascript” src=”…./wp-content/themes/my_custom_theme/js/jquery.
   min.js”></script>
 * This last load of the jQuery is overwrite all previously defined variables and
   we have this error.
 * **Why in point #3 the jQuery is loading not in correct way ?**
    Some plugins 
   or theme include loading of jQuery library not by using **wp_enqueue_script**
   fuinctions, but directly in the header or footer of the page or use calling of
   such jQuery library from other ks. files, which is wrong. Here is WordPress article
   about the best practice of how to include the JavaScript files in plugins and
   themes: [https://developer.wordpress.org/themes/basics/including-css-javascript/](https://developer.wordpress.org/themes/basics/including-css-javascript/)
   You can share it with support of plugin or theme, that generate this issue.
 * **How to find what plugin or theme generate this issue ?**
    Please try to deactivate
   one by one all your active plugins at the WordPress > Plugins menu and make testing
   after each plugin deactivation. If it does not help, please deactivate all your
   plugins and active the default WordPress theme. And then retest it again. Just
   need to find the reason for this issue.
 * **And how to resolve this issue, if support of that plugin or theme do not response
   in solving it?**
    Please open the header.php (or footer.php) or functions.php
   file of your theme and comment the loading of the jQuery, to prevent load it 
   for the second time.
 * If you have any other questions, please feel free to contact.
 * Kind regards.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Booking Calendar] Calendar is not showing, jquery error](https://wordpress.org/support/topic/calendar-is-not-showing-3/)
 *  Plugin Author [wpdevelop](https://wordpress.org/support/users/wpdevelop/)
 * (@wpdevelop)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/calendar-is-not-showing-3/#post-15323255)
 * Hello.
    I can not test this link [https://pubblierolando.it/masseria/prenota/](https://pubblierolando.it/masseria/prenota/)
   because it’s show the “The connection has timed out” error.
 * Please recheck that your jQuery library was loaded only once.
    Please check this
   troubleshooting instruction: [https://wpbookingcalendar.com/faq/loading-jquery-twice/](https://wpbookingcalendar.com/faq/loading-jquery-twice/)
 * Kind Regards.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Booking Calendar] Use with WordPress Accounts](https://wordpress.org/support/topic/use-with-wordpress-accounts/)
 *  Plugin Author [wpdevelop](https://wordpress.org/support/users/wpdevelop/)
 * (@wpdevelop)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/use-with-wordpress-accounts/#post-15320258)
 * Hello.
 * 1) You can insert the booking forms for specific booking resources into the password
   protected pages (it’s standard functionality of WordPress) and then inform password
   to those users. 
 * Inside of the Booking Calendar plugin there is no such functionality.
 * 2) Please note, if you have logged in user , and you have activated this option“
   Auto fill fields” at the Booking > Settings General page in the form section,
   then some booking form fields, like **First Name, Last Name and Email** will 
   be auto filled by data from the user WordPress profile (and not from the data
   of other plugins).
 * Only the First Name, Last Name and Email fields can be auto-filled. It means 
   that the names of such booking fields at the Booking > Settings > Form page must
   be like firstname, secondname and email.
 * Kind Regards.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Booking Calendar] calendar loading](https://wordpress.org/support/topic/calendar-loading-3/)
 *  Plugin Author [wpdevelop](https://wordpress.org/support/users/wpdevelop/)
 * (@wpdevelop)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/calendar-loading-3/#post-15305869)
 * Hello.
 * 1) You are having at your webpage this JavaScript errors:
 *     ```
       Uncaught ReferenceError: jQuery is not defined
           <anonymous> https://www.comitatotreottobre.it/prenota-un-incontro/:108
       prenota-un-incontro:108:13
       ```
   
 * Because of JavaScript at the page the calendar is not showing, and you see message“
   Calendar is loading”…
 * 2) The reason of that errors, because all your JavaScript files have **defer**
   attribute. Please check more here [https://javascript.info/script-async-defer](https://javascript.info/script-async-defer)
 * Example:
 *     ```
       <script type='text/javascript' defer='defer' src='https://www.comitatotreottobre.it/wp-includes/js/jquery/jquery.min.js?ver=3.6.0' id='jquery-core-js'></script>
       <script type='text/javascript' defer='defer' src='https://www.comitatotreottobre.it/wp-includes/js/jquery/jquery-migrate.min.js?ver=3.3.2' id='jquery-migrate-js'></script>
       ```
   
 * It’s means that such JavaScript files will be loaded after page loaded. And inside
   of the content of the page exist some JavaScript that calling jQuery (which is
   not defined at that time, because JavaScript files was not loaded) that generate
   these JavaScript errors.
 * 3) By default WordPress does not modify the scripts with this attribute. It’s
   some other plugin or theme add such attribute.
 * **How to resolve this issue?**
    You can check in other your activated plugins
   or actual theme settings, some option that can be disabled of adding such **defer**
   attribute. Sometimes it’s can be called like optimize JavaScript files, etc…
 * Otherwise you can make this fix in the Booking Calendar plugin (which will be
   exist in future updates of Booking Calendar).
 * Please open this file ../wp-content/plugins/booking/core/wpbc-js.php
 * ( you can check how to edit files in WordPress menu in this article [https://wpbookingcalendar.com/faq/how-edit-file-in-wp-menu/](https://wpbookingcalendar.com/faq/how-edit-file-in-wp-menu/))
 * then find this code:
 *     ```
               // Load JavaScript files in all other versions
               do_action( 'wpbc_enqueue_js_files', $where_to_load );                     
           }
       ```
   
 * and replace it to this code:
 *     ```
       // Load JavaScript files in all other versions
               do_action( 'wpbc_enqueue_js_files', $where_to_load );
   
       		/*
       		 * Remove <code>async</code> and <code>defer</code>  ( check more here https://javascript.info/script-async-defer )
       		 * for scripts registered or enqueued, that required for correct  working of plugin,  like
       		 * jquery and all Booking Calendar scripts
       		 * because inside content of the page can  be something like  jQuery(document).ready( function(){ ...} which  will
       		 * generate         Uncaught ReferenceError: jQuery is not defined
       		 */
       		add_filter( 'script_loader_tag', array( $this, 'filter_script_loader_tag' ), 9000000000 , 3 );
           }
   
       	/**
       	 * Remove <code>async</code> and <code>defer</code>  ( check more here https://javascript.info/script-async-defer )
       	 * for scripts registered or enqueued, that required for correct  working of plugin,  like
       	 * jquery and all Booking Calendar scripts
       	 *
       	 * @param string $tag    The script tag.
       	 * @param string $handle The script handle.
       	 *
       	 * @return string Script HTML string.
       	 *
       	 */
       	public function filter_script_loader_tag( $tag, $handle, $src ) {
   
       		$script_handles_prevent_defer = array(
       			  'jquery-core'         // exact value
       			, 'jquery-migrate'
       			//, 'wpbc-'             //starting from  'wpbc-'  it's not the exact value
       			//, 'wpdevelop-'
       		);
   
       		// Remove defer and async attribute from  the src.
       		if (
       			   ( 'jquery-core' === $handle )
       			|| ( 'jquery-migrate' === $handle )
       			|| ( false !== strpos( $handle, 'wpbc-' ) )                 // Booking Calendar scripts
       			|| ( false !== strpos( $handle, 'wpdevelop-' ) )
       			|| ( false !== strpos( $handle, 'wpbm-' ) )
       		) {
   
       			foreach ( array( 'async', 'defer' ) as $attr ) {
   
       				if ( preg_match( ":\s$attr(=|>|\s):", $tag ) ) {
       					$tag = str_replace($attr, '', $tag);
       					$tag = str_replace('=""', '', $tag);
       					$tag = str_replace("=''", '', $tag);
   
       					/*
       					 * Test  here https://regex101.com/
       					 *
       					 * Expression:   \s+defer(\s*=\s*["']defer["'])?\s?
       					 * Test  string: <script type='text/javascript' defer = 'defer'  defer="defer" src='http://beta/wp-content/plugins/booking-manager/js/wpbm_vars.js?ver=1.1' id='wpbm-global-vars-js'></script>
       					 *
       					 */
       					$pattern = ":\s+{$attr}(\s*=\s*[\"']{$attr}[\"'])?\s?:mi";
       					$replacement = ' ';
       					$tag = preg_replace($pattern, $replacement, $tag);
       				}
   
       			}
       		}
   
       		return $tag;
       	}
       ```
   
 * Kind Regards.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Booking Calendar] calendar loading](https://wordpress.org/support/topic/calendar-loading-3/)
 *  Plugin Author [wpdevelop](https://wordpress.org/support/users/wpdevelop/)
 * (@wpdevelop)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/calendar-loading-3/#post-15299519)
 * Hello.
    Do you have the same issue at the Booking > Add booking page in Admin
   panel ? If not, then probably, its because of conflict with some other plugin
   or actual theme. Please try to deactivate all your plugins and active the default
   WordPress theme. And then retest it again. Thank you.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Booking Manager - Sync WP Booking Calendar - Import Events, Export Bookings to ICS Calendar] Trash all imported bookings before new import](https://wordpress.org/support/topic/trash-all-imported-bookings-before-new-import/)
 *  Plugin Author [wpdevelop](https://wordpress.org/support/users/wpdevelop/)
 * (@wpdevelop)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/trash-all-imported-bookings-before-new-import/#post-15251518)
 * Hello.
    We will add this feature to the TODO list for having it in future updates
   of plugin, but I can not say when exactly it’s will be implemented. Thank you
   for understanding.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Booking Calendar] Hide passed time slots](https://wordpress.org/support/topic/hide-passed-time-slots/)
 *  Plugin Author [wpdevelop](https://wordpress.org/support/users/wpdevelop/)
 * (@wpdevelop)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/hide-passed-time-slots/#post-15243787)
 * Hello.
    Unfortunately, in actual versions does not possible to hide passed time.
   System only DO NOT allow to make bookings for such times by showing warnings.
   We will add improvements to this feature to the TODO list for having it in future
   updates of the plugin, but I can not say when this feature will be implemented.
   Sorry. Kind Regards.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Booking Calendar] Calendar is not showing. It show some JS error](https://wordpress.org/support/topic/calendar-is-not-showing-it-show-some-js-error/)
 *  Plugin Author [wpdevelop](https://wordpress.org/support/users/wpdevelop/)
 * (@wpdevelop)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/calendar-is-not-showing-it-show-some-js-error/#post-15210143)
 * Hello.
    Please recheck for any cache plugins, like “WP Super Cache”, “WP Fastest
   Cache” or “W3 Total Cache”. If you are using someone, please deactivate it or
   add the exception to the page with booking form for do not cache this page(s).
 * Otherwise probably it’s because of conflict with some other plugin or actual 
   theme.
    Please try to deactivate one by one all your active plugins at the WordPress
   > Plugins menu and make testing after each plugin deactivation. If it does not
   help, please deactivate all your plugins and active the default WordPress theme.
   And then retest it again. We just need to find the reason for this issue.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Booking Calendar] % discount for 14 or more days](https://wordpress.org/support/topic/discount-for-14-or-more-days/)
 *  Plugin Author [wpdevelop](https://wordpress.org/support/users/wpdevelop/)
 * (@wpdevelop)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/discount-for-14-or-more-days/#post-15190227)
 * Hello.
    You need to  configure “Valuation days” like this:
 *     ```
       Together 14 days = 95 % for all  days
       From 15 to 99 days = 95%  for each  day
       ```
   
 * Watch it in this video guide [https://wpbookingcalendar.com/help/valuation-days-cost-video-overview/](https://wpbookingcalendar.com/help/valuation-days-cost-video-overview/)
 * You can activate the option “Show debug cost info” at the Booking > Settings 
   > Payment page to show your cost calculation (at front-end side after days selection)
   for better understanding how is costs are working.
 * P.S. All this relative to the Booking Calendar Business Medium or higher versions.
 * P.S.S. Please note, this forum is only about the support of Booking Calendar 
   Free version. If you will have any questions about the paid version, then contact
   here [https://wpbookingcalendar.com/contact/](https://wpbookingcalendar.com/contact/)
 * Kind Regards.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Booking Calendar] Limited places and online course reservations](https://wordpress.org/support/topic/limited-places-and-online-course-reservations/)
 *  Plugin Author [wpdevelop](https://wordpress.org/support/users/wpdevelop/)
 * (@wpdevelop)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/limited-places-and-online-course-reservations/#post-15187581)
 * Hello.
    In the Booking Calendar such functionality does not possible.
 * In the Booking Calendar Business Large version, you can define the capacity for
   the booking resource (calendar). For example you can set capacity as 10. And 
   day(s) in calendar will be available, until you will not make 10 different bookings
   for such date(s).
 * Please recheck my previous comment.
    Kind Regards.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Booking Calendar] Limited places and online course reservations](https://wordpress.org/support/topic/limited-places-and-online-course-reservations/)
 *  Plugin Author [wpdevelop](https://wordpress.org/support/users/wpdevelop/)
 * (@wpdevelop)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/limited-places-and-online-course-reservations/#post-15187259)
 * Hello.
    If you need to make a specific number of bookings per day, then you need
   to check the Booking Calendar Business Large version, where it is possible to
   make several reservations per specific FULL date(s) by visitors (not time slots).
   Please read more about it here [https://wpbookingcalendar.com/overview/#capacity](https://wpbookingcalendar.com/overview/#capacity)
 * You can test it in the live demo here [https://bl.wpbookingcalendar.com/](https://bl.wpbookingcalendar.com/)
   
   Watch video about this feature here [https://wpbookingcalendar.com/help/availability-capacity-video-overview/](https://wpbookingcalendar.com/help/availability-capacity-video-overview/)
 * In this version it is possible to set the capacity of the booking resource, so
   date(s) in the calendar will be available until the number of reservations is
   less than capacity of the booking resource. But it’s possible to make booking
   only for FULL date, not a time slot (time slots in this version are only saved
   as data into the database, but do not apply to availability logic).
 * Highly recommend, to check this article about configuration of capacity and availability
   for booking resources: [https://wpbookingcalendar.com/faq/capacity-concept/](https://wpbookingcalendar.com/faq/capacity-concept/)
 * Please note, this forum is only about the support of Booking Calendar Free version.
   If you will have any questions about the paid version, then contact here [https://wpbookingcalendar.com/contact/](https://wpbookingcalendar.com/contact/)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Booking Calendar] Email different addresses for different resources](https://wordpress.org/support/topic/email-different-addresses-for-different-resources/)
 *  Plugin Author [wpdevelop](https://wordpress.org/support/users/wpdevelop/)
 * (@wpdevelop)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/email-different-addresses-for-different-resources/#post-15172467)
 * Hello.
 * 1) You can define the comma separated emails (or separated by 😉 in the field“
   to” or if you have activated sending a copy of emails in these fields at the 
   Booking > Settings > Emails page.
 * For example:
 * `email1@server.com;othet-email@gmail.com`
 * If it’s will not work, then use this
 * `email1@server.com,othet-email@gmail.com`
 * 2) In the Booking Calendar MultiUser version possible that each registered WordPress
   user (your owner) have own individual independent booking admin panel, and can
   see and manage only own booking resources and some other settings (other owners
   will not see the bookings from this owner, they can see only own bookings). Please
   check more here (at bottom of the page) [https://wpbookingcalendar.com/overview/](https://wpbookingcalendar.com/overview/)
 * Also each owner (user) will receive the emails about the bookings of their own
   service(s) or property (booking resource(s)) and can approve or decline them.
   Please note, that each owner WordPress user) will have different individual calendar(
   s) with booking forms in the separate pages. Please retest it in the live demo.
 * You can read more about the initial configuration of the Booking Calendar MultiUser
   version: [https://wpbookingcalendar.com/faq/multiuser-version-init-config/](https://wpbookingcalendar.com/faq/multiuser-version-init-config/)
 * Watch it in this video guide [https://wpbookingcalendar.com/help/multiuser-video-overview/ ](https://wpbookingcalendar.com/help/multiuser-video-overview/ )
 * Please test the live demo of Booking Calendar MultiUser  version here: [https://multiuser.wpbookingcalendar.com/ ](https://multiuser.wpbookingcalendar.com/ )
   
   Admin Panel of Multiuser version (here you can test several admin panels functionality):
   [https://multiuser.wpbookingcalendar.com/admin-panel/ ](https://multiuser.wpbookingcalendar.com/admin-panel/ )
 * Kind Regards.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Booking Calendar] Time slots on free version](https://wordpress.org/support/topic/time-slots-on-free-version/)
 *  Plugin Author [wpdevelop](https://wordpress.org/support/users/wpdevelop/)
 * (@wpdevelop)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/time-slots-on-free-version/#post-15169205)
 * Hello.
    Please be sure that you have correctly selected and configured Time slots
   at the booking form at the Booking > Settings > Form page. You can check how 
   to add and configure timeslots in the Booking Calendar Free version here [https://youtu.be/-pOTMiyp6Q8?t=28s](https://youtu.be/-pOTMiyp6Q8?t=28s)
 * Also please open the wordpress > Settings General page and correctly configure
   times format there.
 * Kind Regards.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Booking Calendar] Half-days on imported events from google cal](https://wordpress.org/support/topic/half-days-on-imported-events-from-google-cal/)
 *  Plugin Author [wpdevelop](https://wordpress.org/support/users/wpdevelop/)
 * (@wpdevelop)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/half-days-on-imported-events-from-google-cal/#post-15165993)
 * Hello.
    In the Booking Calendar Business Small or higher versions at the Booking
   > Settings > Sync > “General” page you can activate this option: “ Use check 
   in/out time”. Kind Regards.

Viewing 15 replies - 556 through 570 (of 2,707 total)

[←](https://wordpress.org/support/users/wpdevelop/replies/page/37/?output_format=md)
[1](https://wordpress.org/support/users/wpdevelop/replies/?output_format=md) [2](https://wordpress.org/support/users/wpdevelop/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/wpdevelop/replies/page/3/?output_format=md)…
[37](https://wordpress.org/support/users/wpdevelop/replies/page/37/?output_format=md)
38 [39](https://wordpress.org/support/users/wpdevelop/replies/page/39/?output_format=md)…
[179](https://wordpress.org/support/users/wpdevelop/replies/page/179/?output_format=md)
[180](https://wordpress.org/support/users/wpdevelop/replies/page/180/?output_format=md)
[181](https://wordpress.org/support/users/wpdevelop/replies/page/181/?output_format=md)
[→](https://wordpress.org/support/users/wpdevelop/replies/page/39/?output_format=md)