I’m trying to get the comment count in my theme replaced by the Facebook comment count. I’m not the wordpress developer I would like to be so I need some help.
This is the block of code that displays my wordpress comment count:
<li class="comment-count"> <?php comments_popup_link(__('<span class="icon"></span> 0', 'framework'), __('<span class="icon"></span> 1', 'framework'), __('<span class="icon"></span> %', 'framework')); ?> </li>
The code to retrieve the amount of Facebook comments should be this:
<fb:comments-count href="<?php echo get_permalink($post->ID); ?>"></fb:comments-count>
I would like the keep the
<span class="icon"></span>before the number of comments.
How can I implement the Facebook code into my theme’s code?
Hope someone can help me out,
- The topic ‘[Plugin: Facebook Comments] change comment count in my theme’ is closed to new replies.