comment_count.js sets comments to 0
-
Hi
Our Disqus-plugin (latest version 3.0.17), is setting all our articles to commentcount 0, for some reason.
Normally it works just fine – but currenly it’s somehow broken. (No changes has been made from our site).
Example of code:
<span class="entry-meta"><span class="entry-comments disqus-comment-count" data-disqus-url="https://URLGOESHERE.dk/2019/10/ARTICLE_TITLE/">23</span><abbr class="published" title="2019-10-03T10:00:30+02:00">3. okt. 2019</abbr><div></div></span>
After comment_count.js is loaded, it changes the value to 0, instead of 23 (from our WordPress calculations, cause we have a local backup).
What’s going on? All URL’s looks correct.
We would like to have the count to be defined/updated by Disqus (as it have in the part), but NOT to invalid data (o:
I’ve fixed it temporary by removing
data-disqus-url="' . get_permalink() . '"
, but that not ideal, for sure!
- The topic ‘comment_count.js sets comments to 0’ is closed to new replies.