# 需要类别名称来移除“所有类别”列表

**URL:** <https://meta.discourse.org/t/need-category-name-to-remove-all-categories-list/237073>\
**Category:** Feature\
**Created:** [2022 年8 月 24 日 18:09 UTC](https://meta.discourse.org/t/need-category-name-to-remove-all-categories-list/237073 "2022-08-24T18:09:26Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

作者： ![timhogan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/timhogan/32/250576_2.png) [@timhogan](https://meta.discourse.org/u/timhogan)\
发布日期： [2022 年8 月 24 日 18:09 UTC](https://meta.discourse.org/t/need-category-name-to-remove-all-categories-list/237073/1 "2022-08-24T18:09:26Z")

</div>

如果有一个名为“Meta”的类别，可以将其与“所有类别”中列出的所有其他类别区分开。然后，“所有类别”中列出了两个或多个主类别，但没有 Meta。

---

<div class="post-metadata">

作者： ![timhogan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/timhogan/32/250576_2.png) [@timhogan](https://meta.discourse.org/u/timhogan)\
发布日期： [2022 年8 月 25 日 02:26 UTC](https://meta.discourse.org/t/need-category-name-to-remove-all-categories-list/237073/2 "2022-08-25T02:26:20Z")

</div>

更简洁地说，有没有办法选择“所有类别”而不列出特殊标记的类别。一个简单的勾选框创建的这些类别将不会被视为“所有类别”。

---

<div class="post-metadata">

作者： ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)\
发布日期： [2022 年8 月 25 日 02:34 UTC](https://meta.discourse.org/t/need-category-name-to-remove-all-categories-list/237073/3 "2022-08-25T02:34:30Z")

</div>

您能更详细地解释一下您想实现什么吗？

---

<div class="post-metadata">

作者： ![timhogan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/timhogan/32/250576_2.png) [@timhogan](https://meta.discourse.org/u/timhogan)\
发布日期： [2022 年8 月 25 日 03:08 UTC](https://meta.discourse.org/t/need-category-name-to-remove-all-categories-list/237073/4 "2022-08-25T03:08:28Z")

</div>

我需要能够创建一个类别列表，将其分配给“所有类别”，或者仅选择任何类别菜单来删除“所有类别”列表。这样，像“meta”或“legal”这样的类别在按“所有类别”查看时就不会显示。现在，Discourse 会选择任何一个类别或所有类别。

---

<div class="post-metadata">

作者： ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)\
发布日期： [2022 年8 月 25 日 08:38 UTC](https://meta.discourse.org/t/need-category-name-to-remove-all-categories-list/237073/5 "2022-08-25T08:38:28Z")

</div>

这听起来更像是一个预设的解决方案，而不是一个期望的结果。

你为什么需要上面提到的东西？你想_实现_什么？

---

<div class="post-metadata">

作者： ![simonk](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simonk/32/247950_2.png) [@simonk](https://meta.discourse.org/u/simonk)\
发布日期： [2022 年8 月 25 日 10:46 UTC](https://meta.discourse.org/t/need-category-name-to-remove-all-categories-list/237073/6 "2022-08-25T10:46:38Z")

</div>

听起来他想从类别列表中隐藏某些类别。我想知道这是否足以将这些类别设为静音，并结合这个主题组件：

> [@Hide Muted Categories](https://meta.discourse.org/t/hide-muted-categories/140611?u=simonk):
>
> discourse2Summary Hide Muted Categories hides muted categories from the category list.hammer_and_wrenchRepository Link [https://github.com/discourse/discourse-hide-muted-categories](https://github.com/discourse/discourse-hide-muted-categories)open_bookNew to Discourse Themes? [Beginner’s guide to using Discourse Themes](https://meta.discourse.org/t/beginners-guide-to-using-discourse-themes/91966) Install this theme component Features Under normal circumstances, muted categories are shown in the category list to improve discoverability, particularly on sites with many categories muted by default. This t…

---

<div class="post-metadata">

作者： ![timhogan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/timhogan/32/250576_2.png) [@timhogan](https://meta.discourse.org/u/timhogan)\
发布日期： [2022 年8 月 25 日 15:33 UTC](https://meta.discourse.org/t/need-category-name-to-remove-all-categories-list/237073/7 "2022-08-25T15:33:49Z")

</div>

我仍然需要在类别列表中保留“meta”和“uncategorized”这两个类别，但不要将它们合并到“all category”（所有类别）中。用户需要点击这两个类别，而不是在点击“all category”时看到它们。这样可以帮助用户专注于一组名为“all category”的类别。将“all category”重命名为“main categories”（主类别）可能是一个可行的名称。

我不想静音类别，只是想在“all category”列表中删除一些类别。
