Add youtube subscribe button into website

Add youtube subscribe button into website

In this tutorial we learn to connect our wordpress website with our social site audience.  Add youtube subscribe button into website . If you have youtube channel. Then you can redirect to your audience from facebook or any social site to website.

To add youtube channel subscribers button on wordpress website login your youtube channel  go to your channel art page first. Now type in your google search bar developers.google.com/youtubeNow search subscribe button and click over the add button. Now copy the url of your youtube channel. For example copy the only text after www.youtube.com/ like this green highlightedtext

.https://www.youtube.com/channel/UCeY4lDCUZ0JvTn4i_uM_ycA

Now paste this copied url in google developers categorized name channel name or id. Now you’ll see your subscribers count below. To add you youtube channel icon choose layout option and select full option. Now your icon also will be visible with your subscribers. You can  show and hide your subscribers count with subscribers count option.

After that you’ll get two codes of your youtube subscribe button.Now copy and paste the code in two batch. For example in green color and second in red color like below. So firstly copy first code of green color and go to your wordpress accout.

1.Open dashboard.

2.Click over the appearance option.

3. Select editor

4. Choose theme header

Find </header> tag and paste your code just before </header> html code.

Add youtube subscribe button into website
Add youtube subscribe button into website

Now click over the appearance and choose widgets option and search text option. And drag it into right sidebar to show where you want.

Click over the text option and give the title of your subscribe button. Paste your red color copied code into the content box to complete this process.

Add youtube subscribe button into website
Add youtube subscribe button into website

<script src=”https://apis.google.com/js/platform.js”></script>

<div class=”g-ytsubscribe” data-channelid=”UCeY4lDCUZ0JvTn4i_uM_ycA” data-layout=”full” data-count=”default”></div>