ifaheem.com

ifaheem.com

Sunday, 26 July 2015

add facebook share button to blogger

Facebook is one of the main sources of website traffic. In the post I am going to teach you how to add facebook share button to blogger. By using this button any visitor can share your posts on the blog to facebook and that will increase your traffic.

 The facebook share button that I am going to describe will not only share the post but also will count the number of shares of any post. It will not cover more than an inch space from your site. But it will increase your traffic and does not decrease the speed of website too. Let’s know about it.
First of all go to your browser and press blogger.com. Login to your account and choose the blog in which you want to add facebook share button. Go to TEMPLETE >> EDIT HTML.
Click anywhere in the html and then press CTRL+F to open search box and write the following data:
<data:post.body/>   and press enter  
Now you will see the same script in the html that will be highlighted.
You have two ways now:
·        If you want to add the button above post then add the script above the <data:post.body/>
·        If you want to add facebook share button after the post then add the code below <data:post.body/>

Once you paste the script above or below the code given above, you can change the type of button by your own wish. You can use:
·        box_count is used for full size button with a counter showing number of share.
·        button_count is used for medium size button with a small counter.
·        button is used for only small button.
·        Icon is used for a small button.
 After changing button type from anyone to your desired one, everything is perfect. Now go and preview your site. All done? Ok. Click on save template and enjoy. Don’t forget to share this with friends if you liked it.


No comments:

Post a Comment