Adding a Facebook share count button will show a neat count of how many times your blog post has been shared on Facebook.
<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>
Facebook Share Button Style 2
Code for Facebook Share Button Style 2
<div style="float:left;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>
Facebook Share Button Compact Style 1
Code for Facebook Share Compact Button Style 1
<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>
Facebook Share Button Compact Style 2
Code for Facebook Share Compact Button Style 2
<div style="float:left;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>
How to install Facebook Share Count Button on your Blogger Blog?
1.Select one of the Share Button Styles and copy the Corresponding Code.
2.Now login to your Blogger Dashboard and navigate to Layout > Edit Html and expand the widget templates
3.Find this piece of code
<div class='post-header-line-1'/>
and immediately after that place our Facebook share button code(that you copied)
If you were unable to find this code in your template,then look for the first occurance of
<data:post.body/>
and immediately before that paste our Facebook Share button code(that you copied).NOW CLICK SAVE TEMPLATE
thanks to bdlab
1 komentar:
thanks infonya.
Posting Komentar