A Guide to Adding a YouTube Video Gallery to Your WordPress Site
Step 1: Pick a Plugin
If you want to engage visitors with video content on your WordPress site, creating a video gallery is an excellent choice. However, not all WordPress plugins are suitable for video galleries. Here are some of our recommended YouTube video gallery plugins for WordPress:
- YouTube Gallery by YotuWP
- YouTube Embed by Embed Plus
- YourChannel: YouTube Channel Plugin
- Video Gallery – YouTube Playlist, Channel Gallery by YotuWP
- WP YouTube Player
In this tutorial, we will use YouTube Gallery by YotuWP, which is easy to set up and provides a responsive gallery with video thumbnails.
Step 2: Install and Activate the Plugin
To begin, go to your WordPress dashboard and click on the Plugins > Add new. Type “YouTube Gallery by YotuWP” into the search bar and click on the Install Now button. Then, click on the Activate button.
Step 3: Create a YouTube API Key
To fetch data from the YouTube API, you need to create a YouTube API Key. Here are the steps:
- Go to the Google Developers Console and sign in with your Google account.
- Create a project by clicking on the Select a project dropdown in the top navigation bar and click on the New Project button.
- Give your project a name and click on the Create button.
- Once the project is created, click on the Library tab in the left navigation bar.
- Type “YouTube Data API v3” in the search bar and click on the result.
- Click on the Enable button to enable the API for your project.
- Click on the Create Credentials button.
- In the Create Credentials pop-up, select the API Key option.
- Copy the API Key that is generated, and you are done.
Step 4: Configure the YouTube Gallery Plugin
Now that you have created your YouTube API Key, it is time to configure your plugin. Follow these steps:
- In your WordPress dashboard, click on the YouTube Gallery > Settings.
- In the General tab, paste your YouTube API Key in the API Key field.
- In the Display tab, select the settings you desire for your gallery, such as the number of videos to display, thumbnail width and height, and display style.
Step 5: Create a YouTube Video Gallery
The next step is to create your YouTube video gallery. Here are the steps to follow:
- In your WordPress dashboard, click on the YouTube Gallery > Add New Gallery button.
- Give your gallery a title and description.
- In the Gallery Settings tab, select the YouTube Channel or Playlist you want to display in your gallery.
- In the Gallery Appearance tab, choose the layout and style of your gallery.
- In the Gallery Display tab, select the settings for how you want your videos to display.
- Click on the Save button to create your gallery.
Step 6: Embed the YouTube Video Gallery on Your WordPress Site
The final step is embedding your YouTube video gallery on your WordPress site. Follow these steps:
- In your WordPress dashboard, create a new page or post where you want to display your gallery.
- Click on the Add Media button.
- Select the Create Gallery option.
- Select the YouTube gallery you created in the previous step.
- Click on the Create a new gallery button.
- Click on the Insert gallery button to embed your YouTube video gallery on your WordPress site.
Adding a YouTube video gallery to your WordPress site is a fantastic way to engage your visitors with video content and enhance your site’s visual appeal. With the YouTube Gallery by YotuWP plugin, the process is both easy and quick. We hope this tutorial has been helpful in guiding you through the process.