Facebook is a very popular social networking site. It is also a very good source of advertisement of your blog post. You can add a facebook like button below the title of your blog post. See an example below:
What's the benefit of adding a facebook like button to your blog post? Anyone who clicks this button, ultimately shares your blog post story on their facebook wall or timeline. It means more advertisement and more visits to your blog.
Here is how to add a facebook like button to your blog post:
- Go to template settings of your blog.
- Click on ‘edit HTML’ then proceed.
- Expand Widget Templates.
- Find this line in template :
<div class='post-header-line-1'/>
- Now paste this code after above line:
<b:if cond='data:blog.pageType == "item"'>
<iframe allowTransparency='true' expr:src='"http://www.facebook.com/plugins/like.php?href=" + data:post.url + "&layout=standard&show_faces=false&width=100&action=like&font=arial&colorscheme=light"' frameborder='0' scrolling='no' style='border:none; overflow:hidden; width:450px; height:40px;'/>
</b:if>
- Save template and you are done.