First thing you need to do is install and activate the WP Like Button plugin. For more details, see our step by step guide on how to install a WordPress plugin.
Upon activation, the plugin will add a new menu item labeled WP Like Button to your WordPress admin bar. Clicking on it will take you to plugin’s settings page.
First you need to select where you want to display the Like button and choose whether you want the button to be mobile responsive or not.
Next, you need to provide a Facebook App ID or an Admin ID of a user who has access to Facebook insights. You can use your own Facebook username or ID here.
Under the default image setting, you can upload an image that will be used when a post or page does not have a Facebook thumbnail. Leave this option, we will show you how to set Facebook thumbnail later in this article.
Under ‘What to like’ option, you need to select ‘Each page/post will have its own like button’. After that you need to select a layout, alignment, language, for your Facebook button.
At the bottom of the page, you will be able to see a preview of how the button will appear on your site.
Once you are finished, click on the ‘Save Settings’ button to store your changes.
That’s all, you can now visit your WordPress site and you will see the Like button for each post.