Wednesday, June 1, 2011

How to add google plus 1 button to your posts.

Now google's +1 is trend among blogger's, here are
the simple steps on how to add it
STEP 1:
Goto blogger dashboard and select edit HTML tab
under design option.Press ctr+f and search
for   <head>.  Place the below code immediately after it.

<script src="http://apis.google.com/js/plusone.js" type="text/javascript">
</script>

STEP 2:Again go to edit HTML and search for <data:post.body/> 
 and paste the code given below after it.

<div style='float:right; margin-right:10px;'>
<g:plusone expr:href='data:post.url'></g:plusone>
</div>
 Then press savebutton  to save the edited template.
note:If you want to show it on the left side type: style='float:left .






No comments:

Post a Comment