Tagged: facebook comments
Can you help me with where i should insert the code below:
<div class=”fb-comments” data-href=”http://example.com” data-num-posts=”3″ data-width=”470″></div>
for activating facebook comments nicely under the posts, in order to use facebook commenting function along with wordpress comments.
You can try to insert this code in includes/comments.php after following code line:
<div class='comment_meta_container alpha three units'>
Suggestion almost worked, however posted comments and the facebook comment plugin are within each other. I guess we need some editing with the visual stuff.
You can view the current situation:
<?php if ( have_comments() ) : ?>
<div class=’comment_meta_container alpha three units’>
<div class=”fb-comments” data-href=”http://gezinim.com” data-num-posts=”3″ data-width=”470″></div><p>
printf( _n( ‘One Response to %2$s’, ‘%1$s Responses to %2$s’, get_comments_number(), ‘avia_framework’ ),
Hi a b,
Try to add this in your Quick CSS or custom.css:
display: block !important;
float: none !important;
Hope this helps. :)
After checking for a longer while, i noticed that facebook comments plugin is working fine if there is a previous comment in the post but it disappears if the post has no comments posted yet.
What might be causing this?
I’m not sure what’s causing this. Let me tag Kriesi and Peter again to take a look.
I’m also not familiar with the facebook comments plugin and I tagged this for Kriesi. Maybe the plugin requires a hook which is not always available but I’m not sure.
The topic ‘Facebook comments plugin integration’ is closed to new replies.