in this tutorial i'll show you how to add your custom facebook like button !
Step 1 : Goto : Design > Edit HTML > and Check " Expand Widget Templates " Box .
Step 2 : Find this code
<div class='post-footer-line post-footer-line-1'/>Just after it put your custom code .
Now i will show you 3 custom codes for it
A - Standard :
Code for it :
<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>
- -B - Button Count :
Code for it :
--<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= &show_faces=false&width=100&action=like&font=arial&colorscheme=light"' frameborder='0' scrolling='no' style='border:none; overflow:hidden; width:75px; height:27px;'/></div> </b:if>
C - Box Count :
Code for it :
<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= &show_faces=false&width=100&action=like&font=arial&colorscheme=light"' frameborder='0' scrolling='no' style='border:none; overflow:hidden; width:53px; height:65px;'/></div> </b:if>
--
Step 3 : Chose any code from the 3 above and paste it after - Step 2 - Code .
Now Save your work and Have Fun :)
===
watch how to make it ?
4 comments:
This is a nice article..
Its very easy to understand ..
And this article is using to learn something about it..
php tutorial
Thanks a lot..!
Hi, this doesn't work - search for code: div class='post-footer-line post-footer-line-1'/ brings up: 'Phrase not found'. But thanks anyway.
I cant find this code in my blog. Why?
class='post-footer-line post-footer-line-1'/
Hurrah, that’s what I was exploring for, what a stuff! existing here at this blog, thanks admin of this post.
THE Funeral Homes Website Design by OptiMized360.
Post a Comment