
To add Facebook share button below post title, simply follow these steps:
- Back up your layout/template.
- Go to Layout then Edit HTML tab.
- Check Expand Widget Templates. The page will automatically refresh.
- Now find this code:
<data:post.body/> - Now paste the following code before:
<data:post.body/><!-- Facebook Button --> <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 Button --> - Now save the changes and view your blog, facebook like button will surely appear below the Title of your post. ref. to Pic. 1
- Similarly if you will paste the code below the :
<data:post.body/> , the facebook button will be place at end of the content., Ref. to Pic. 2
