Shortcodes Reference
Shortcodes Reference
Not every page runs the Block Editor. Shortcodes let you embed event listings, ticket forms, RSVP registration, and venue details in the Classic Editor, page builders, text widgets, or anywhere WordPress processes shortcodes. Each shortcode maps to the same output as its corresponding Gutenberg block, so you get identical functionality regardless of how you embed it.
Events Calendar
[tribe_events]
Displays the full events calendar with view switching, search, and filtering.
[tribe_events][tribe_events view="month"][tribe_events view="list" category="workshops" per_page="20"]| Attribute | Values | Default | Description |
|---|---|---|---|
view | list, month, day | Site default | Which calendar view to render |
category | Category slug | — | Filter to a single event category |
tag | Tag slug | — | Filter to a single event tag |
per_page | Number | 10 | Events per page in list view |
This is the primary shortcode for adding a full-featured events page. It includes the events bar with search and view toggles, pagination, and category filtering. Place it on a dedicated page to create your main events archive.
[tribe_events_list]
Renders a simple list of upcoming events without the full calendar UI.
[tribe_events_list][tribe_events_list count="3" category="concerts"]| Attribute | Values | Default | Description |
|---|---|---|---|
count | Number | 5 | Number of events to display |
category | Category slug | — | Filter to a single event category |
Use this for sidebar content, homepage sections, or anywhere you want a lightweight event listing without search bars or view switching.
[tribe_mini_calendar]
Displays a compact month-view calendar with highlighted event days.
[tribe_mini_calendar][tribe_mini_calendar count="2"]| Attribute | Values | Default | Description |
|---|---|---|---|
count | Number | 1 | Number of months to display |
Clicking a highlighted day takes the visitor to the day view for that date.
[tribe_events_countdown]
Shows a countdown timer to a specific event.
[tribe_events_countdown id="123"]| Attribute | Values | Default | Description |
|---|---|---|---|
id | Event post ID | — | Required. The event to count down to |
The countdown displays days, hours, minutes, and seconds remaining until the event start time. Once the event starts, the countdown shows a “Started” message.
Single Event Display
[tribe_event_inline]
Outputs event details inline within surrounding content.
[tribe_event_inline id="123"]| Attribute | Values | Default | Description |
|---|---|---|---|
id | Event post ID | — | Required. The event to display |
Use this when you want to reference a specific event’s details within a blog post or page without sending visitors to the event page.
Ticket and RSVP
[tec_tickets_checkout]
Renders the WooCommerce checkout form with Tickets Please ticket and attendee sections.
[tec_tickets_checkout]No attributes. Place this on your designated checkout page. Tickets Please uses this shortcode automatically when forcing classic checkout for orders containing tickets with Gravity Forms registration fields.
[tec_my_tickets]
Displays the logged-in user’s ticket purchase history and upcoming event tickets.
[tec_my_tickets]No attributes. Place this on a “My Tickets” page and link to it from your site navigation. Visitors see their purchased tickets, RSVP confirmations, and ticket statuses.
[tec_tickets_rsvp]
Renders the RSVP registration form for a specific event.
[tec_tickets_rsvp event_id="456"]| Attribute | Values | Default | Description |
|---|---|---|---|
event_id | Event post ID | — | Required. The event to accept RSVPs for |
This outputs the same registration form as the Event RSVP Gutenberg block.
Venue and Organizer
[tribe_venue]
Displays venue details including name, address, phone, website, and map.
[tribe_venue id="789"]| Attribute | Values | Default | Description |
|---|---|---|---|
id | Venue post ID | — | Required. The venue to display |
[tribe_organizer]
Displays organizer details including name, phone, website, and email.
[tribe_organizer id="101"]| Attribute | Values | Default | Description |
|---|---|---|---|
id | Organizer post ID | — | Required. The organizer to display |
Using Shortcodes in Page Builders
Shortcodes work in any environment that processes WordPress shortcodes:
- Block Editor: Insert a Shortcode block from the block inserter, then paste your shortcode.
- Classic Editor: Type the shortcode directly in the visual or text editor.
- Elementor: Use the Shortcode widget.
- Divi: Use the Code module.
- Beaver Builder: Use the HTML module.
- WPBakery: Use the Raw HTML element.
- Text widgets: Paste shortcodes into any text or HTML widget. WordPress processes them automatically.
Common Questions
What is the difference between [tribe_events] and [tribe_events_list]?
[tribe_events] renders the full calendar experience with view switching, search, and the events bar. [tribe_events_list] renders a simple list of events without any of that UI. Use the full calendar for your main events page and the list for smaller embed contexts.
Can I use multiple shortcodes on the same page? Yes. Each shortcode renders independently. You could have a mini calendar in one section and an events list in another.
How do I find the event or venue ID for shortcodes that require one?
Open the event or venue in the WordPress admin editor. The post ID appears in the URL: post.php?post=123&action=edit. The number after post= is the ID.
Do shortcodes work in email templates? No. WordPress shortcodes require the full WordPress runtime to process. Email content is plain HTML.
Can I nest shortcodes? WordPress does not support nesting shortcodes of the same type. You can place different Tickets Please shortcodes next to each other, but do not nest one inside another.
Why does my shortcode show as plain text instead of rendering? Make sure Tickets Please is activated. If it is, check that you are viewing the page on the frontend, not in the editor preview (some editor previews do not process shortcodes).
Next Steps
- Block Editor Integration — use Gutenberg blocks instead of shortcodes
- Calendar Views — understand the list, month, and day views that shortcodes render
- Template Overrides — customize the HTML output of shortcode-rendered content