The ” Comments” text displayed is most likely a result of the Facebook plugin for WordPress acting on your theme’s call to the comments_number() WordPress function
Comments inside the Facebook Comments Box social plugin are stored on Facebook servers. There is no comment count stored on your WordPress site for the post. Some themes customize the text sent to comments_number()
to match their own styling or wording.
The Facebook plugin for WordPress attempts to recreate the default output of comments_number()
when 2 or more comments are present. The Facebook plugin for WordPress outputs markup to be interpreted by the Facebook JavaScript SDK when the page is loaded.
<fb:comments-count href="https://example.com/?p=1"></fb:comments-count> Comments
becomes “3 Comments” after the Facebook JavaScript SDK evaluates the page and replaces the placeholder with a value from Facebook’s servers.
A few things you can do to troubleshoot:
- View source on your affected page and search for “
<fb:comments
” to locate pieces of your page to be replaced by the Facebook JavaScript SDK.
- Check for “connect.facebook.net” in your page source as an indicator the Facebook JavaScript SDK will load.
- Watch out for multiple Facebook-related plugins that may possibly load the Facebook JavaScript SDK but not evaluate your page for Facebook-related markup such as comments count or Like Button.