How To Create A Flexible WordPress Video Gallery With Posts Table Pro

Need to create a WordPress video gallery on your site? WordPress gives you a built-in tool to display image galleries, but WordPress isn't quite as generous when it comes to creating video galleries. In this post, I'll share some real use cases for these types of video galleries. Then, I'll give you a quick tutorial on how you can actually get up and running with your own flexible WordPress video gallery using the Posts Table Pro plugin from Barn2 Media.
Our Sponsors
Essential plugins for your WooCommerce store
Build unbuildable WordPress websites
The best no-code Instagram feed plugin for WordPress

Need to create a WordPress video gallery on your site? WordPress gives you a built-in tool to display image galleries, but WordPress isn’t quite as generous when it comes to creating video galleries.

While there is technically a core function to create a video “playlist”, it only works with videos that you host on your own server. But because hosting videos on your own server is generally a pretty horrible idea, that functionality isn’t very useful in most situations.

Instead, if you’re like most people, you’re probably embedding videos from a third-party service like YouTube, Vimeo, or Wistia. And that might leave you wondering, “how can I create a WordPress video gallery from external videos that I’m embedding on my site?”

In this post, I’ll share some real use cases for these types of video galleries. Then, I’ll give you a quick tutorial on how you can actually get up and running with your own flexible WordPress video gallery using the Posts Table Pro plugin from Barn2 Media.

example of a wordpress video gallery

While I’ll focus on embedding external videos in this gallery, the method that I show you will still work just fine even if you’re hosting your own videos.

Here Are Some Examples Of Use Cases For Video Galleries

While you can probably think up plenty of creative uses outside of this list, some of the most common ways to use a WordPress video gallery are…

A Video Portfolio

If you make videos for a living, that’s a pretty good reason to want to showcase your work. But there are plenty of other professions that might be better off with a video gallery portfolio as well.

An Updated Feed Of Your Latest Content

If you make YouTube videos for a living, you can create an automatically updated gallery of your latest content using a combination of the method that I’ll discuss in this post plus WP RSS Aggregator.

That way, you can bring in all of your YouTube videos to your site automatically and display them exactly how you prefer.

A Playlist Of Videos

Whether they’re your own videos or you just want to create a playlist from other people’s videos, a video gallery gives you the power to display the exact information that you want and put the videos in a specific order.

A Video Sharing Site

If you have a video sharing site, a video gallery lets you do cool things like:

  • Display the latest videos in one spot
  • Showcase featured videos in one spot

You can then even direct your users back to the full post that contains that video.

How To Create A WordPress Video Gallery With Posts Table Pro

While some regular WordPress gallery plugins let you include videos, the Posts Table Pro plugin is actually a great option to create WordPress video galleries because:

  • It gives you exact control over what information you display (or don’t display)
  • Your visitors will be able to sort your videos by tags, categories, or even search for keywords
  • You can automatically update your videos based on an RSS feed (in conjunction with a plugin like WP RSS Aggregator)

Posts Table Pro

Get started creating a flexible WordPress video gallery with Posts Table Pro.

Start your free trial now

Basically, most of the pre-made WordPress gallery plugins are fairly one-size-fits-all, while Posts Table Pro is going to give you a lot more control over how you display things.

In order to get that flexibility, you’ll need to perform a tiny bit of prep work. But I think that prep work is worth the extra control.

Basically, Posts Table Pro works by displaying…a table of your posts (makes sense given the name, right?). So to create a WordPress video gallery, you’ll first need to add each video to a post.

Rather than storing videos in regular WordPress posts, which would get in the way of your blog, I recommend creating a Video custom post type instead. That might sound daunting, but I promise you that it will only take you about a minute to do it. Trust me!

Step 1: Create Video Custom Post Type

There are a bunch of plugins that can help you create a custom post type from your WordPress dashboard. I’ll show you using Custom Post Type UI because it’s super simple, but Pods is another great option.

Once you’ve installed and activated Custom Post Type UI, go to CPT UI → Add/Edit Post Types.

