twitter | subscribe: email or RSS | email author | about author

Social media

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=”<?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!