This button is similar to facebook & twitter send buttons.
HOW TO ADD THE BUTTON TO YOUR BLOG.
To add this button,just follow the steps below carefully.First,login to your Blogger Account.
Go to Design/Layout →→ Edit HTML.[Backup your template in case something goes wrong.]
Check the box next to
Expand Widget Template and search for </head> by pressing CTRL+F.
<script type="text/javascript" src="http://apis.google.com/js/plusone.js">{lang: 'en-US'} </script>
Now,to add this button directly below your post title,search for <data:post.body> and paste the codes below directly above/before <data:post.body>,but if you would like it after your blog posts,then paste the code below/after <data:post.body>.HERE'S THE CODE
<div style='float:left'><g:plusone size="standard" expr:href="data:post.url"/></div>
You can also change the size of the button above by changing the text in red to either small,medium or tall.All that is left for you to do now is preview your blog to ensure there are no errors,and afterwards SAVE YOUR TEMPLATE.
Tidak ada komentar:
Posting Komentar