本文介绍了如何清除Disqus反应从计数器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Stackoverflow ninjas的两个问题:

Two questions for Stackoverflow ninjas:


  1. 我有一个使用Disqus的博客。然而,我使用的主题没有空间有反应(#的触发器),只是有空间的数字的评论。

    OK,基本上我没有足够的空间留下这个反应为Disqus提供。

  1. I have a blog using Disqus. However, the theme I'm using do not have space to have the 'Reactions' (# of Twitters), just have the space for the numbers of the Comments.

    OK, Basically I do not have space enough to stay with this 'Reactions' provided for Disqus. Does anyone knows how could I remove just the 'Reactions" counts from Disqus?

新的Disqus在你的网站正在使用新的Disqus框中添加一个框。检查Disqus 2012 F.A.Q.

The new Disqus put a box with "Your site is using the new Disqus. Check the Disqus 2012 F.A.Q. or visit our support page for help." message and I would love to remove it. Does anyone knows how to do it?


推荐答案

编辑2:通过在Disqus设置中包含注释计数/反应计数文本选项,我们更容易做到这一点现在可以通过简单地去

编辑1:在几个星期前,下面的解决方案是由于Disqus Classic设置已弃用,因此不再有效。现在,删除反应计数器的唯一方法是完全禁用反应,或使用

在Disqus Classic中,我们有一种方法可以更改注释计数链接我们正在努力将它添加回Disqus 2012,但现在你可以通过以下步骤解决:

In Disqus Classic we had a way to change the comment count link text in the appearance settings. We're working on adding it back to Disqus 2012, but for now you can get around it by following these steps:


  1. 转到Disqus管理员的常规设置,并取消选中顶部的启用Disqus 2012

  2. 点击保存更改后,外观 - 点击

  3. 在您的外观设置中,向下滚动到评论计数链接

  4. 删除评论每个条目。然后,您将要插入一些内联样式为display:none;的HTML以删除反应文本。

  1. Go to your Disqus admin's general settings and uncheck "Enable Disqus 2012" at the very top
  2. After you click Save Changes, you'll see a new tab along the top called "Appearance" - click that
  3. In your Appearance settings, scroll down to "Comment count link"
  4. Remove the word "Comment(s)" from each entry. Then you'll want to insert some HTML with an inline style of "display:none;" to remove the reaction text.

这里是所有字段应该只是得到一个数字:

Here's what all of the fields should look like to just get a number:

Zero Comments      | 0<span style="display:none;">
One Comment        | 1<span style="display:none;">
Multiple Comments  | {num}<span style="display:none;">

Zero Reactions     | 0 Reactions</span>
One Reaction       | 1 Reaction</span>
Multiple Reactions | {num} Reactions</span>

现在,您可以重新启用Disqus 2012,并且评论计数链接偏好设置。

Now you can go ahead an re-enable Disqus 2012 again and the comment count link preferences will carry over.

我们也关闭了New Disqus标题。

We've also turned off the "New Disqus" header.

这篇关于如何清除Disqus反应从计数器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!