Displaying Event Lists

A list of calendar events can be displayed on a  page using a short code.

Using the short code with no attributes like below will display a list of the next 5 upcoming events.

[sc_events_list]

The short code accepts 7 attributes to modify how events are displayed.

Note: When using the [sc_events_list] short code, recurring events with a "start date" before the current date will not appear in the "list" view.

Display Events

Use the `display` attribute to select the events displayed in the list. The options are:

  • upcoming
  • past
  • all
[sc_events_list display='past']

Number of Events to display

Use the number attribute to select the number of events displayed in the list. Use an integer greater than zero.

[sc_events_list number='15']

Category of Events

Use the category attribute to select the categories that events must belong to in order to be displayed. Use category slugs that are all lower case and do not contain spaces. Multiple categories can be included using a comma separate them.

[sc_events_list category='social,meetings']

Show Date for Events

Use this attribute to display the date of the event in the events list. The date is assigned the CSS class  `sc_event_date`.

[sc_events_list show_date='yes']

Show Time of Events

Use this attribute to display the time of the event in the events list. The time is assigned the CSS class `sc_event_time`.

[sc_events_list show_time='yes']

Show Event Categories

Use this attribute to display the categories of the event in the events list. The categories are assigned the CSS class `sc_event_categories`.

[sc_events_list show_categories='yes']

Show Event Link

Use this attribute to display a “Read More” link to the event page in the events list. The link is assigned the CSS class `sc_event_link`.

[sc_events_list show_link='yes']