Saturday, June 30, 2012

Add Facebook Like Button on your Blog!


Today social sites are very much important for webmasters as well as blogger. Because it has a great contribution on SEO. Social sites can influence the visitors to visit your site. But you may not have enough time to share your blog in social sites as you're busy with increasing your site's contents. 

So, in this post I am giving you a simple code by which you can place a Facebook Like button on your blog page. Follow the steps below: 
  1. First go to www.blogger.com
  2. Then go to your blog's layout option.
  3. Now click on Add a Gadget.
  4. Here you'll find a list of gadgets. Scroll down and select HTML/ JavaScript gadget.  
  5. Now copy and paste the following code in the gadget box. 
  6. Now save the gadget and refresh your blog to see the result! 

<div class='sbutton' id='gb'><script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><fb:like layout="box_count" show_faces="false" font=""></fb:like></div>


Now, whenever you or someone else click on this like button it will be directly shared on the associated Facebook profile page. But he should be signed in with his Facebook Account. And you'll also get a comment box when you click on this button. 


Stay with Marks PC Solution to get more interesting IT topics!

No comments:

Post a Comment