What's WP
Our everything is about WordPress - best choice of WordPress users!
How to Add a Facebook Like Button to a WordPress Site?

How to Add a Facebook Like Button to a WordPress Site?

Add Facebook Like button to WordPressFacebook is one of the most popular social networking sites over the world, with over 1 billion active users and millions of posts sharing every day. Think about that, if your WordPress site can promote on it with millions of fans, how many visitors can be driven to your site. Luckily, Facebook officially released its Like button that allows users quickly share content on Facebook to freely advertise their companies, products or websites.

As a website owner, you want more visitors, more traffics, and more touches. So, this is a great way to make it. We are going to share the advantages of adding Facebook Like button, and show some simple ways you can implement Facebook Like button into a WordPress site.

The Advantages of Adding Facebook Like Button

Facebook is one of the most visited websites which covers users from 13 to 77. Each user has a news feed where she or he can see the updates from friends. So if one user shares something new, all her or his friends will be reminded.

By adding a Facebook Like button to WordPress, you can easily market your site with millions of Facebook fans. When readers click the “Like” button on your post, they automatically share your post on their Facebook wall. That means your posts or pages can instantly and freely advertise on your readers’ Facebook pages, and attract thousands of their friends at the same times.

For instance, a reader with 500 Facebook friends clicks the Like button on your post, so all of the 500 friends will be reminded. Then, they will go to see the updates, and may Like your post as well, and thing continues as this. So, this is the best free word of mouth advertising.

Following the below simple steps to add the Facebook Like button to your WordPress site, you can make your site spreads widely on Facebook. In general, there are two ways to add the Facebook Like button to a WordPress site:

  • Using default Facebook Like button.
  • Using a WordPress plugin.

Below, we introduce the two methods in detail.

Adding Facebook Like Button in WordPress Directly

Facebook has released a Like button using Extend Facebook Markup Language (XFBML) at the developer page so you can simply go there and get it. In addition, you can also use the configurator to customize the layout and style of Like button.

Go to the Facebook developers page:
https://developers.facebook.com/docs/reference/plugins/like/
, scroll down to the Configurator.

add Facebook Like button in WordPress

There are 6 options to customize, URL to like, width, layout style, font, color scheme, verb to display. Once you entered the details, click the Get Code button and you can copy the snippet and paste it into your HTML.

  • To display Facebook Like button in WordPress side bar, you can login into WordPress admin panel, go to Appearance – > Widgets, drag the Text to the Main Sidebar on the right, to activate it and paste the code in it.
  • add Facebook Like button in WordPress

  • If you want to add the Facebook Like button into all pages and post top on the screen, you can go to the theme directory and open the hearder.php, paste the code under the bottom and save the file.
  • While you want to display the button into all pages and post bottom on the screen, you can go to the theme directory and open footer.php, paste the code in it and save the file.

Adding Facebook Like Button in WordPress Using a Plugin

There are many WordPress plugins available to add a Facebook Like button to your post or page. You can get some useful plugins at WordPress.org.

Before selecting a plugin, you need to review the documentation and user ratings. Or you can following some lists of best WordPress plugins. Below is the best plugins we ranked for some aspects, all of the plugins are reviewed by our editors comprehensively and deeply, you can check it if needed.

For Facebook Like button, you can go with the WordPress plugin Like. Log into your WordPress admin panel, go to Plugins -> Search “Like”, install and activate it.

add Facebook Like button

Still now, everything is ok. All your posts will be added a Facebook Like button under the title and under the content. If you want to change the button, just Edit it in Plugins.

Author

Joyce is a professional writer & SEOer who loves trying new things and sharing the experience through blogging. She loves clean design, playing with different WordPress themes, SEO, etc. Now she is very struggle with purchasing a bubbling apartment in downtown. You can help her by clicking our ADs or making a purchase via our links ;-)

Close

Want to Learn More About WordPress?

Get Our Free Themes, Plugins, Support, SEO Tips, and Other Tutorials!

Email *