Skip to content
Verdant Studio logo

Using shortcodes

Did you know you can use shortcodes inside Super Advent Calendar? By using shortcodes you can further customize your calendar and add extra functionality such as a quiz, forms, rewards etc!

Example using a form

The Super Advent Calendar supports in-modal submissions with plugins like Contact Form 7. If you encounter any issues with a specific form plugin, please let us know.

You can use shortcodes in the content to display a form for example

Example using an image

WordPress has a built-in shortcode for showing image galleries for instance you could add the following code inside the back content where ID is the ID of the image on the WordPress media library.

[gallery ids="538" columns="4" size="medium"]

Example using a video

WordPress also has a built-in shortcode for embedding videos. Example usage:

[video src="video-source.mp4"]

There are more arguments available such as autoplay, width, height and poster, see the aforementioned link for documentation.

The plugin ships with a link shortcode which you can use to insert links to the back content of the door. It takes two attributes url and text.

[super-advent-calendar-link url="https://www.verdant.studio" text="My link"]

Please note: this feature is available since version 1.12.0.