Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Alternatively you can "hack" the code of Disqus. I'll try to explain what I did step-by-step:</p> <ol> <li>Get the newest file of the main disqus function. It should be something similar to this: <code>http://disqus.com/forums/(your-site-id)/count.js</code></li> <li><p>Copy that script somewhere, you can "beautify it" to make it more readable. Than find and change the <code>displayCount</code> function to whatever you want to like this:</p> <pre><code>c.displayCount = function (a) { for (var b, c, e, g, f = 0; f &lt; a.counts.length; f++) if (b = a.counts[f], c = h[b.uid]) e = b.comments === 0 ? "0 drivels" : b.comments == 1 ? "1 drivel" : "{num} drivels", g = e.replace("{num}", b.comments), a.showReactions &amp;&amp; (e = b.reactions === 0 ? a.text.reactions.zero : b.reactions == 1 ? a.text.reactions.one : a.text.reactions.multiple, e !== "" &amp;&amp; (g += " " + a.text.and + " " + e.replace("{num}", b.reactions))), c.element.innerHTML = g }; </code></pre> <p>(note the drivels ;)</p></li> <li><p>Save (upload) the whole file somewhere on your server and remember the path</p></li> <li><p>Use Wordpress administration to edit the Disqus plugin - file <code>disqus-comment-system/disqus.php</code> and find line that contains concatenated url withthe word <code>count.js</code>. It is in about 3/4 of the file. As of now the line looks like this but it might change in the future:</p> <pre><code>s.src = '//' + '&lt;?php echo DISQUS_DOMAIN; ?&gt;/forums/' + disqus_shortname + '/count.js'; </code></pre></li> <li><p>Make this link point to your newly-uploaded file like this (I used relative URL):</p> <pre><code>s.src = '/wp-include/custom/disqus-count.js'; </code></pre></li> <li><p>Save it and profit! It took me more than an hour to figure this out so I hope this actually helps someone (I needed to translate these messages into my native language). A great benefit of this approach is the fact that if your language uses different word forms for different numbers (other than 0, 1 and more), you can script it in.</p></li> </ol>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload