How to add a Google Buzz share button to your wordpress blog

No doubt we’ll be graced with a plethora of plugins soon, but if you’re keen to add a Google Buzz button to your WordPress blog manually to share content (via Google Reader), here’s how I did it:

To get the buzz button image on your homepage posts you need to edit your theme’s Main Index Template (index.php). For it to appear on your posts you obviously need to edit Single Post (single.php)

Right after <h2><div class=”post”></h2> in both these files you need to paste the following code:

<div style=”float:right; margin-left:10px”><a href=”http://www.google.com/reader/link?url=<?php the_permalink(); ?>&title=<?php the_title(); ?>&srcURL=http://[YOURBLOGURLHERE]/” target=”_blank” rel=”nofollow external”><img
src=”http://[YOURBLOGURLHERE]/google-buzz.png” width=”50″ height=”58″ alt=”” /></a></div>
Style as you need. I “borrowed” the image from Mashable (thanks Pete!). I suggest you do the same (take it from my blog here) and upload it to your own server. The article will be shared via your Google Reader account. It appears that this is the best way to do it at the moment. The “srcURL” part doesn’t work all that well. I’ll update this post as I get more time to check it out.
Make sure that you link your Google reader account with your Google profile, so that the share carries through to your Google buzz account too. Oh no! Not more noise!

Comments (7)

  1. Andy Kruger wrote::

    I actually found the method at http://pastie.org/819310 before this one. It’s a bit more generic in that it is essentially the code of the Google Reader bookmarklet embedded in a page instead of being in the browser’s bookmarks.

    Thursday, February 11, 2010 at 2:34 am #
  2. matt wrote::

    thanks for sharing Andy

    Thursday, February 11, 2010 at 8:15 am #
  3. Onelargeprawn wrote::

    Here’s the WordPress plugin in case anyone’s interested:

    http://www.clickonf5.org/google-buzz-button-wordpress

    Thursday, February 11, 2010 at 1:38 pm #
  4. Mayur wrote::

    Google Buzz! for blogger blog…I have written a step by step guide to have a Buzz this button below every post in blogger blog.

    Add Google Buzz to Blogger blog

    Thursday, February 11, 2010 at 7:37 pm #
  5. r4ds wrote::

    Thanks guys, im going to add the button to my posts, hope it will bring in some fresh traffic.

    Friday, February 19, 2010 at 8:32 am #
  6. Iuliu wrote::

    Does anyone know where can I get a Google Buzz button for my website? Thanks!

    Friday, February 26, 2010 at 5:08 pm #
  7. Iuliu wrote::

    Did not work for me 🙁 ! But thanks Onelargeprawn 🙂

    Friday, March 5, 2010 at 4:09 pm #

Trackback/Pingback (1)

  1. Google Buzz Button für den Wordpress Blog on Monday, February 15, 2010 at 4:28 pm

    […] http://matthewbuckland.com/?p=1671 […]