Blog Archive
My Facebook
Sunday, April 24, 2011
Install facebook like button to blogger post facilitate the blog visitors to give the like vote at your blog posts, the greater number of votes indicates many visitors likes your posts.
Position of Facebook like button installation
There are several positions of Facebook like button installation that you can choose. Here’s How To In Blogger give two examples in facebook like button installation and the HTML code.Top of blogger post
Below is the code:
<b:if cond='data:blog.pageType == "item"'>
<iframe expr:src='"http://www.facebook.com/plugins/like.php?href=" + data:post.url + "&action=like&layout=standard&show_faces=false&width=450&font=arial&colorscheme=light"' allowTransparency='true' frameborder='0' scrolling='no' style='border:none; overflow:hidden; width:450px; height:25px;'/>
</b:if>
<data:post.body/>
Under of blogger post
Below is the code:
<data:post.body/>
<b:if cond='data:blog.pageType == "item"'>
<iframe expr:src='"http://www.facebook.com/plugins/like.php?href=" + data:post.url + "&action=like&layout=standard&show_faces=false&width=450&font=arial&colorscheme=light"' allowTransparency='true' frameborder='0' scrolling='no' style='border:none; overflow:hidden; width:450px; height:25px;'/>
</b:if>
How to add facebook like button
First of all you should to do is choose the position has been given above, then do the following steps for the details installation on your blog:- Please login to blogger with your ID
- Click on Design
- Click on Edit HTML tab
- Do the backup for your template first by clicking on Download Full Template
- Check the small box besides Expand Template Widget
- Find this code on your template (tips: use the finder facilities on your browser for the faster searching, click Ctrl+F to activate then enter the code).
<data:post.body/>
- Delete the code <data:post.body/> then replace with the facebook like button code in accordance with the position you want. For example, if you want to install facebook like button on under of the post, the code used as follows:
<data:post.body/> <b:if cond='data:blog.pageType == "item"'> <iframe expr:src='"http://www.facebook.com/plugins/like.php?href=" + data:post.url + "&action=like&layout=standard&show_faces=false&width=450&font=arial&colorscheme=light"' allowTransparency='true' frameborder='0' scrolling='no' style='border:none; overflow:hidden; width:450px; height:25px;'/> </b:if>
- Click Save Template button
- Done.
Label:
tips blog
Subscribe to:
Post Comments (Atom)
0 komentar:
Post a Comment
Mohon jangan meninggalkan SPAM dan link-link yang negatif!!
Untuk Artikel yang berumur lebih dari 20 hari akan dimoderasi oleh Admin.