Let’s say you’ve just created tickets for your event using the Event Tickets plugin — with the Event Tickets Plus add-on installed — and those tickets are displaying nicely on your event page. Now, what if you want to embed your tickets, say, on your homepage? Maybe you’ve created a landing page promoting the event and would like to drop the tickets in there.

That’s exactly what the [tribe_tickets] and [tribe_tickets_rsvp] shortcodes are designed to do. Add those to any WordPress page or post (including custom post types) to display tickets and RSVPs — or both! — for a given event.

Screenshot showing a webpage with an embedded ticket form.

Requirements

Both Event Tickets and the Event Tickets Plus add-on are required to use the shortcodes.

Tribe Tickets shortcode

[tribe_tickets post_id="123"]

The [tribe_tickets] shortcode displays the tickets block when used on a WordPress page or post. It has one required parameter, the post_id. The post_id parameter is the ID of the event (post or page, depending on your site configuration) where the tickets were created.

Finding the Post ID can be tricky in WordPress. One way is by editing the page or post and locating it in the browser’s address bar.

Screenshot showing the WordPress block editor with the page ID highlighted in the browser's address bar.
The post ID is an auto-generated number that WordPress assigns to pages and posts. It’s revealed in the browser address bar in the editor.

Another way to locate the a page or post ID is to navigate to the attendee report for that event.

Diagram showing a screenshot of the attendee reports page for an event where the Event Post ID is highlighted on the screen.

Tribe Tickets RSVP shortcode

[tribe_tickets_rsvp post_id="123"]

This shortcode displays the RSVP form. It has the same required post_id parameter as the ticket shortcode. The post_id parameter is the ID of the event, page, or post where the RSVP was created.

Displaying a Ticket via Shortcode

You can also use a shortcode to display singular or multiple tickets on a page or post. To do this, you can use the ticket_id parameter, so it’ll look something like this: [tribe_tickets post_id="12" ticket_id="29"] or [tribe_tickets_rsvp post_id="13" ticket_id="30"]. You can find the ticket ID in the attendee report.