Problem with replacing facebook comments

Posted in: Newsmag
Post count: 30

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?

Post count: 7909

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!

Post count: 30

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:

View post on imgur.com

Also, will i have go to every single post to disable comment? :O

Post count: 7909

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!

Post count: 30

thanks for replying, it worked!

But there is wrong comment count showing “view 625 more”, how do i remove it?

Post count: 7909

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!

Post count: 30

cool thanks!

Viewing 7 posts - 1 through 7 (of 7 total)
The forum ‘Newsmag’ is closed to new topics and replies.