See how I put the Facebook Like and Share button on this blog,
- From Dashboard, go to Design.
- Click on Edit HTML
- Check the Expand Template Widget options
- Then find this Code: (Ctrl + F)
<date:post.body/>
For Like button, copy (Ctrl+C) the code below and put after the code above:
<b:if cond='data:blog.pageType == "item"'>
<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:450px; height:40px;'/>
</b:if>
______________________________________________________________
For Share button, find this Code: (Ctrl + F)
<date:post.body/>
Then copy (Ctrl+C) the code bellow and put before the code above:
<div style='float:right;padding:4px;'>
<a expr:share_url='data:post.url' name='fb_share' rel='nofollow' type='box_count'/>
<script src='http://static.ak.fbcdn.net/connect.php/js/FB.Share' type='text/javascript'/>
</div>
Lastly, Save Template, DONE!
ne button yg untuk d mana ne rosina joseph abi?...yg d bawah post tu ka?
ReplyDeletewaduh, full name tu aka. Ya, ni button Like kat bwh then button share kat atas pula.. Niway nk letak mana² pn boleh..just tukar tmpt code tu.. hehe :)
ReplyDeletenda pandai2 jadi sia punya html ni..adei...ni lah ni nda tau pa tu code2 ...
ReplyDeletesantik juga tu sabahan bloger punya logo tu...hehehe YNWA
hehe..sy jumpa di blog org ba tu, ni link dia (http://stewardjohn.com/) Tp sy modify dia punya code & edit gambar letak logo liverpool..ok jg kn..YNWA~♥
ReplyDelete