Shortcodes are the classic way of adding a plugin output inside your WordPress POST/PAGE.
Our video gallery shortcode looks like this:
When you add the
[aiovg_videos] shortcode inside your POST/PAGE, this shortcode text will be replaced with the actual HTML gallery output when you visit the POST/PAGE from your site front-end.
Shortcodes can also be used with additional attributes as the following example shows:
You can remember the attributes as settings. By default, the shortcode will display all the videos. When you add the “category” attribute, the plugin will only display the videos of the specified category ID.
[aiovg_videos] shortcode supports a number of attributes and it will be hard to remember all the attributes for a general user. So, we have developed a builder that you can use to generate your shortcode.
- Go to WordPress Admin Panel / Video Gallery
- Select “Video Gallery” from the “Select a shortcode type” option.
- Fill in the form details as you need. Click the Generate Shortcode button.
- Copy the shortcode and add it to your POST/PAGE.
[aiovg_videos] shortcode output,