letak facebook like button at entry
Ahad, 1 Januari 2012| 19:11 |
0
♥
jom tuto huhu . law korang letak button like ni nampak berseri seri blog korang huhu . taw x button like tu macam mana ? tengok button like eija kat bawah sekali tu huhu
dah tau kan ? nak wat x ? nak wat jom kita tutorial ok huhu
1 . Dashboard > Design > Edit HTML > Tick Expand Widget Templates.
nota kaki : Sila backup template korang dulu ok . kalau x nangis berlagu sat lagi huhu
2 . korang cari code yang kat bawah ni ok
<data:post.body/>
3 .
then korang copy code yang kat bawah ni and paste kat bawah code yang korang cari kan tadi tu ok
<iframe allowTransparency='true' expr:src='"http://www.facebook.com/plugins/like.php?href=" + data:post.url + "&layout=standard&show-faces=true&width=530&height=60&action=like&colorscheme=light"' frameborder='0' scrolling='no' style='border:none; overflow:hidden; width:530px; height:60px'/>
4 . kemudian preview dulu baru save ok sayangg huhu
#ANOTHER WAYS!
1 . Dashboard > Design > Edit HTML > Tick Expand Widget Templates.
2 . cari code kat bawah ni ok
<div class='post-footer'>
3 . copy code kat bawah ni di atas code yang korang cari kan tadi tu ok huhu
<script>var flike = {
url : "<data:post.url/>",
buttonType : "standard",
width : "450",
height : "100"
}</script><script
src="http://orkut-share.googlecode.com/svn/trunk/flike.js">
</script>
4 . preview dulu kalau x de error terus save ok hehe
|
Copyright ©. Code thanks to OhMissLinda.