# 有办法让静音类别仍显示在类别页面上吗（就像以前一样）？

**URL:** <https://meta.discourse.org/t/any-way-to-keep-muted-categories-to-appear-in-the-category-page-like-it-used-to-be-in-the-past/208794>\
**Category:** Feature\
**Created:** [2021年十一月10日 13:12 UTC](https://meta.discourse.org/t/any-way-to-keep-muted-categories-to-appear-in-the-category-page-like-it-used-to-be-in-the-past/208794 "2021-11-10T13:12:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mangojumbo](https://avatars.discourse-cdn.com/v4/letter/m/cab0a1/32.png) [@mangojumbo](https://meta.discourse.org/u/mangojumbo)\
**Post date:** [2021年十一月10日 13:12 UTC](https://meta.discourse.org/t/any-way-to-keep-muted-categories-to-appear-in-the-category-page-like-it-used-to-be-in-the-past/208794/1 "2021-11-10T13:12:36Z")

</div>

在当前的 Discourse 版本中，不久前，已静音的分类不再显示在分类页面上（它们被分组在分类页面底部的可折叠隐藏组中）。  
过去，分类会继续正常列在分类页面上，你可以使用 [此插件](https://github.com/discourse/discourse-categories-suppressed) 来隐藏已静音分类的最新主题页面中的已静音主题，以及使用 [此 CSS 插件](https://github.com/discourse/discourse-hide-muted-categories) 来隐藏分类页面中所有已静音的分类。

有什么方法可以恢复到以前的行为吗？（即使是 CSS 解决方案也行……）。  
我迫切需要所有已静音的分类像过去一样显示在分类页面上（同时静音一些分类，这样它们的帖子就不会包含在电子邮件摘要中）。  
如果有人能提供建议或解决方案，我将不胜感激。

给开发者的说明：与其完全移除旧行为和废弃旧代码，难道不能在管理员设置中包含一个标志，让管理员选择是继续显示已静音分类还是像现在一样将它们隐藏到分类页面的底部吗？感谢你们所做的出色工作。

---

<div class="post-metadata">

**Author:** ![Jagster](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagster/32/192154_2.png) [@Jagster](https://meta.discourse.org/u/Jagster)\
**Post date:** [2022年一月18日 18:52 UTC](https://meta.discourse.org/t/any-way-to-keep-muted-categories-to-appear-in-the-category-page-like-it-used-to-be-in-the-past/208794/2 "2022-01-18T18:52:46Z")

</div>

我顶一下。@mangojumbo 的提议可行吗？

---

<div class="post-metadata">

**Author:** ![Heliosurge](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/heliosurge/32/571810_2.png) [@Heliosurge](https://meta.discourse.org/u/Heliosurge)\
**Post date:** [2022年一月18日 19:22 UTC](https://meta.discourse.org/t/any-way-to-keep-muted-categories-to-appear-in-the-category-page-like-it-used-to-be-in-the-past/208794/3 "2022-01-18T19:22:41Z")

</div>

我认为再进一步，还在用户个人资料界面菜单中提供一个选项。

---

<div class="post-metadata">

**Author:** ![dsims](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dsims/32/485916_2.png) [@dsims](https://meta.discourse.org/u/dsims)\
**Post date:** [2024年十月16日 17:07 UTC](https://meta.discourse.org/t/any-way-to-keep-muted-categories-to-appear-in-the-category-page-like-it-used-to-be-in-the-past/208794/4 "2024-10-16T17:07:16Z")

</div>

我使用了这个 CSS 来展开它（但它们仍然在底部分组，所以可能不是您想要的）

```css
.category-list.hidden {
  display: table !important;
}

```

以及这个，它使得“Muted categories”标题看起来不可点击：

```css
.muted-categories-link {
  border: none;
  cursor: default;
  .d-icon {
    display: none;
  }
}

```
