Notice: A non well formed numeric value encountered in /home/firetre9/sites/ccbpress.com/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 118

Event Calendar Shortcode

The Event Calendar Shortcode allows you to display an Event Calendar on any page that you would like.

Usage

[ccbpress_event_calendar]

Below are a list of parameters that you can use to modify the output:

  • year (integer) "YYYY". Defaults to the current year.
  • month (integer) "M". Defaults to the current month.
  • group_id (string) Comma separated string of group ids to display.
  • campus_id (integer) The ID of the campus to display be default. Leave blank to display all campuses.
  • hide_campus (true/false) Prevent the campus dropdown from being display with the calendar. Defaults to false.
  • show_support (true/false) Displays "Powered by CCBPress" at the bottom of the calendar. Defaults to true.

Example

For example, to display a calendar with only events from specific groups:

[ccbpress_event_calendar group_id="21,44,18"]