Disqus, a comment platform, tends to go out and change the comments number hook for WordPress. This may end up causing your theme to show the text “View Comments” instead of the actual comment count that you want it to show. The reason why Disqus tries to replace the comment count shown by WordPress is that it will be out of sync with the actual comment count on many occasions. So by having these replacement settings, your comment counts should match what they are in Disqus however getting rid of this replacement settings will make your pages load faster. Recently, we had an opportunity to work on a client’s site that had this issue ruining the styling of their comments count box. In this article, we will show you how to prevent Disqus from overriding your WordPress Comment Count in themes.
// Disqus: Prevent from replacing comment count remove_filter('comments_number', 'dsq_comments_text'); remove_filter('get_comments_number', 'dsq_comments_number'); remove_action('loop_end', 'dsq_loop_end');
Your comment count might be off if you do this. So you should go in your Discussions setting and disable Trackbacks. Also check the boxes that says commenters must be registered and they must have a previously approved comment.
That was quite a bit of hassle to make sure that we get the right comment count number in our WordPress themes.