What is the benefits in putting Facebook Like Button on their blogs?
Some blogs put this because they just want to customize their blog others put Facebook Like Button because they want it. But the benefits of this to bloggers is traffic. Why? Not just a simple like it's done. When they like it, of course it will automatically link to the readers Facebook account. Whatever the user do it will automatically published to their account. So when they like, it will automatically published to their account they like on your link. So if their friends saw it, he/she might interested and view your blog post. Then, you get traffic!
Now, let me teach you on how to add Facebook Like Button in every posts for Blogger.
1. Sign in to your Blogger > Dashboard > your blog’s Template > Proceed > Edit HTML, and check “Expand Widget Templates”
2. Look for this code (Ctrl + F)
<data:post.body></data:post.body>
3. Then, put this code above if you want to put before post body and below if you want to put after post body.
<!-- facebook like this -->
<iframe allowTransparency='true' expr:src='"http://www.facebook.com/plugins/like.php?href=" + data:post.url + "&layout=standard&show_faces=true&width=100&action=like& font=arial&colorscheme=light"' frameborder='0' scrolling='no' style='border:none; overflow:hidden; width:450px; height:60px;'/>
<!-- /facebook like this -->
That code will look like this
Other Facebook Like Layout Options
Facebook Like Button A
<!----Button Count---->
Code:
<b:if cond='data:blog.pageType != "static_page"'>
<div style='padding: 10px 0px 5px 0px;'>
<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&height=21"' frameborder='0' scrolling='no' style='border:none; overflow:hidden; width:100px; height:21px;'/>
</div>
</b:if>
<b:if cond='data:blog.pageType != "static_page"'>
<div style='padding: 10px 0px 5px 0px;'>
<iframe allowTransparency='true' expr:src='"http://www.facebook.com/plugins/like.php?href=" + data:post.url + "&layout=box_count&show_faces=false&width=55&action=like&font=arial&colorscheme=light&height=65"' frameborder='0' scrolling='no' style='border:none; overflow:hidden; width:55px; height:65px;'/>
</div>
</b:if>
Customize button
layout = standard / button_count [choose layout]
show_faces = true / false [show picture]
action = like / recommend [option : Like or Recommended button]
colorscheme = light / dark [color]
height: 60px [adjust height]
0 comments :
Post a Comment