How to Create Video Gallery?

Want to showcase videos in a nice gallery with sorting and searching options? This article will help you achieve it.

Have a look at the demo page for Video Gallery.

In order to create a video gallery follow the steps –

Step 1 – Add a new portfolio.

Step 2 – Add a Title and Set portfolio type as Video.

Step 3 – Set Thumbnail Image and Video URL.

  • Make sure the video URL is full and valid. Shortened URL will not work.
    • For example – For YouTube,
      • Valid URL – https://www.youtube.com/watch?v=YE7VzlLtp-4
        Invalid URL – https://youtu.be/YE7VzlLtp-4


Step 4 – Set categories and other categories for the video.

  • If you have set a similar category for different portfolio types ( Website, Image, Video, Single Page ) you can add a tag to make the video more specific.

Step 5 – Repeat above 4 steps to add all your videos to the portfolio.

Step 6 – Copy the IDs for all categories, other categories, and tags that are set for all videos in the portfolio. See how to get the ID for categories, other categories, and tags? 

Step 7 – Go to a page where you wish to display Video Gallery. Use following shortcode with the IDs that you copied in step 6.

wp_portfolio show-categories="yes" categories="1,2,3,4" show-other-categories="yes" other-categories="5,6" tags="10" columns="2" show-search="no" 

See more information about all shortcode attributes here.

Your Video Galley will display on the page. You can use the above shortcode in the post as well.

Note: After adding the shortcode to the page, if you are getting No Items Found message on the page in the front end, flush the permalinks once.