Okay
  Print

Stachethemes Event Calendar 5 Shortcodes List

Calendar Shortcode:

[stec] or [stachethemes_ec]

Shortcode parameters.



Event Submission Form Shortcode:

[stec_submit_form]

Shortcode parameters:

  • id - (optional) The event submission form id number.
  • cal - (optional) List only following calendars. e.g. 101,102,103. Calendar ids are visible in Manage Calendars Dashboard page




Display a Single Event Shortcode:

[stec_single]

Shortcode parameters:

  • event_id - (required) The event id to display
  • offset_date - (optional) If the event is repeated select offset date in format YYYY-MM-DD\THH:mm. Example: 2024-01-27T10:00



Display Events Slider Shortcode:

[stec_events_slider]

Shortcode parameters:

  • stec_cal - (optional) Filter events by calendar ids. E.g. stec_cal=1 or stec_cal=1,2,3...
  • stec_cat - (optional) Filter events by category ids.
  • stec_loc - (optional) Filter events by location ids.
  • stec_org - (optional) Filter events by organizer ids.
  • min_date - (optional) Minimum date range. E.g. 2024-01-01. List with accepted values.
  • max_date - (optional) Maximum date range. E.g. 2024-01-01. List with accepted values.
  • gutter - (optional) Spacing between slides
  • limit - (optional) Events limit
  • columns - (optional) Desired columns (if container widths allows)
  • order - (optional) Events order: asc, desc
  • featured_only - (optional) Display featured events only. true / false
  • auto_slide - (optional) Auto-slide 0 - false, or number of seconds (e.g. 3,5,6 ...)
  • tickets_btn_label - (optional) Assign custom text for the tickets button
  • slider_bullets - (optional) Display bullet buttons. true / false
  • slider_arrows - (optional) Display arrow buttons. true / false
  • display_tags - (optional) Display event tags. true / false
  • display_categories - (optional) Display categories. true / false
  • display_tickets - (optional) Display tickets button if the event has tickets. true / false
  • display_thumbnail - (optional) Display event thumbnail. true / false
  • display_description - (optional) Display event short description. true / false
  • prefer_external_link - (optional) Use event external link on event click if the event has one. true / false
  • author - (optional) Filter events by author id
  • attendee - (optional) Filter events by attendee id or email. E.g. attendee=1 or attendee=current_user
  • include - (optional) Filter events by ids. E.g. include=1,2,3
  • event_status - (optional) Filter events by event status. Values: EventScheduled, EventMovedOnline, EventPostponed, EventRescheduled, EventCancelled
  • open_events_in - (optional) Open events in same window or new window. Values: _self, _blank




Display Events List Shortcode:

[stec_events_list]

Shortcode parameters:

  • stec_cal - (optional) Filter events by calendar ids. E.g. stec_cal=1 or stec_cal=1,2,3...
  • stec_cat - (optional) Filter events by category ids.
  • stec_loc - (optional) Filter events by location ids.
  • stec_org - (optional) Filter events by organizer ids.
  • min_date - (optional) Minimum date range. E.g. 2024-01-01. List with accepted values.
  • max_date - (optional) Maximum date range. E.g. 2024-01-01. List with accepted values.
  • limit - (optional) Events limit
  • order - (optional) Events order: asc, desc
  • featured_only - (optional) Display featured events only. true / false
  • display_tags - (optional) Display event tags. true / false
  • display_categories - (optional) Display categories. true / false
  • display_tickets - (optional) Display whether event has tickets. true / false
  • display_thumbnail - (optional) Display event thumbnail. true / false
  • display_description - (optional) Display event short description. true / false
  • prefer_external_link - (optional) Use event external link on event click if the event has one. true / false
  • author - (optional) Filter events by author id
  • attendee - (optional) Filter events by attendee id or email. E.g. attendee=1 or attendee=current_user
  • include - (optional) Filter events by ids. E.g. include=1,2,3
  • event_status - (optional) Filter events by event status. Values: EventScheduled, EventMovedOnline, EventPostponed, EventRescheduled, EventCancelled
  • open_events_in - (optional) Open events in same window or new window. Values: _self, _blank




Display Dashboard on the Front-end Shortcode:

[stec_dashboard]



Display Specific Event Tickets

[stec_event_tickets]

Shortcode parameters:

  • event_id - (required) The event id
  • date - (optional) Repeat date occurrence. Format: YYYY-MM-DDTHH:mm
  • mode - (optional) "modal" mode displays the event tickets list in a popup when the button is pressed, while "static" mode directly opens the container on the page
  • button_text - (optional) Text for the button that opens the modal window
  • custom_button - (optional) Custom button class name if you want to style your own button

Shortcode example:

[stec_event_tickets event_id=123 mode=modal button_text="Buy Tickets"]