Shortcodes: Upcoming Webinars Shortcode
The [webinarpress_upcoming_webinars] shortcode displays a list of your upcoming webinars on any WordPress page, post, or supported widget area.
Basic Usage
Add the following shortcode to your page or post:
[webinarpress_upcoming_webinars]
By default, it displays up to 5 webinars with the date, time, timezone, and action button.
Shortcode Attributes
You can customize the shortcode using the following attributes:
| Attribute | Default | Description |
|---|---|---|
| count | 5 | Number of webinars to display. |
| show_date | yes | Show or hide the webinar date. Use yes or no. |
| show_time | yes | Show or hide the webinar time. Use yes or no. |
| show_timezone | yes | Show or hide the webinar timezone. Use yes or no. |
| show_button | yes | Show or hide the action button. Use yes or no. |
| button_label | Join Now | Text displayed on the button for upcoming webinars. |
| live_label | Join Right Now! | Text displayed on the button for live webinars. |
| no_webinars_text | No upcoming webinars. | Message displayed when there are no live or upcoming webinars. |
| class | — | Add a custom CSS class to the webinar list container. |
Example
The following shortcode displays up to 10 webinars and customizes the button labels and no-webinar message:
[webinarpress_upcoming_webinars count='10' class='test' show_date='yes' show_time='yes' show_timezone='yes' show_button='yes' button_label='Register' live_label='Register Now' no_webinars_text='No upcoming webinars found']