#1 Tuto :: letak like button di bawah setiap post

salam sayang semua , salam aidilfitri jugk ,
hri ni dyg excited nih nk bwat tuto yg di request oleh cik fathnin


see ? okay , sebnrnya dia mnta button like , tp *typo punye psal . 
dyg dgn senang hati pun nk tolong , yela, 
ilmu ni mna bole kdekut knn ? 
okay , before nk start dyg nk bgi korg short-info first , about button like di post ni , 
actually , there are 2 ways first , cra yg commonly org selalu guna coding html, and sec. cra manual .
okay nk thu cra manual tu cmna ? rilek first, 
pergi cra pertma dlu ,
1. Coding HTML :
as usual , first go to Dashboard > Template > Edit HTML > CTRL+F
cari kod ni :
<b:if cond='data:post.title'>
dah jumpa kan sekarang ni paste kan kod di bawah ni bawah kod yang di atas.
<iframe allowTransparency='true' expr:src='&quot;http://www.facebook.com/plugins/like.php?href=&quot; + data:post.url + &quot;&amp;layout=button_count&amp;show_faces=false&amp;width=90&amp;action=like&amp;font=arial&amp;colorscheme=light&amp;height=21&quot;' frameborder='0' scrolling='no' style='border:none; overflow:hidden; width:90px; height:21px;'/>

p/s: important note ! PREVIEW dlu , klu xda error or anything prob . SAVE jer :) 

okay , tu cra pertama , now, cra kedua cra ni biasa nye utk  korg yg x sebrp nk terror guna coding-2 ni, mklum lh tkut blog yg sedia ad cntik , tkut jdi error pulakkk ann ? ok, lets go,
2. Manual way :
as, usual, Dashboard > Layout > Add a  Gadget > HTML / JavaScript
and then copy kod ni :

<iframe scrolling="no" frameborder="0" allowtransparency="true" style="border: medium none; overflow: hidden; width: 280px; height: 40px;" src="http://www.facebook.com/plugins/like.php?href=http://bloggergadislurvlolipop.blogspot.com&layout=standard&show_faces=false&width=280&action=like&font=arial&colorscheme=light&height=40"></iframe>

 and then paste dekt dlm html/javascript , and save
lpas tu letk dekt bwh blog posts tu, yg kat dlm layout tu , fhm ? xfhm ? alaa , cm ni ::


terus save and then view blog , cra ni x perlu risau , sebb klu error pun xyah nk karau sgt .
delete je dah okay jgk  .

note :: klu da ikut tuto ni , inform dyg tauw , klu ad pape problem, inform je kat ruang komen tu mna yg dyg leh bntu dyg bntu :D
gOt tO gO nOw ! ^_*

No comments: