How to Show Latest Videos From a YouTube Channel in WordPress

How to Show Latest Videos From a YouTube Channel in WordPress


Hello and thanks for watching WPBeginner channel.
in this video you’ll learn how to
show the latest videos from YouTube channel in WordPress.
Having a youtube channel is a great way to
broaden your audience by offering a different
way for people to consume your content.
It’s also a great way to add more content
on your website and now I’ll show you how
to get the latest channel videos on your site.
Go ahead and install and activate Youtube
channel gallery plugin.
You can set it up on different areas of
your site.
To put the videos on the sidebar, I’ll go
to widgets and add the youtube channel gallery
widget here.
Now I need to configure it.
I can choose either a playlist or a user,
I’ll pick user id and add wpbeginner. The
cache time tells the plugin when to refresh
and check for more videos. 24 hours is fine
for this site.
if you have a news site, you might want to
increase the frequency.
I’ll leave the default for the other tabs
and click save.
Now, I’ll go to my site and check it out.
You can also setup a Video Page or Post as
well. I like the idea of a video page so I’ll
show you how to do that.
I’m going to create a new page called Training
Videos and I’ll add this shortcode
I can also add more information in the shortcode
to enhance it.
For instance this shortcode
adds the video title, description and thumbnail
alignment.
See the difference.
You can get a list of shortcodes to use by
going to plugin page on WordPress.org
I hope you liked this video and found it helpful.
If you did, click on the like button below
and leave us a comment.
And if you want to receive more helpful videos
don’t forget to subscribe to our channel
and check out WPBeginner for more useful information
on WordPress.

9 thoughts to “How to Show Latest Videos From a YouTube Channel in WordPress”

  1. Hi! 🙂 Is it possible to show more then 50 Videos in this Plugin?
    I used this Code:
    [Youtube_Channel_Gallery feed="playlist" user="PLNjWgHYsZ2yx8prutggfflZf0Q4BMfvMC" videowidth="580" ratio="16×9" theme="dark" color="red" autoplay="0" rel="0" showinfo="0" maxitems="100" thumbwidth="133" thumbratio="16×9" thumbcolumns="4" title="1" description="0" thumbnail_alignment="top" descriptionwordsnumber="6" link="1"]
    But the Plugin just show 50 of it :/
    Thanks!

  2. Love it, quick and simple! Nice clean presentation! When I have my WP site built, I'll have to have a special thanks page for all the helpful people putting out helpful helps like this one 😉

  3. Not working for me. I am trying to load a news channel on youtube so that the most recent video will appear. I get this code onscreen:

    Error type: "Forbidden". Error message: "The referrer https://www.googleapis.com/youtube/v3/playlistItems?part=snippet,status&playlistId=PL0hKMB1-xkc-XWNf9VL-LxVYysdHpjyMF&maxResults=8&key=AIzaSyB5dD9e79cNzqtSB3OYLlFBDUvIfslKoi4 does not match the referrer restrictions configured on your API key. Please use the API Console to update your key restrictions." Domain: "usageLimits". Reason: "ipRefererBlocked".

    Did you added your own Google API key? Look at the help.

    Check in YouTube if the id PL0hKMB1-xkc-XWNf9VL-LxVYysdHpjyMF belongs to a playlist. Check the FAQ of the plugin or send error messages to support.

    The id DOES identify the playlist I am trying to load.

  4. I have one questions, Let say i have create a page Streaming on that page shows only streaming Youtube videos only, For example i have one user who added this youtube account my website streaming page and now whenever user do streaming video, that streaming video will display on my streaming page without adding streaming link manually.

Leave a Reply

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