Help with adding Google Community Badge

  • Author
    Posts
  • #2040266

    guehla
    Member

    Hi,

    I’m attempting to add a Google + Community Badge (icon) to the sidebar of my site. I’m doing basically the same thing I did for the iTunes icon already there (adding HTML to a Text Widget), but for some reason nothing’s appearing.

    I’m following the instructions here:

    https://developers.google.com/+/web/badge/

    And pasting this code:

    <!– Place this tag in your head or just before your close body tag. –>
    <script src=”https://apis.google.com/js/platform.js” async defer></script>

    <!– Place this tag where you want the widget to render. –>
    <div class=”g-community” data-href=”https://plus.google.com/u/0/communities/112225782282607998164″></div>

    I’ve noticed much of it gets truncated after I hit “Save.” The visibility is set for just a single page.

    Any ideas what I’m doing wrong or what I need to do to make this work?

    Thanks so much for your time and help!

    Chris

    The blog I need help with is onedharmainternational.com.

    #2040351

    raincoaster
    Member

    You can’t use javascript at a WordPress.com blog. You can simply create a Text Widget that links to your G+ profile, or use an RSS widget to pull in your posts from there if you want.

The topic ‘Help with adding Google Community Badge’ is closed to new replies.