letak button LIKE n SHARE fb

December 3, 2010


aek aek !!
morning semue ,
pagi2 lg anys da uat tutorial , heee .
adew permintaan la kta kan ,
ciss bajet pop la sgt , haha
 so aku pn ta segan2 larh menolong blogger2 nyh , heee
kali ini datang dari cik tirah
myb da ramai en yang taw , tp bg y xtw bule la tiru k ,


ok lets start !!


1) bukak Dashboard - Layout - Edit HTML - Tick Expand Widget Templates


2) then cari code dekat bawah ni .kalau nak senang cari, tekan CTRL+F ok .
data:post.body
3) pastu paste kan code dekat bawah neh, dekat bawah code data:post.body td ..yang ini untuk button like yew.


<div>
<b:if cond='data:post.isFirstPost'> 
<script>(function(d){
  var js, id = 'facebook-jssdk'; if (d.getElementById(id)) {return;}
  js = d.createElement('script'); js.id = id; js.async = true;
  js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
  d.getElementsByTagName('head')[0].appendChild(js);
}(document));</script>
</b:if> 
<fb:like expr:href="data:post.url" layout='button_count' send='false' show_faces='false' font="arial" action="like" colorscheme="light"></fb:like>
</div>


4) .then tekan Save! Siap dah! :)



5 ) .kalau nak letak button share pulak, paste code dekat bawah neh dekat bawah code like tuh k.
<b:if cond='data:post.url'>

<a expr:href='"http://www.facebook.com/share.php?u=" + data:post.url'><img alt='www.tips-fb.com' border='0' src='http://i15.photobucket.com/albums/a398/syilpid/share_on_facebook_2.png'/></a>

</b:if>




6) ha amacam ?? ta phm tnye aku ehh .
ringan jari tinggal komen k . adios :}}







14 comments

  1. thazs dear....muahmuah muah..ahhaha
    :)

    ReplyDelete
  2. This comment has been removed by the author.

    ReplyDelete
  3. lorhh cyan . layout? cube carik betul2 ,

    ReplyDelete
  4. die ckp ade error . y laen jd . so nape eak ?

    ReplyDelete
  5. error ? cuba bca tol2 apa y dya ckp error tuh , then delete yang dye ckp error , cth dya ckp html }/ error , so syaza delete }/ la keh , try again . :}}

    ReplyDelete
  6. salam,awak,kecikan siket tulisan tuh boleh?jangan terasa hati pula.

    ReplyDelete
  7. wslam ,, kecil kn tulisan mne yunx ?hee

    ReplyDelete
  8. yaaaaaayy !! dah jadi , thanks for the tuto anys ^_^

    ReplyDelete

Latest Instagrams

© Anis Nadhilah. Design by Fearne.