Facebook is the most successful web portal among all social networks including Twitter and Myspace where people actually are spends lots of time on daily basis interactive with their friends and doing things of their interest. In case you are running a blog and not much active on Facebook, you are loosing big quality traffic stream from Facebook having more than 500 million members. It’s time to create some solid presence for your blog on Facebook by giving your blog readers the facility to share their favorite content on Facebook. Here is how to manual for adding Facebook Share Buttons on Blogger (Blogspot) and WordPress blog posts:
Adding Facebook Share Button to Blogger blog posts
Follow the following process to add Facebook share Button to each of your Blogger blog post:
- Login into your Blogger and on the Dashboard Click Design –> Edit HTML
- Take backup of your template before proceeding to the next step by clicking the Download Full Template link
- Mark the check box against Expand Widget Templates to view full HTML version
- Find the following code into your template:
<div class=’post-header-line-1′/>
And paste the following code just after this line of code:
<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> - Click Save Template button to see Facebook Share Button in action on your blog.
This way Facebook Share Button
will be added in each of your post just after title towards right. And to show this button towards left, just replace right with left in div style=”float:right first line code. You can use the following code to change the Facebook share button style as per your choice:
Replace box_count with button_count to use button
in this style
Replace box_count with button to show button
in this style
And replace box_count with icon to show Facebook button
in this style
Adding Facebook Share Button to WordPress Blog Posts
There is a Facebook Share Button plugin available in WordPress Plugins Directory here that you can use to show Facebook Share Button in each of your WordPress blog posts. You can customize this plugin as per your choice easily without making changes in coding.
- Download this plugin and copy into /wp-content/plugins/ directory
- Activate from Plugin Menu into your WordPress Admin
- Go to “Facebook Share” option to configure the button
Let me know if you face any difficulty in installing Facebook Share button on Blogger or WordPress blogs in the comments section below.
If you like this post, subscribe to Scope For Money feed via RSS or via EMAIL for latest updates…!








{ 14 comments… read them below or add one }
Looks easy enough to do! Now theres no stopping whoever wants to do it then
Till then,
Jean
Yes, it true. You are loosing quality traffic when you aren’t on Facebook, twitter and myspace.
Great tool! This way it’s much easier for blog readers to share something from our blog on facebook. So we could get more traffic without doing much!
Thanks!
Your blog post shared on Facebook means quality web traffic to your blog.It will definitely going to increse your blog reputation.
just replace right with left in div style=”float:right first line code. You can use the following code to change the Facebook share button style as per your choice…
But then, would blogs with few visitors benefit from showing the FB counter, as it will show a big ‘static’ zero… I believe blogs with steady number of readers should show those FB icons, it can fire back easily and show that the blog is not ‘active’ enough…
Or what do you think?
Adding a Facebook share is a great way to get more traffic and to promote your site better. Everyone uses Facebook and its a great form of promotion.
Really satisfy with your thoughts. You will get maximum benefit of these, if you have blog with decent traffic. But with low traffic blogs even, you can get some social media votes easily.
As long as you have the right target then it could maximize your post and increase much traffic for your site. These are indeed helpful widgets to implement in your blog.
If you liked this post and if it helped you in implementing the facebook buttons, then please consider sharing this post on Facebook using the button on the top-right of the post
….
Thanks for share code and tips for add facebook share button..it will helpful for wordpress users.
Thanks, looks quite easy to do. That explains why I’ve been seeing a ‘Like’ option next to virtually every article I’ve been reading on various websites lately.
Does anyone know how to change the icon that gets published to the facebook news feed when you share the post?
I tried this several times and it doesnt work. I get this error message:
Your template could not be parsed as it is not well-formed. Please make sure all XML elements are closed properly.
XML error message: Open quote is expected for attribute “{1}” associated with an element type “style”.
What am I doing wrong and what can I do to get the share button on my blog?
Ed