Enter:

  • Post Type Slug – video
  • Plural Label – videos
  • Singular Label – video

And then click Add Post Type:

create custom post type

Bam! That’s it – you just created a custom post type. I told you it was easy, right?

Now, you can access your new video custom post type by clicking on the Videos option in your WordPress dashboard:

your custom post type

Step 2: Add Videos To Your Site

Next, you need to add the videos that you want to display by going to Videos → Add New. It should look exactly like the regular WordPress editor.

Enter:

  • The video’s title in the Title box
  • The video embed code in the body of the post (you can also embed your own self-hosted videos here, if desired)

add video

Then Publish your video.

If you want to create multiple video galleries and/or allow your readers to sort by categories/tags, you might also want to create a custom taxonomy. A custom taxonomy is exactly like regular WordPress categories or tags, only you can assign it to your new video custom post type.

If you want to do this:

  • Go to CPT UI → Add/Edit Taxonomies
  • Fill in the basic information just like you did for your custom post type
  • Under Attach to Post Type, make sure to check the box for Videos

custom taxonomy

Then, you’ll be able to assign tags to your video in the WordPress editor:

taxonomy

Step 3: Display Video Gallery Using Posts Table Pro

At this point, you should have a list of videos that looks something like this:

list of videos

Now, all that’s left to do is use Posts Table Pro to actually display those videos on your frontend site in a nice gallery.

Once you’ve installed and activated the Posts Table Pro plugin, you’ll do this using a shortcode and various shortcode parameters.

The basic shortcode looks like this:

[posts_table]

But to actually make it display the gallery, you’ll need to add some modifying parameters. Some of the things that you can do with parameters are:

  • Add drop-downs so that visitors can filter/sort by categories or tags
  • Add an AJAX search box so that visitors can search your gallery without a page reload
  • Control exactly what information displays in each column. For example, maybe you want to display the date a video was added or a description of the video.

For a more detailed explanation of all the options available to you, I recommend that you check out the developer’s post on using the plugin for a video gallery, as well as the full list of shortcode parameters.

I’m going to skip straight to the point though and show you my finished product:

[posts_table post_type="video" shortcodes="true" columns="content:Watch Now,title,excerpt:Description,tax:video_category" widths="40,15,30,15"]

That shortcode generates the video gallery that I showed you at the beginning of the post:

example of a wordpress video gallery

If you’re wondering where the description text comes from, I activated the Excerpt box in the Custom Post Type UI settings and then added an excerpt to each video post.

You don’t have to follow my layout, though! The nice thing about the plugin is that you can actually customize your gallery to make it exactly your own.

Posts Table Pro

Get started creating a flexible WordPress video gallery with Posts Table Pro.

Start your free trial now

Add Links, Buttons & Icons to Your Table

Here’s a quick video on how to take your video gallery that extra step through the use of links, buttons and icons.

Step 4: Automatically Import Videos With WP RSS Aggregator

If you just want a static WordPress video gallery where the content never changes, you’re done at this point.

However, if you want to keep your video gallery constantly updated, you can go one step further and use the WP RSS Aggregator plugin to regularly import new videos…on autopilot!

This ensures that your visitors are always getting a fresh dose of content. You can either:

  • Import videos from your own channel/source for an automatically updated gallery/portfolio of your own work.
  • Import videos from other channels, or even keywords.

You can also mix-and-match as needed, and even create different video galleries for your own videos vs the work of others.

To pull this off, you’ll need:

  • WP RSS Aggregator – this is the free core plugin that lets you import any type of RSS feed to your WordPress site. This includes RSS feeds from, say, YouTube or other video sites.
  • Feed to Post add-on – this is a premium add-on that will let you import RSS feed items to the “Video” custom post type that you created in Step 1.

Beyond that, you’ll need the RSS feed for the videos that you want to import. If you’re importing videos from YouTube, here’s how to find the RSS feed:

First, go to the channel that you want to import and copy the Channel ID from the URL:

