Add a Youtube Subscribe button to WordPress

By | April 29, 2015

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 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:

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.


The default button (left), and the full button (right).

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.


The default and the dark theme YouTube subscribe button.

Subscriber count: Use the dropdown menu to select either the ‘default (shown)’


Subscribe button with subscriber count, and without subscriber count.

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 ‘Widgets’.


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:


6 thoughts on “Add a Youtube Subscribe button to WordPress

  1. Samantha

    Very informative. Nice step by step instructions that are easy to follow and use of visuals. Keep up the good work.

  2. Eoinmc

    That’s a great idea. I’ve made one or two videos and intend to make some more, but allowing someone to access my channel from my site would be a very good addition. I didn’t even know you could do it, so your instructions will be very handy. Cheers!

    1. GuidoGuido Post author

      Thanks Eoin! Most people really like video content, so I can highly recommend making more videos!

  3. Emily

    hi Guido
    very thorough and organized instructions you are providing! It makes it easy to follow and the screen shots are very helpful. Sometimes just reading instructions is not enough, thus the visual aid really helps

  4. stuart

    Wow what a very informative website, and post. Thank you for sharing. From Stuart


Leave a Reply

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