How to Put Facebook Like Button on WordPress
I’ve been seeing this question around lately and decided to create a mini-tutorial on how to put Facebook Like button on a WordPress blog.
1. Go to Appearance > Editor.
2. Load your index.php file
3. Look for your content loop, usually it should start with this: <?php the_content(); ?> some might have additional texts inside those parenthesis.
4. Add this:
5. Update the file.
6. Next load your single.php file
7. Add the same codes under the <?php the_content(); ?> and update the file.
Here’s and example under my template:
Under my index.php file, here’s how I did it:
And under my single.php file, here’s how I did it:
If you have questions, I’ll try to answer them. :p




















thanks for this tutorial!
Chris recently posted..Teach Kids to Deal with Anger