Calendar
This function adds a live calendar to your site showing club and district events. It uses color-coded entries and can be viewed in multiple layouts.
Customizable Options:
- catids โ Enter the event category IDs you want to display (e.g.,
catids="1,3,5"). These correspond to calendar event categories set in DACdb or iMembersDB. - view โ Choose how the calendar is displayed:
"month"or"dayGridMonth"โ shows a traditional calendar grid."list"or"listMonth"โ shows events in a list format.
- cal_limit โ Limits the number of events shown (e.g.,
cal_limit="5"). - club_id โ On district sites, you can display events for a specific club by passing its Club ID (e.g.,
club_id="1234"). - sector โ Filter events by sector, if your district uses sectors.
The calendar is interactive, responsive, and mobile-friendly. Visitors can click on events to see more details or register if the event includes a sign-up link.
[dacdb_plus show="calendar"]
[dacdb_plus show='calendar']
Attributes
catids
Event category IDs (comma-separated)
- Configurable in WP Admin
- Overrides default via shortcode
Supported Values:
-
1,2,5,21(default) โ Must be valid category IDs. Refer to DACdb.com or the plugin settings for your organizations category IDs
view
Calendar view type (options: "month"/"dayGridMonth" or "list"/"listMonth")
- Configurable in WP Admin
Supported Values:
-
dayGridMonth(default) โ Shows a standard calendar grid. -
monthโ Shows a standard calendar grid. -
listMonthโ Shows an agenda-style list of events. -
listโ Shows an agenda-style list of events.
cal_limit
Number of events to display (1-9, default: plugin setting)
- Configurable in WP Admin
club_id
Optional club ID for district websites to show club events
sector
Filter events by sector
cal_display
determines default view type
- Configurable in WP Admin
cal_limit
controls default number of events to display
Output Example
Rendered from: [dacdb_plus show='calendar']