The 3 Week Diet

Use Facebook Like button and Like box on WordPress

By Deep Wadhwa Our Bestseller: WordPress Themes

Nowadays website builder wants to bring more visitors to their websites. Besides being making good designs, using effective images what else could bring more visitors. In spite of all these features there are some other things that can highlight your website.

Here in this blog post, I will be discussing about Facebook Like button plugin which you can show on the top of your website or anywhere you want. Moreover, I will also talk about the Facebook Like box which you can show in the footer widget or anywhere you want, which will give a clear picture to the visitors about the liking of our website.

How Facebook Like button and Like box can be so effective?

By including a Like button on your website, you can share your content with your friends on Facebook. For more information regarding this, you can follow the link.

On the other hand, Facebook Like box allows the visitors to like your website. The visitors just have to perform a single click and their feedback will be shared on your website. For more information regarding this, you can follow the link.

Let’s know how to add Like button and Like box on your Website.

In the following article, I have added the above features in the Colorway WordPress theme . However, you can add the same features in any other theme.

Adding Facebook Like button on the Website

Follow the steps given below and add Like button on your website.

Click on the link given below
https://developers.facebook.com/docs/reference/plugins/like/ Now mention the URL of your website and get the code as shown below.

This what will you get after this.

Now copy the first code (java script). Open the file header.php of the Colorway theme and place the code as shown below.

Note
: The code should be placed within the body tag, not anywhere else.

Now copy the second code (html code). And in the same file, place the code as shown below.

After this, save the file and visit your website. It will appear as shown below.

Note
: Here, I have placed the code under the logo class as I wanted to show the Like button below the Colorway logo. However, you can place the html code anywhere you want the Like button to be appeared.

Adding Facebook Like box on the Website

Like box can be shown in the sidebar or in the footer widget. Here, I have shown the Like box in the footer widget area.

Follow the steps given below and show the Like box on your website.

Click on the link given below.
https://developers.facebook.com/docs/reference/plugins/like-box/ Now mention the URL of your website and get the code as shown below.

This what will you get after this. Click on the iframe option and copy the iframe code.

Go to your Dashboard and follow the steps as given below.
Dashboard
–> Appearance
–> Widgets Place the iframe code under any of the widgets. Here, I have placed the code under the fourth footer widget.

After placing the iframe code, click on “Save” button. Manage the width and height of the code as per your requirement. Now visit your website. The footer widget area will appear as:

Hope, this article will help you to include the above features on your website. Although, the procedure was very simple and easy so, at any stage you won’t find at difficult at all. If you like this blog post then I would appreciate if your share your feedback below.

About Deep Wadhwa
author

"I believe in basics which builds up perfection and enhance creativity. Thanks to Blogging through which I can share my experience with you!!!!".

Comments and Responses

Share on Google Plus

About Unknown

250 x 250 The 3 Week Diet tips skill football
    Blogger Comment
    Facebook Comment

0 nhận xét:

Đăng nhận xét