Knowledge Base

Search for anything about "All-in-One Video Gallery"

Displaying Categories (Shortcode)

Shortcodes are the classic way of adding a plugin output inside your WordPress POST/PAGE.
Our video categories shortcode looks like this: [aiovg_categories]

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: [aiovg_categories id="10"]

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.

Shortcode Builder

The [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.

To access the shortcode builder,
  1. Go to WordPress Admin Panel / Video Gallery
  2. Select “Categories” from the “Select a shortcode type” option.
  3. Fill in the form details as you need. Click the Generate Shortcode button.
  4. Copy the shortcode and add it to your POST/PAGE.

An example [aiovg_categories] shortcode output,

Scroll to Top