Shortcodes are the classic way of adding a plugin output inside your WordPress POST/PAGE.
Our video categories shortcode looks like this:
When you add the
[aiovg_categories] shortcode inside your POST/PAGE, this shortcode text will be replaced with the actual video categories HTML 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 only the top-level categories. When you add the “id” attribute, the plugin will only display the subcategories of the specified category ID.
[aiovg_categories] 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 “Categories” 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_categories] shortcode output,