Monday 9 April 2012

How to add facebook share button at your blog post?

It’s a very useful button for your blog. Facebook share button helps visitor to share your post in his/her wall or any group. This button helps you to get more traffic in your blog.

To add facebook share button in your post, follow those steps.
Login blogger.com with your id.
Click Design then click Edit HTML.
Click Download Full Template.
Click Expand Widget Templates. Page will atomically refresh.   
Find the following using Ctrl+F.
 <data:post.body/>
Paste the below code after <data:post.body/>.

<!-- Facebook Share Button Start-->
<div style='float: left; padding: 5px; '>
<a expr:share_url='data:post.url' name='fb_share' rel='nofollow' type='TYPE OF BUTTON'/>
<script src='http://static.ak.fbcdn.net/connect.php/js/FB.Share' type='text/javascript'/>
</div>
<!-- Facebook Share Button End -->
If you already add facebook like button at the end of the post body the paste the code just between <data:post.body/>. And facebook like button code.
Click Save Template.
Now you are done.
Can’t  forget to download template before edit template.

Related post



0 comments:

Post a Comment

Note: only a member of this blog may post a comment.

Don't miss any update. to get our all update, like our Facebook fan page or follow us on Twitter or you can subscribe email newsletter.