The Facebook Like button is a simple plugin that lets people quickly share content on Facebook. It can also display how many have really liked your Posts. Lets find out how to include this effective way of sharing Posts on Social Network.
<iframe allowTransparency='true' expr:src='"http://www.facebook.com/plugins/like.php?href=" + data:post.url + "&layout=button_count&show_faces=false&width=450&action=like&font=verdana&colorscheme=light&height=35"' frameborder='0' scrolling='no' style='border:none; overflow:hidden; width:90px; height:20px;'/>
</div>
- It is always a good practice to first take a backup of Blogger Template before modifying any code in the template.
- Search for <div class='post-header-line-1'/>
- Copy following code and paste just after code <div class='post-header-line-1'/>
<iframe allowTransparency='true' expr:src='"http://www.facebook.com/plugins/like.php?href=" + data:post.url + "&layout=button_count&show_faces=false&width=450&action=like&font=verdana&colorscheme=light&height=35"' frameborder='0' scrolling='no' style='border:none; overflow:hidden; width:90px; height:20px;'/>
</div>
- 'Save Template'
- Thats it.Now you can see Facebook like button appearing after your Post Title.
No comments:
Post a Comment