Scripts and Styles are not enqueued on this page

Documentation Menu

Scripts and Styles are not enqueued on this page

If you get the Scripts and Styles are not enqueued on this page error message, it means that you have enabled the Improve Page Load Speed option in the plugin’s Settings page, but did not select which pages to enqueue the scripts on.

By default, the javascript and CSS files required by the plugin are loaded on all the pages of your website. Enabling this option will only load these files on the pages you want to, resulting in a slight speed improvement for pages that do not contain any calendars.

How to fix the issue?

  1. Go to WP Booking System Settings.
  2. In the Pages to enqueue scripts on, select the pages you have added your calendars or search widget on to load the required scripts and styles.
  3. Or skip step 2 and disable the Improve Page Load Speed option.

Was this article helpful?

Yes (1) No

We're sorry to see this article wasn't as helpful as we hoped it would be. Please let us know what you were looking for so that we can improve this documentation page.

Full CTA BG
Is WP Booking System a good fit for you?

Tell us about your business activity & plugin requirements and we'll let you know if WP Booking System is right for you.

Have a support question? Please use this form instead.