How to Display the Facebook Comment Count in WordPress Theme

Like Tweet Pin it Share Share Email

Just lately, we confirmed you the right way to setup fb feedback for WordPress. One of many draw back of utilizing that plugin is that it overtakes all WordPress comment_count features, and it outputs a fb branded model of the remark rely. This will likely trigger points to your WordPress design specifically if you’re utilizing a remark bubble to only show the quantity. On this article, we’ll present you the right way to show the fb remark rely in your WordPress theme.

All it’s important to do is paste the next code in your theme file the place you wish to show the remark rely:

<fb:comments-count href="<?php echo get_permalink($post->ID); ?>"></fb:comments-count> Feedback

Hope you’ll find this helpful whereas designing your WordPress themes.

Comments (0)

Leave a Reply

Your email address will not be published. Required fields are marked *