• Plans & Pricing
  • Log in
  • Get started
  • WordPress Hosting
  • WordPress for Agencies
  • Become an Affiliate
  • Domain Names
  • AI Website Builder
  • Website Builder
  • Create a Blog
  • Newsletter
  • Professional Email
  • Website Design Services
  • Commerce
  • WordPress Studio
  • Enterprise WordPress 
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • Google Apps
  • Support Center
  • WordPress News
  • Business Name Generator
  • Logo Maker
  • Discover New Posts
  • Popular Tags
  • Blog Search
Get started
  • Sign up
  • Log in
About
  • Plans & Pricing
Products
  • WordPress Hosting
  • WordPress for Agencies
  • Become an Affiliate
  • Domain Names
  • AI Website Builder
  • Website Builder
  • Create a Blog
  • Newsletter
  • Professional Email
  • Website Design Services
  • Commerce
  • WordPress Studio
  • Enterprise WordPress  
Features
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • Google Apps
Resources
  • Support Center
  • WordPress News
  • Business Name Generator
  • Logo Maker
  • Discover New Posts
  • Popular Tags
  • Blog Search
Jetpack App
  • Learn more
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
Search
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
Forums / Adding a YouTube channel badge

Adding a YouTube channel badge

  • Unknown's avatar
    kateandwendy · Member · Jan 2, 2015 at 10:32 pm
    • Copy link Copy link
    • Add topic to favorites Add topic to favorites

    I am trying to add a YouTube Channel badge to my content sidebar however whenever I click save the HTML code changes/ deletes itself and the badge doesn’t display.

    I have been trying to add the following code as a Text widget:

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

    <div class=”g-ytsubscribe” data-channel=”WereLostInMusic” data-layout=”full” data-count=”hidden”></div>

    Can anyone help with where I am going wrong please?

    Thanks!

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar
    timethief · Member · Jan 2, 2015 at 10:34 pm
    • Copy link Copy link

    We cannot post JavaScript code for security reasons on WordPress.COM blogs. The software here strips the code out.
    http://en.support.wordpress.com/code/

    Add Code to Your Site

  • Unknown's avatar
    kateandwendy · Member · Jan 2, 2015 at 10:38 pm
    • Copy link Copy link

    Aha thank you, makes sense now.

    Do you know of another way to do this with a .com site please?

  • Unknown's avatar
    timethief · Member · Jan 2, 2015 at 10:40 pm
    • Copy link Copy link

    Sorry but no I do not have any bright ideas.

    There is no ability to verify any WordPress.com blogs with youtube at this time. There is no blogger access to metadata and we cannot embed anything at all into the <header>. Please read this comparison http://en.support.wordpress.com/com-vs-org/

    If you wish to add YouTube to your verified services on WordPress.com/Gravatar, you can do so here: http://en.gravatar.com/profiles/edit/#verified-services

    You can add a Google Webmaster code for verifying a site with Google (which may be sufficient for YouTube, I’m not certain) in your Tools > Available Tools section of your Dashboard. https://en.forums.wordpress.com/topic/verifying-blog-on-youtube?replies=7#post-1720894

  • Unknown's avatar
    musicdoc1 · Member · Jan 3, 2015 at 2:42 am
    • Copy link Copy link

    @ kateandwendy,

    I am trying to add a YouTube Channel badge to my content sidebar

    Perhaps I’m misunderstanding. Why not use an image widget, or a text widget link?

  • The topic ‘Adding a YouTube channel badge’ is closed to new replies.

Tags

  • content sidebar
  • no javascript widgets
  • widget
  • YouTube badge
  • youtube channel

About this topic

  • In: Support
  • 3 participants
  • 4 replies
  • Last activity 11 years
  • Latest reply from kateandwendy

Couldn't find what you needed?

Contact us

Contact us

Get answers from our AI assistant, with access to 24/7 expert human support on paid plans.

Browse our guides

Browse our guides

Find step-by-step solutions to common questions in our comprehensive guides.

WordPress.com

Products
  • WordPress Hosting
  • WordPress for Agencies
  • Become an Affiliate
  • Domain Names
  • AI Website Builder
  • Website Builder
  • Create a Blog
  • Professional Email
  • Website Design Services
  • WordPress Studio
  • Enterprise WordPress
Features
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • Google Apps
Resources
  • WordPress.com Blog
  • Business Name Generator
  • Logo Maker
  • WordPress.com Reader
  • Accessibility
  • Remove Subscriptions
Help
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
  • Developer Resources
Company
  • About
  • Press
  • Terms of Service
  • Privacy Policy
  • Do Not Sell or Share My Personal Information
  • Privacy Notice for California Users
DeutschEspañolFrançaisBahasa IndonesiaItalianoNederlandsPortuguês do BrasilSvenskaTürkçeРусскийالعربيةעִבְרִית日本語한국어简体中文繁體中文English

Mobile Apps

  • Download on the App Store
  • Get it on Google Play

Social Media

  • WordPress.com on Facebook
  • WordPress.com on X (Twitter)
  • WordPress.com on Instagram
  • WordPress.com on YouTube

Automattic

Automattic
Work With Us
    • WordPress.com Forums
    • Sign up
    • Log in
    • Copy shortlink
    • Report this content
    • Manage subscriptions