Shortcode: Single Event

The [events_list] shortcode gives you the option to display all of your events or a specific number of events. What about displaying a specific event using the shortcodes that come with our plugin?

We’ve got you covered!

The “Single Event” shortcode

JT Event Calendar gives you the option to display a specific event on any page of your site. To do this, you have to use the following shortcode:

[single_event]

This shortcode requires two attributes in order to work properly. These are:

slug

The slug of your event.

Shortcode

[single_event slug="the-beauty-of-flowers"]

Preview:

style

The style you want to use for this shortcode. Available styles are default and default-2.

Shortcode:

[single_event slug="the-beauty-of-flowers" style="default-2"]

Preview: