# Discourse 中将类别设为“隐藏”，但可通过链接访问的最佳方法？

**URL:** <https://meta.discourse.org/t/best-option-to-have-category-hidden-on-discourse-but-otherwise-accessible-if-you-have-the-link/298003>\
**Category:** Support\
**Created:** [2024年三月5日 13:23 UTC](https://meta.discourse.org/t/best-option-to-have-category-hidden-on-discourse-but-otherwise-accessible-if-you-have-the-link/298003 "2024-03-05T13:23:09Z")\
**Posts on this page:** 1\
**Showing post:** 11

<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:** [2024年三月6日 13:37 UTC](https://meta.discourse.org/t/best-option-to-have-category-hidden-on-discourse-but-otherwise-accessible-if-you-have-the-link/298003/11 "2024-03-06T13:37:41Z")

</div>

要不试试把 #Customization > Theme component 和静音类别结合一下？

> [@类别隐藏主题组件](https://meta.discourse.org/t/category-hider-theme-component/181299):
>
> 大家好，我创建了一个简单的主题组件。希望这对大家有所帮助！ eyeglasses 概述 这是一个主题组件，允许您从汉堡菜单或分类框中隐藏特定的分类。 thinking 为什么需要这个组件？ 如果您的 Discourse 网站拥有大量分类，并且您希望隐藏部分分类，使其不显示在菜单栏或主页上，那么这个组件将非常有用。 framed_picture 截图 汉堡菜单预览：之前 –\u003e 之后 gear 设置菜单： 有关如何使用此主题组件的更多详细信息以及安装说明，请访问该组件的 [GitHub 仓库。](https://github.com/keegangeorge/discourse-hide-categories)eyeglasses预览 [https://theme-creator.discourse.org/theme/keegan/category-hider](https://theme-creator.discourse.org/theme/keegan/category-hider)octopus仓库 [在 GitHub 上查看](https://github.com/keegangeorge/discourse-hide-categories)question安装指南 [如何安装主题或主题组件](https://meta.discourse.org/t/how-do-i-install-a-theme-or-theme-component/63682)open_bookDiscourse 主题新手？ [Discourse 主题使用入门指南](https://meta.discourse.org/t/beginners-guide-to-using-discourse-themes/91966)

---

_[View the full topic](https://meta.discourse.org/t/best-option-to-have-category-hidden-on-discourse-but-otherwise-accessible-if-you-have-the-link/298003)._
