Wednesday, 22 August 2012

Tutorial : Facebook Share button



Dashboard = Design = Edit Html = Tick Expand Widget Templates

Tekan CTRL + F serentak. Lepas tu, cari code ni
<div class='post-header-line-1'> 
           Kalau tak jumpa. Haa.. cari code ni pulak
           <div class='post-header-line-1'/>

Ehh.. ade 2 bentuk button. Korang pilih la mana-mana. Haa.. lepas tu, korang paste kan code antara 2 bentuk button tu kat bawah code yang korang cari tadi.

<div style="float:right;padding:4px;"><a expr:share_url='data:post.url' name='fb_share' rel='nofollow' type='box_count'/> <script type="text/javascript" src="http://static.ak.fbcdn.net/connect.php/js/FB.Share"/></div>

<div style="float:right;padding:4px;"><a expr:share_url='data:post.url' name='fb_share' rel='nofollow' type='button_count'/> <script type="text/javascript" src="http://static.ak.fbcdn.net/connect.php/js/FB.Share"/></div>

Save. Siap!! :)



No comments:

© Copyright 2012 | ALL Right Reserved to Fatin Comel