How to Add Facebook Like Button in WordPress

Facebook like button

If you want to add Facebook Like Button on the WordPress website, then this tutorial for you. You don’t need to install any plugin for this method.

Why is it important to add Facebook Like Button in your WordPress Website? Because having a large number of Facebook likes helps people to attract to your website. And it’s also help to generate more traffic on your site. As you know those sites have outstanding content post, tutorials, article, and blogs have a large number of likes.

You also know that Facebook is one of the largest social media platforms in the world. With the help of a Facebook like button, you allow visitors/viewers to like and share your content on Facebook.

In this tutorial, we will show you how to add Facebook Like button in WordPress site manually. You can also add Twitter Follow Button manually.

Benefits of Adding Facebook Like Button

  • Help to generate traffic to your site form social media
  • Establish a direct connection between the Facebook page and the site.
  • Makes site more attractive
  • It helps to share content on Facebook

Method: Add Facebook Like Button in WordPress Manually

This tutorial, you need to put the code directly in WordPress.

First, you need to go to the Like button page on the Facebook developer website. On the page, they provide you some steps to configure the like button, but you just forget these steps and scroll down to the “like Button Configurator” area.

Facebook Like Button configurator area

You will see some field and drop-down in the “Like-Button Configurator” section.
You need to put your Facebook page URL in the ‘URL to Like’ field. And choose the layout and size of like button as you want. You can also check the ‘Include Share button’ box to add a share button. You will also get a preview of the like button.
Once you are Completed with the preview, click on the ‘Get Code’ Button.

Facebook Like Button Complete Configuration

Clicking on the button this will generate the code and provide you popup showing different code snippets in the “JavaScript SDK” tab. After this tab, you can see the “iframe” tab in the vertical tab menu. Click on it.

Facebook Like Button Source Code

Copy the code and go to WordPress Appearance >> Widgets select the “text” widget and drag it to put in any widget section where you want to place.

WordPress Text Widget

Click on the text tab and paste the code and also put the section title name and click on the Save button.

past Facebook Like Button source Code in the text widget of WordPress

After the saving, go to the site and see the result. You will see the Facebook like button where you placed the widget on your page.

Result Of Facebook Like Button in WordPress

We hope this tutorial helped you to learn how to display social share button in WordPress if you have any queries feel free to comment you can also communicate with us on social media.
If you like this tutorial, then please like us on Facebook and Follow US on Twitter.

Written by 

Leave a Reply

avatar
  Subscribe  
Notify of