i have installed Disqus comment system on one of my wordpress blogs, but i want the comment numbers to show as 0
instead of 0 Comments
or 12
instead of 12 Comments
. Previously there used to be an Appearance section in Disqus admin that used to have an option to change this output as was suggested in answer to this question. But seems like the Appearance
section has been taken off by Disqus. Is there any other way to achieve this (without messing with the plugin code, ofcourse.) ??
UPDATE:
Well, looked into the plugin source as well but no use, seems like they are updating it using javascript. After enabling Reactions
now it returns 0 comments and 0 Reactions
.
UPDATE#2:
okie so i at last found where it is coming from ... the plugin basically includes a count.js
files from yoursite.disqus.com\count.js?some wierd parameters
, and the js file looks something like this:
var DISQUSWIDGETS;
if (typeof DISQUSWIDGETS != 'undefined') {
DISQUSWIDGETS.displayCount({"showReactions": true, "text": {"and": "and", "reactions": {"zero": "0 Reactions", "multiple": "{num} Reactions", "one": "1 Reaction"}, "comments": {"zero": "0 Comments", "multiple": "{num} Comments", "one": "1 Comment"}}, "counts": [{"reactions": 0, "uid": 1, "comments": 0}, {"reactions": 0, "uid": 0, "comments": 0}, {"reactions": 0, "uid": 3, "comments": 0}, {"reactions": 0, "uid": 2, "comments": 0}, {"reactions": 0, "uid": 4, "comments": 0}]});
}
the worst part is we can't even change the code in the js
file as it is hosted on disqus
itself.