In this article, we will show you how to add a YouTube subscribe button in WordPress.
Method 1: Manually Adding YouTube Subscribe Button Code
The first thing you need to do is visit the YouTube subscribe button page on the Google Developer’s website.
On this page, you will need to enter your YouTube channel’s name, select a layout, theme, and subscriber count option. It will display a live preview of how your button will look on the website. Once you are satisfied, simply scroll down to copy the embed code.
Next, you need to login to the WordPress admin area of your site and go to Appearance » Widgets. There you will need to drag and drop a text widget to your widget area, and paste the YouTube subscribe button code inside the widget.
Once you are done, don’t forget to save your changes and visit your website to see the YouTube subscribe button in action.
Method 2: Using Plugin to Add a YouTube Subscribe Bar
Another way to add a YouTube subscribe button on your website is by adding it below every YouTube video on your site. This offers additional exposure and can help you significantly increase your subscribers.
First you need to install and activate the YouTube Subscribe Bar plugin.
Upon activating the plugin, you need to go to Settings » YouTube Subscribe Bar to add your YouTube channel ID. You will also need to style the button layout, choose a button theme, and show subscribers count.
The YouTube subscribe bar plugin allows you to add some text before the button and edit its styling. You can use this area to add a call to action like “Subscribe to My Channel”.
Once you are done, make sure to click on the Save Changes button to save your settings.
This plugin will automatically display your YouTube Subscribe bar below every YouTube video on your site. The YouTube Subscribe bar will appear on the videos from your channel and third-party channels, so you can share useful video content on your site and get more subscribers on your YouTube channel.
Note: The YouTube subscribe bar plugin only works with oEmbed videos. It will not work with videos embedded via iFrame.
We hope this article helped you add the YouTube subscribe button in WordPress. You may also want to check out our guide on how to track user engagement on your WordPress site.
If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.