This is a Discourse theme component that allows you to hide specific categories from various locations in the Discourse UI.
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.
This theme component is more of a stylistic change. It hides desired categories visually, but still keeps notifications and all other functionality for the category intact. To turn off all category features it is recommended to mute a category instead.
Plugin Name | Discourse Category Hider |
---|---|
Author | Keegan George |
Version | 2.1 |
Installation Guide | Installing Theme Components |
Discourse Topic | Read Topic |
Below is a quick start guide to setup your discourse theme. A more comprehensive guide can be found here.
View Guide
-
On your discourse website, navigate to:
Admin > Customize > Themes > Components
-
Click
Install
and selectFrom a git repository
-
Paste in the following link:
https://github.com/keegangeorge/discourse-hide-categories
-
Navigate to your current theme and select it
-
Include the them component on your current theme.
Before -> After
In the settings, you can add what categories you would like to hide for different instances/areas where categories appear.
You can hide categories in:
- Category Boxes with Subcategories
- Hamburger Menu
- Category Boxes with Featured Topics
- Category List (this type always appears on mobile)
- Category Breadcrumb
For each setting use either the dropdown to select from the categories or enter the category slug.