Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/javascript/460.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript Wordpress Discuss comment count.js不';不能实时更新_Javascript_Wordpress_Comments_Disqus - Fatal编程技术网

Javascript Wordpress Discuss comment count.js不';不能实时更新

Javascript Wordpress Discuss comment count.js不';不能实时更新,javascript,wordpress,comments,disqus,Javascript,Wordpress,Comments,Disqus,我已经在wordpress中集成了Disqs插件&我需要在页面顶部显示评论计数。我已经使用了count.js <script id="dsq-count-scr" src="//xyz.disqus.com/count.js" async></script> 但在20分钟后计算更新。虽然它在disqs comment embed中显示正确的count和comment,但不是通过count.js 如何实时显示更新的评论数。为什么更新需要20分钟

我已经在wordpress中集成了Disqs插件&我需要在页面顶部显示评论计数。我已经使用了count.js

<script id="dsq-count-scr" src="//xyz.disqus.com/count.js" async></script>

但在20分钟后计算更新。虽然它在disqs comment embed中显示正确的count和comment,但不是通过count.js

如何实时显示更新的评论数。为什么更新需要20分钟