Technott
  • Home
  • Featured
  • Software
  • Gadgets
  • Hacks
  • Security
  • Facebook
  • Google
  • Open Source
  • Apple

Add Facebook Like button to your WordPress or blogger blog

Apr23
2010
5 Comments Written by Sudip


Facebook likeFacebook has introduced the Like button which can be posted on blogs and websites. When the visitors clicks on it, Facebook posts the message on their Facebook profile saying “He likes this(link)”. This button enables to like the post and also display how many visitors have liked it. If you are already logged on to Facebook, it displays the name of friends who like the post. Here’s how it looks on your blog:

Facebook like

Facebook Like button displayed on post

Facebook Like button

Link Displayed on Facebook Profile after clicking like

Here’s how you can add Facebook Like button to your Blog:

1) For WordPress Blog:

Just copy and paste the following code to single.php of your WordPress blog to display the like button on your posts.

2) Add Facebook Like button on your blogger blog:

For Modern Templates: Inside the Edit HTML find the following line:

<div class=’post-footer-line post-footer-line-1′>

And then paste the code below the following code:

<iframe
   allowTransparency='true'
   frameborder='0'
   scrolling='no'
   expr:src='"http://www.facebook.com/plugins/like.php?href="
             + data:post.url
             + "&amp;layout=standard&amp;show-faces=true&amp;"
             + "width=530&amp;height=60&amp;action=like&amp;"
             + "colorscheme=light"'
   style='border:none; overflow:hidden; width:530px; height:60px'/>

For Classic Templates, copy the following code:

[Via] Digital Inspiration

Related posts:

  • ‘Shocking Video: Teacher Nearly Kills School Child!’ is a scam app on Facebook [Alert]
  • Facebook’s silly mistake – Shows “Become a fan” for Groups
  • World Cup…being played on facebook?
  • “Optical Illusion! [HQ] ” – Facebook video link which may contain virus
  • Bug cause facebook to disable chat
  • The Funniest Facebook Groups and Pages
Posted in Facebook, Web
« LinkedIn comes with New Link-Sharing features
» Hackers make Android to run with iPhone
  • http://www.tech.aakarpost.com Aakar

    Nice info, but your code is not working in blogger. Inverted comma ( ‘ ) should be corrected.
    :)

  • http://www.tech.aakarpost.com Aakar

    Nice info, but your code is not working in blogger. Inverted comma ( ‘ ) should be corrected.
    :)

  • http://technott.com sudip kafle

    @aakar Thanks for the correction. I think its now ok

  • sudip

    @aakar Thanks for the correction. I think its now ok

  • Dxganesh

    great info !! thanks for sharing!!!


Follow @thetechnott

TECH TIPS & NEWS VIA EMAIL

Recent Posts

  • Facebook improved its photo viewer
  • Surgical Robots To Get Open Source Platform
  • Major attraction of CES 2012
  • Google Is Rolling Out Its New Homepage Design
  • iOS, Android Hits One Billion Apps Download Record in a Week
  • TED: Meeting the Dancing Ballbot, Rezero
  • Report: There is only four degree of separation between two people
  • Google+ rolled trends as twitter
  • Phones and Tablets with Android 4.0 Ice-cream Sandwich
  • Sparkleshare is now available for Android

Recent comments

  • ??? ????? ?? ?????? on Facebook Adds new feature to change profiles to Pages
  • ??? ????? ?? ?????? on Facebook Adds new feature to change profiles to Pages
  • webstar on Zoom Photos on Facebook
  • Usama Asghar on How to send files on Facebook chat
  • Anonymous on How to send files on Facebook chat

About Technott

Technott is a blog on Web and Tech. Our articles focus on Digital World, Hardware & Softwares, Blogging, Linux, Mobile phones and so on. More
  • About Technott
  • Twitter -@thetechnott
  • Email - thetechnott @ gmail
  • Contact us
  • Advertise

EvoLve theme by Theme4Press  •  Powered by WordPress Technott
Information and Technology blog