WordPress: Facebook Like

Now, it is easier than ever to add the Facebook famous “Like”/”Recommend” to your posts and increase their popularity.

First, you need to login as administrator to the WordPress admin panel. Then go to Appearance -> Editor.

Then place the following code wherever you want the like button to appear:

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

And that’s it! You will now have a Facebook Like button!

Looking for quality WordPress Hosting? Look no further than Arvixe Web Hosting!

Tags: , , , , | Posted under WordPress | RSS 2.0

Author Spotlight

TJ Marsh

TJ Marsh

My name is Tj Marsh. I spend about 16 hours a day on the internet. Running my company and helping out here at Arvixe. I live in the good ole Arizona where it gets ridiculously hot. I love WordPress and a lot of other open source software along with coding.

Leave a Reply

Your email address will not be published. Required fields are marked *


8 + = 10

You may use these HTML tags and attributes: <a href="" title="" rel=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>