Now Reading
How to Add Facebook Comments to WordPress Blog With Simple Steps

How to Add Facebook Comments to WordPress Blog With Simple Steps

by AdminAugust 26, 2016

Widget plays an important role in the success of any blogs, and if you want to know about a different kind of blogger and WordPress. In WordPress, Included comment box by default but those style and looks are not so good.

Here are the tricks to change your comment box with Facebook comment box because facebook is greatest social media today’s internet world. So use facebook comment box with your blog or website.


The Comments plugin lets people comment on content on your site using their Facebook account. If people wish to they can share this activity with their friends and friends of friends in News Feed as well. It also contains built-in moderation tools and special social relevance ranking.

Comments Box is a Facebook social plugin that enables user Facebook comments on your WordPress installation.
Here’s how to add this plugin to your Thesis site.

First, place the following code in custom_functions.php:

function fb_comments() {
 if (is_single()) { ?>
 <div class="fb_comments">
 <div id="fb-root"></div><script src=""></script><fb:comments href="<?php the_permalink(); ?>" numposts="5" width="500" publish_feed="true"></fb:comments>
 <?php }
add_action('thesis_hook_after_post_box', 'fb_comments');

Then, place the following code in custom.css (modifying as desired to match your own site design):

.fb_comments { margin:20px; clear:both; }


The Comments Box When Not Signed Into Facebook. Feel free to comment below regarding our article and blog.

Please wait...
About The Author

Leave a Response