Embedding the calendar

Documentation Menu

Adding the calendar and form to a page

Check out our video tutorial for embedding the calendar and form.

You can embed a calendar with a form to any page of your website, but the embed method depends on your theme and/or what page builder you are using.

WP Booking System integrates with the default WordPress editor, Gutenberg, and the most popular page builders such as Divi or Elementor.

If your page builder does not have a widget for embedding the calendar, don’t worry, you can always use the Shortcode to add your calendar.

The embed options

OptionValuesDescription
CalendarThe ID of the calendarThe calendar you wish to be displayed on the page.
FormThe ID of the formThe form you wish to attach to the calendar. Calendars can be embedded without a form, in which case they won’t allow the customer to make bookings, the calendar will just display the availability.
Display Calendar TitleYes/NoDisplays the calendar title as a heading above the calendar.
Display LegendYes/NoDisplays the calendar’s legend items.
Legend PositionSide/Top/BottomThe position of the calendar legend. Can be to the side of the calendar, above the calendar, or below the calendar.
Months to Display1-24The number of calendar months to be displayed
Start YearCurrent Year or a year eg. 2030The starting year of the calendar.
Start MonthCurrent month or January to FebruaryThe starting month of the calendar.
LanguageAuto or language codeThe language in which to display the calendar and form. With auto the plugin tries to detect your website’s language automatically.
Week Start DayMonday to SundayThe starting day of the week.
Show History– Display booking history
– Replace history with the default legend item
– Use the Booking History color from the Settings
Handles the past dates in the calendar.
Display Tooltips– No
– Yes
– Yes, with a red indicator
Handles the tooltips in the calendar.
Highlight TodayYes/NoHighlight today’s date in the calendar
Show Week NumbersYes/NoShow the week numbers in the calendar
Show PricesYes/NoShow the daily price for each day. Only works if pricing is enabled.
Form PositionSide/BottomThe position of the booking form
Automatically Block DatesYes/NoHandles what happens to the booked dates after the booking is made. If set to Yes, the dates will be marked as unavailable in order to prevent double bookings. If the Inventory add-on is installed, the dates will be marked as unavailable only when the inventory reaches 0.
Selection TypeDate Range/Single DateHandles the date selection in the calendar.
Selection StyleNormal/SplitHandles the date selection style. The Normal option selects full days, while the Split option marks the starting and ending days of the selection as half days or changeover days. When using pricing, Normal counts days and Split counts nights.
Minimum Daysany positive integerSets a restriction for the minimum days that must be booked. If the Booking Restrictions add-on is installed, this parameter is ignored.
Maximum_daysany positive integerSets a restriction for the maximum days that must be booked. If the Booking Restrictions add-on is installed, this parameter is ignored.
Booking Start DayMonday to SundaySets a restriction for the day of the week on which the booking can start. If the Booking Restrictions add-on is installed, this parameter is ignored.
Booking End DayMonday to SundaySets a restriction for the day of the week on which the booking can end. If the Booking Restrictions add-on is installed, this parameter is ignored.
Show Date SelectionYes/NoShow the start date and end date of the date selection made in the calendar at the beginning of the booking form.

Was this article helpful?

Yes (3) 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.