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:

Notice: Undefined index: display_past_events in /var/www/vhosts/jsquare-themes.com/httpdocs/demo/wp-content/plugins/jt-event-calendar/shortcodes/single-event/default.php on line 12

Notice: Undefined variable: jt in /var/www/vhosts/jsquare-themes.com/httpdocs/demo/wp-content/plugins/jt-event-calendar/shortcodes/single-event/default.php on line 37

The beauty of flowers

Our experts will show you how to decorate your house with flowers!

25 Apr 2019 - 26 Apr 2019 JT Park

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:

Notice: Undefined index: display_past_events in /var/www/vhosts/jsquare-themes.com/httpdocs/demo/wp-content/plugins/jt-event-calendar/shortcodes/single-event/default-2.php on line 12

Apr 25

The beauty of flowers

Our experts will show you how to decorate your house with flowers!

JT Park