|
Facebook loike button
Tuesday 31 January 2012 | 00:20 | 0 comments
hey awak semua. sekarang nie ara nak ajar korang macam mana nak letak facebook loike button.! huh? ape tuh loike? like la syg. hehe. ok now ikut step bawah nie ye si cantik/hensem ;) 1. Dashboard => Design => Edit HTML => Don't forget to TICK kotak Expand Widgets Template . 2. tekan CTRL+F and search for this code : data:post.body 3. jumpa tak? jumpa tak? kalau awak semua dah jumpa, copy code kat bawah nie. then paste code kat bawah nie di BAWAH code atas 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. haip! jangan save dulu. preview dulu baru save. kalau jadi barulah save. FOR BLOGSKIN ok yang ini pulak untuk blogskin yeah!? jom ikut step-step ini. 1. dashboard>template 2. ctrl+ F , cari kod ini : <$BlogItemBody$> 3. da jumpa? then copy code bawah ini then paste kat BAWAH code yang korang cari tadi tu. <iframe src="http://www.facebook.com/plugins/like.php?href=<$BlogItemPermalinkURL$>" scrolling="no" frameborder="0" style="height: 62px; width: 100%" allowTransparency="true"></iframe> 4. preview then save. senang ken? ok sampai sini sahaja. |