You can add the Facebook famous "Like" (or Recommend for a more business like term) to your posts and increase their popularity.


  1. Login to your WordPress Admin Site. You can do this directly into WordPress, or if you installed it via Plesk there will be a link in your Control Panel.
  2. Go to Appearance -> Editor.
    how to add a facebook like button to wordpress
  3. Then place the following code wherever you want the like button to appear:

    <iframe src="https://www.facebook.com/plugins/like.php?href=
    <?php echo urlencode(get_permalink($post->id)); ?>&amp;layout=standard&
    scrolling="no" frameborder="0" allowTransparency="true" ></iframe>

The final result should look like this:

how to add a facebook like button to wordpress
Was this article helpful?

Related Articles