Find channel ID

Then, paste the Channel ID at the end of this URL – like this:

https://www.youtube.com/feeds/videos.xml?channel_id=

For example:

https://www.youtube.com/feeds/videos.xml?channel_id=UCpcuDVckku6eQkIs2XdkF4w

And that will give you access to all the latest content from that channel.

Once you have your RSS feed and you’ve installed both WP RSS Aggregator and the Feed to Post add-on, here’s how to set things up…

First, go to RSS Aggregator → Feed Sources → Add New to add a new “feed source”. A feed source is basically any single RSS feed – for example, the RSS feed to your YouTube channel:

Create new feed source

Give your feed source a name to help you remember it. Then, paste the RSS feed URL into the URL box. If you entered a working RSS feed, you should see a summary of the latest feed items in the Feed Preview section of the sidebar:

Add feed URL

Next, look at the Feed to Post – General settings. In the Post Type dropdown, select the Video custom post type that you created in Step 1. This tells WP RSS Aggregator that you want to import these feed items to that post type.

Beyond that, make sure to check the box for Allow Embedded Content so that the YouTube video embed will show up. And you can also use the Post Status option to choose whether to automatically publish new videos, or hold them as drafts (you’d then need to manually approve and publish each feed item):

Once you’ve done that, scroll down to the Feed to Post – Images section and set the Featured image to use drop-down equal to Feed <media:thumbnail> tag. This tells the plugin to use the video’s thumbnail as the featured image in WordPress:

Choose featured

Below that, you can use the Feed to Post – Taxonomies section to automatically apply categories or tags to this video. This is optional and depends on whether or not you want to show categories or tags in your WordPress video gallery.

You can also use the Feed to Post – Author section to choose which WordPress account should be the author of the videos. Again – whether or not this is important depends on if you’re displaying the video author in your gallery:

Choose categories

Then, go ahead and click Publish Feed to make your feed live.

Now, WP RSS Aggregator will handle automatically importing new videos to the Video post type, and Posts Table Pro will automatically take those new videos and display them in the same WordPress video gallery format that you configured above.

If you want to import multiple sources, all you need to do is repeat the process.

And if you want to put separate video sources in different video gallery tables, you can use different taxonomies or authors for your RSS feed sources in WP RSS Aggregator. Then, you can use Posts Table Pro’s include options to create multiple different tables, each of which only includes videos from the selected source(s).

Final Thoughts On Building A WordPress Video Gallery

If you just want to throw up a basic WordPress video gallery and are fine with accepting a plugin’s one-size-fits-all design, this method might be a bit overkill.

But if you want to create a video gallery that you have full control of, setting it up like this is going to give you pinpoint control over how everything looks and functions.

Have any other questions about how to create a WordPress video gallery with Posts Table Pro? Leave a comment and we’ll try to help out.

Colin Newcomer
Colin Newcomer
Colin Newcomer is a freelance blogger for hire with a background in SEO and affiliate marketing. He helps clients grow their web visibility by writing primarily about digital marketing, WordPress, and B2B topics.

Consider sharing this post so others can find it:

Share on facebook
Share on twitter
Share on linkedin
Share on reddit
Share on telegram
Share on whatsapp
Share on pocket
Share on email

Join thousands of people receiving real-world, genuine evaluations of WordPress products and services just like this one every week.

Table of Contents

One Response

  1. Hello
    Colin,
    Such a nice post about creating a WordPress video gallery. This is what that I was looking for a long time and finally I have found. Here, I have learned how to create a WordPress video galley with the help of post table pro plugin.

    The step by step guide from your side is easy to know. Looking to download post table pro plugin.

    Thank you so much for sharing.

    Best wishes,
    Praveen verma

Leave a Reply

Your email address will not be published. Required fields are marked *

The Beginner’s Handbook
From an introduction on how WordPress works to our recommendations on products and services.

Join thousands of people receiving real-world, genuine evaluations of WordPress products and services

A single weekly email directly to your inbox.