Skip to content

Devi Sri Mari Blog:: Web Technology Trends, News, and Social Media

Menu
  • About Me
  • CONTACT US
  • Sample Page
  • WEB DEVELOPMENT
Menu

How to Add a Facebook Like Button to WordPress?

Posted on January 27, 2014

facebook-like

To add the Facebook famous “Like” and “Recommend” button to your posts and it increase their website popularity.

First, Login as administrator in your WordPress admin panel. Then go to Appearance -> Editor.

Then place the following code wherever you want the like button to appear:

<iframe src=http://www.facebook.com/plugins/like.php?href=<?php echo urlencode(get_permalink($post->id)); ?>&amp;layout=standard& amp;show_faces=false&amp;width=350&amp;action=like&amp;colorscheme=light scrolling=”no” frameborder=”0″ allowTransparency=”true” ></iframe>

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • “Who needs Superheros when there is a Real hero and she is called as Mother”
  • Improve Your Business Behind Social Media
  • Single-Page Application Benefits and How it Works
  • World Sparrow Day
  • Google’s ‘Mobilegeddon’ Will Affect Search Results
  • How To Use Google’s New Blocked Resources Report
  • Wikipedia Lists Ten Most Edited Pages Of 2014
  • Google Is Shutting Down The Google Earth API
  • Google Maps App Adds Real-Time Weather & Facts
  • Google Maps App Gets Design Revamp
©2023 Devi Sri Mari Blog:: Web Technology Trends, News, and Social Media | Design: Newspaperly WordPress Theme