In previous post we discuss about’ how to add facebook like button after blog post?’. Some are want to add this button after post title. In the post I will discuss ‘ how to add facebook like button after post title?’. Now you follow those steps to add like button.
1. At first log in your blogger account .
2. Click on Design.
3. Click Edit HTML.
4. Backup your template.
5. Check the "Expand Widgets Templates" Box.
6. Search <data:post.body/>
7. Paste the Below code before <data:post.body/>.
<!--Facebook like button start-->
<iframe allowTransparency='true' expr:src='"http://www.facebook.com/plugins/like.php?href=" + data:post.url + "&layout=button_count&show_faces=false&width=100& action=like&font=arial&colorscheme=light"' frameborder='0' scrolling='no' style='border:none; overflow:hidden; width:100px; height:20px;'/>
<!--Facebook like button end-->
8. Save your template and you are done!
0 comments:
Post a Comment
Note: only a member of this blog may post a comment.