Hello, i want to replace default wordpress comment system with facebook comments,
i have already research on this forum for facebook comment, i saw some people recommended this plugin:
https://wordpress.org/plugins/facebook-comments-plugin/
i have tried install it and i tried to use it via php tag in loop-single-7.php
<?php echo $td_mod_single->related_posts();?>
<?php echo do_shortcode('[fbcomments][fbcomments url="http://peadig.com/wordpress-plugins/facebook-comments/" width="100%" count="off" num="3" countmsg="wonderful comments!"]'); ?>
comment box was showing but it was showing twice itself!

Also how to disable original default comment box?
Hi,
If you want to use the code instead of post comments please edit single_template_7.php and replace comment with it like this: http://screencast.com/t/NZNypc4em3
You have to use the shortcode without php tags:
echo do_shortcode('[fbcomments][fbcomments url="http://peadig.com/wordpress-plugins/facebook-comments/" width="100%" count="off" num="3" countmsg="wonderful comments!"]');
Also to not display twice you have to disable plugin from post: http://screencast.com/t/EefFp69OwZ
Thanks!
I did that but there is still double comment box is showing up, also there is no “disable fb comment” option showing up on post editor:
Also, will i have go to every single post to disable comment? :O
Hi,
Please try this like above, but use this shortcode:
echo do_shortcode('[fbcomments url="http://peadig.com/wordpress-plugins/facebook-comments/" width="600" count="off" num="3" countmsg="wonderful comments!"]');
I removed [fbcomments] and now should work: http://screencast.com/t/pKsAtjq6pCD
You can change width value like you wish.
You don’t have to disable comment to every post if this is set off: http://screencast.com/t/98Gkvu8knu
Thanks!
thanks for replying, it worked!
But there is wrong comment count showing “view 625 more”, how do i remove it?
Hi,
Please read plugin’s instructions for shortcodes: http://screencast.com/t/Yyvvlva3X1yg
Try this without url: http://screencast.com/t/xXpWkVnUZcJ
echo do_shortcode('[fbcomments]');
Result: http://screencast.com/t/PvCoQmpsO
Thanks!
-
This reply was modified 11 years by
Alin [tagDiv].