Google publisher code with badge and 1 button

  • can anyone tell me how to customise the +1 button just for the blog link…. i mean http://www.valobashavalobashi.wordpress.com this is the url of my blog.. so when anyone press the “+1” button i want my blog URL to be “+1″‘d…. it means my “blog” will be highlighted in the google search result, not any content of my blog…. can anyone help me?

  • Do you mean you want all +1’s to go to your main blog URL>?

  • Thanks for this! Worked perfectly when I used the code rbong posted (minus spaces).

  • I’m completely confused! I’ve tried several times to get this to work. The only option that WILL work is if I choose Icon only as the Type. But I’d like it to be the full badge. The code that the badge generator is giving me looks nothing like what is posted here or in the comments here, so I really don’t know what to highlight and do. Given that it’s a wordpress.com blog I don’t know where or how to post anything in the “header” area. This is the code it’s giving me (maybe it will show up correctly in this comment):

    <!– Place this tag in the <head> of your document –>
    <script type=”text/javascript”>
    window.___gcfg = {lang: ‘en’};
    (function()
    {var po = document.createElement(“script”);
    po.type = “text/javascript”; po.async = true;po.src = “https://apis.google.com/js/plusone.js”;
    var s = document.getElementsByTagName(“script”)[0];
    s.parentNode.insertBefore(po, s);
    })();</script>

    <!– Place this tag where you want the badge to render –>
    <g:plus href=”https://plus.google.com/113813546623352105834″ rel=”author” width=”300″ height=”69″></g:plus>

  • Nevermind that last post…..I got it to work finally. Sorry.

  • The topic ‘Google publisher code with badge and 1 button’ is closed to new replies.