Knowledge Base

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

Using the Shortcode Builder, Gutenberg Blocks & Widgets

Assume that you have added categories, tags, and videos in the plugin back-end. The plugin provides multiple methods to display content on the front-end. Choose the method that best fits your needs.

Using the Shortcode Builder from the Plugin

The front-end of the plugin is handled by shortcodes, a classic method of displaying dynamic content. Shortcodes have been widely used by WordPress developers for a long time.

Example of a Shortcode:
[aiovg_videos]

When you add the above shortcode to your POST/PAGE content, it will be replaced by the plugin’s gallery output.

Shortcodes can be further customized using additional parameters called “attributes.”

Example:
[aiovg_videos orderby="title" order="asc"]

The “orderby” and “order” parameters in the above shortcode define the sorting order of videos by “Title” in “Ascending” order.

Since the plugin supports numerous shortcode attributes, remembering them all can be challenging. To simplify this, we have developed a form-based Shortcode Builder that allows you to generate custom shortcodes effortlessly.

Steps to Use the Shortcode Builder:
  1. Navigate to the “Video Gallery → Dashboard” menu in your WordPress Admin Dashboard.
  2. Click on the “Shortcode Builder” tab.
  3. Select a shortcode type:
    • Single Video: Add a video player with a single video.
    • Video Gallery: Add a collection of videos.
    • Video Categories: Display video categories.
    • Search Form: Add a search form.
  4. After selecting a shortcode type, fill out the relevant form displayed below.
  5. Click the “Generate Shortcode” button.
  6. Copy the generated shortcode and insert it into your POST/PAGE where required.

Using the Gutenberg Blocks from the Plugin

All-in-One Video Gallery comes with several Gutenberg Blocks, each serving a specific function.

How to Access the Plugin’s Gutenberg Blocks:
  1. Go to your WordPress Admin Dashboard.
  2. Open a post or page editor.
  3. Click the plus (+) button in the top left corner or within the body of the post/page.
  4. Type “aiovg” in the search field.
  5. You will see the list of available blocks:
    • AIOVG – Video Player: Displays a video player with a selected video.
    • AIOVG – Video Categories: Displays a list of video categories.
    • AIOVG – Video Gallery: Displays a list of videos.
    • AIOVG – Search Form: Displays a video search form with additional search options such as filtering by categories, tags, and sorting order.
  6. Select the block you need and configure its settings as required.

Using the Sidebar Widgets from the Plugin

All-in-One Video Gallery comes with several widgets, each serving a specific function.

Note: Some themes do not support widgets. If your theme does not support widgets, you will not be able to use the plugin’s widgets.

Steps to Use the Widgets:
  1. Navigate to “Appearance Widgets” in your WordPress Admin Dashboard.
  2. Click the plus (+) button in the top left corner or within the specific widget area.
  3. Type “aiovg” in the search field.
  4. You will see the available widgets:
    • AIOVG – Video Player: Displays a video player with a selected video.
    • AIOVG – Video Categories: Displays a list of video categories.
    • AIOVG – Video Gallery: Displays a list of videos.
    • AIOVG – Search Form: Displays a video search form with additional search options such as filtering by categories, tags, and sorting order.
  5. Select the widget you need and configure its settings accordingly.

By following this guide, you can effectively use the Shortcode Builder, Gutenberg Blocks, and Widgets from the All-in-One Video Gallery plugin to enhance your website’s video content presentation.

Scroll to Top