Documentation

Adding a Single Calendar to a Page Using the Shortcode

When this shortcode is inserted into your page or post (in the admin panel) it will generate the calendar with ID ‘1’ on the front-end, with all the above settings applied.

Here’s the meaning of every setting from the shortcode:

  • id – (number) – the ID of the calendar, which can be found under WP Simple Booking Calendar > Calendars
  • title – (yes/no) – show the calendar title (yes) or hide it (no)
  • legend – (yes/no) – show the legend of the calendar (yes) or hide it (no)
  • legend_position – (top/side/bottom) – the position of the legend in correlation with the calendar
  • dropdown – (yes/no) – show the months dropdown (yes) or hide it (no)
  • start – (1/2/3/4/5/6/7) – the start day of the week, monday (1), tuesday (2) …and so on… sunday (7)
  • display – (1/2/3/…) – the number of months to show
  • language – (auto/en/fr/etc.) – the language of the calendar, ‘auto’ will detect the language automatically
  • month – (0/1/2/…/12) – the start month of the calendar, 0 means the current month, 1 means January, and so on
  • year (0/2017/2018/…) – the start year of the calendar, 0 means the current year, 2017 means 2017, and so on
  • jump – (yes/no) – switch all months to new ones (yes) or switch 1 month at a time (no) when clicking on the [>] button
  • history – (1/2/3) – show all booking history (1), replace history with the default legend item (2) or grey-out (3) history
  • tooltip – (1/2/3) – don’t show tooltips (1), show tooltips (2) or show tooltips with a red indicator (3)
  • weeknumbers – (yes/no) – show week numbers (yes) or hide them (no)
  • highlighttoday – (yes/no) – highlight the current day (yes) or not (no)

Was this article helpful?

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

Ready to take full advantage of the premium version?

WP Simple Booking Calendar helps you edit your calendars with just a few clicks, so you can spend more time on promoting your business and less time on managing it.

Get Started

Other Articles

Need help?

Send us a message

Ready to take full advantage of the premium version?

WP Simple Booking Calendar helps you edit your calendars with just a few clicks, so you can spend more time on promoting your business and less time on managing it.

Get Started