Need help? Call us on 1300 789 260

How to Add a Facebook Like Button to WordPress

Difficulty: Intermediate


  • Admin login for WordPress


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.
  3. Then place the following code wherever you want the like button to appear:
    <iframe src="
    <?php echo urlencode(get_permalink($post->id)); ?>&amp;layout=standard&
    scrolling="no" frameborder="0" allowTransparency="true" ></iframe>

The final result should look like this:

Was this article helpful? Yes No

Having trouble? We’re here to help!

We’ve built our company with a serious focus on quality service. Feel free to give us a call!

1300 789 260