# 在汉堡菜单中隐藏子类别

**URL:** https://meta.discourse.org/t/suppress-subcategories-in-the-hamburger-menu/250836
**Category:** Support
**Created:** [2023年一月5日 15:30 UTC](https://meta.discourse.org/t/suppress-subcategories-in-the-hamburger-menu/250836 "2023-01-05T15:30:01Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![keegan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/keegan/32/383395_2.png) [@keegan](https://meta.discourse.org/u/keegan)
#### Post date: [2023年一月5日 17:20 UTC](https://meta.discourse.org/t/suppress-subcategories-in-the-hamburger-menu/250836/3 "2023-01-05T17:20:22Z")

</div>

我过去还创建了这个主题组件：

> [@Category Hider Theme Component](https://meta.discourse.org/t/category-hider-theme-component/181299):
>
> Hi all, I’ve created a simple theme component. I hope this could be of use for some! eyeglasses Overview This is a theme component that allows you to hide specific categories from either the hamburger menu or category boxes. thinking Why would you need this component? If your discourse website has a lot of categories and you would like to hide some from appearing in either the menu bar or on the main page, this component can be helpful. framed_picture Screenshots Preview of Hambur…

---

_[View the full topic](https://meta.discourse.org/t/suppress-subcategories-in-the-hamburger-menu/250836)._
