Shortcodes
There are a number of shortcodes included to display specific content anywhere on your website. Let's start with the booking calendar/list.
Booking Calendar:
The [quickcal-calendar]
shortcode displays the booking calendar (or single day) for your users to book appointments.
[quickcal-calendar]
Style:
This attribute let's you choose between the default calendar view or a single day "list" view.
[quickcal-calendar style="list"]
Switcher:
This attribute let's you display the "switcher" to swith between calendars on the front-end:
[quickcal-calendar switcher="true"]
Year, Month, and/or Day:
Use these attributes to display a specific "year" and/or "month". You can also add a "day" attribute when using the "list" style (see above).
[quickcal-calendar year="2023" month="3" day="15"]
Calendar:
Use the "calendar" attribute to display a specific calendar (if you have any created). Otherwise, QuickCal will simply display the default calendar. You must use the Calendar's ID (you can find calendar-specific shortcodes on the Settings screen).
[quickcal-calendar calendar="2"]
Size:
This attribute let's you change the size from the default full size to the "small" size if needed. This is good for calendars that are displayed in narrow areas.
[quickcal-calendar size="small"]
Members Only:
This attribute will hide the appointment calendar from non-logged-in users. This is great to use in conjunction with the Profile shortcode (below) to display a login form on a page, and then when the user logs in it will show them the profile page as well as a booking calendar.
[quickcal-calendar members-only="true"]
QuickCal Profile:
[quickcal-profile]
Use this shortcode on the page you're using for the profile view. This only works with "Registered Booking".
QuickCal Login Form:
[quickcal-login]
By default, this login form will show up in the profile shortcode for non-logged-in users. However, if you want to display the login form somewhere else, you can use this shortcode to display it.
QuickCal Appointments:
[quickcal-appointments]
If the need arises, you can use this shortcode to display the currently logged in user's upcoming appointments in a simple list view. This will only show upcoming appointments and nothing else. Good for sidebar widgets, etc.