How to Show Latest Videos From YouTube Channel in WordPress

218

Youtube is the largest video hosting site on the web which is why many bloggers use it to upload their videos. We have written a lot about Youtube and WordPress such as automatically fetching thumbnails for YouTube videos, add share buttons, make your videos responsive to fit all devices, etc. In this article we will show you how to show latest videos from YouTube channel in WordPress. We will also show you how to create beautiful video galleries to display in your sidebar widgets, posts, and pages.

Displaying a YouTube Channel Gallery in WordPress

Video Tutorial

 

Subscribe to WPBeginner

If you don’t like the video or need more instructions, then continue reading.

First thing you need to do is install and activate the YouTube Channel Gallery plugin. After activating the plugin, go to Appearance » Widgets to display latest videos in a sidebar widget. On the Widgets screen, drag and drop YouTube Channel Gallery widget to a sidebar.

YouTube Channel Gallery widget is highly configurable, so you need to set it up. First you need to provide is a user ID or a playlist ID in the feed tab of the widget.

Click on player and thumbnails tabs to choose player and thumbnail sizes for your gallery. Once done save your settings.

Below is an example of how the channel gallery would look like in your sidebar:

You can also add a YouTube channel gallery in any WordPress post or page using a shortcode, like this:

[Youtube_Channel_Gallery user="wpbeginner"]

If you want to display a playlist instead of a channel or user, then simply change the feed type to playlist and instead of providing a user ID, enter the playlist ID like this:

[Youtube_Channel_Gallery feed="playlist" user="UUhA624rCabHAmd6lpkLOw7A"]

To display video description along with the thumbnail, you can add the following parameters to the shortcode:

[Youtube_Channel_Gallery user="wpbeginner" title="1" description="1" thumbnail_alignment="top" descriptionwordsnumber="10"]

We hope this article helped you show latest videos from your YouTube channel on your WordPress site. Subscribe to our YouTube channel for WordPress video tutorials.

For questions and feedback you can leave us a comment below or catch us on Twitter or Google+.