Go To Blogger > Design > Edit HTML
Click the box "Expand Widget Templates"
Search for
<data:post.body/>
If you use Light template,Just above it paste the code below:
<b:if cond='data:blog.pageType ==
"item"'><div><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:400px; height:27px;'/></div></b:if> <br/>
If you use dark template ,Just above it
paste the code below:
show photos is enabled, but it applies to the standard button only.
To make the like button appear on static pages,
remove two lines of codes:
With those removed, the facebook like button appears on static pages and on blog post pages as well.
notes if you need converter(to PHP,ASP,JS,SP,Perl you cam see our page Zoopy, or see in th top of this blog.. Zoopy..developer..etc
<br/>
<br/>
<b:if cond='data:blog.pageType ==
"item"'>
<div><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:400px; height:27px;'/></div>
</b:if>
<br/>
change standard by default to button_count if you want to
show number of likes.
You can as well set show_faces which is false by default to true.show photos is enabled, but it applies to the standard button only.
To make the like button appear on static pages,
remove two lines of codes:
<b:if cond=’data:blog.pageType ==
"item"’>
</b:if>.With those removed, the facebook like button appears on static pages and on blog post pages as well.
notes if you need converter(to PHP,ASP,JS,SP,Perl you cam see our page Zoopy, or see in th top of this blog.. Zoopy..developer..etc
<<<Code 8 | Code9>>>
0 komentar:
Post a Comment
thank your for your comment