If you have a YouTube channel, and are looking to increase the number of viewers and subscribers to it, a great way of doing so is by placing a subscribe button on your WordPress website. Google allows you to generate the code to do just that. They also give you the option to pick a couple of different button designs.
Full video instructions:
Generating the YouTube Subscribe button code
Go to developers.google.com/youtube/youtube_subscribe_button. Here, scroll down until you see ‘Configure a button’.
Channel name or ID: Here, add your channel name. Your channel name is the last part of the following URL: https://www.youtube.com/user/yourchannelname.
Layout: Use the dropdown menu to select either ‘default’, or ‘full’. The default button is just the red ‘Subscribe’ button, the full button includes a link to your channel, and your channel avatar.
Theme: Use the dropdown menu to select either the ‘default’ or the ‘dark’ theme. The default theme doesn’t have any background color, the dark theme has a dark grey background. You can only do this for the full YouTube subscribe button.
Subscriber count: Use the dropdown menu to select either the ‘default (shown)’
Once you have configured the button to look what they way you want, copy the code from the codebox.
Adding the code to WordPress
You can add the YouTube subscribe button to any part of your WordPress website where you can add HTML code. A good place to add your subcribe button is the sidebar of your website, so it’s visible on (almost) every page of your website. Therefore, in this demo, I’m going to show how to add the button to your sidebar.
Go to WordPress, and click ‘Appearance’, and then ‘Customize’.
Click ‘Main Sidebar’, if it’s not selected by default. Click ‘Add a Widget’, and then ‘Text’.
Add a title for your text widget. I make it say ‘Watch my videos!’. Then, paste the button code that you copied earlier in the text box. Click ‘Save & Publish’ to save your new sidebar widget with your YouTube button.
The finished result, in my case, looks like this: