# Hiding Topics From Sub-Category

**URL:** https://meta.discourse.org/t/hiding-topics-from-sub-category/101720
**Category:** Support
**Created:** [November 10, 2018, 6:30am UTC](https://meta.discourse.org/t/hiding-topics-from-sub-category/101720 "2018-11-10T06:30:17Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![Kankuro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kankuro/32/123065_2.png) [@Kankuro](https://meta.discourse.org/u/Kankuro)
#### Post date: [November 10, 2018, 6:30am UTC](https://meta.discourse.org/t/hiding-topics-from-sub-category/101720/1 "2018-11-10T06:30:17Z")

</div>

How could I go about making it so that topics that are within a sub-category don’t show up in the main category? I think this looks messy and kinda defeats the purpose of having sub-categories when they still show up in the top level category.

---

<div class="post-metadata">

### Author: ![neptronix](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/neptronix/32/124455_2.png) [@neptronix](https://meta.discourse.org/u/neptronix)
#### Post date: [November 10, 2018, 3:20pm UTC](https://meta.discourse.org/t/hiding-topics-from-sub-category/101720/2 "2018-11-10T15:20:24Z")

</div>

Yeah, this is actually rather weird and messy.  
I noticed that on this very board.. the plugin section properly separates the subforums.. and it has a lot of subforums..

The dev subforum, however, mixes the two.

So obviously there is some code that is capable of making a decision on that somewhere.

---

<div class="post-metadata">

### Author: ![soraiden](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/soraiden/32/547061_2.png) [@soraiden](https://meta.discourse.org/u/soraiden)
#### Post date: [January 15, 2020, 7:28pm UTC](https://meta.discourse.org/t/hiding-topics-from-sub-category/101720/3 "2020-01-15T19:28:25Z")

</div>

Did you find a solution to this?

---

<div class="post-metadata">

### Author: ![Sebastian\_Stehle](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sebastian_stehle/32/179725_2.png) [@Sebastian\_Stehle](https://meta.discourse.org/u/Sebastian_Stehle)
#### Post date: [May 8, 2020, 7:45am UTC](https://meta.discourse.org/t/hiding-topics-from-sub-category/101720/4 "2020-05-08T07:45:43Z")

</div>

I would also like to have a feature for this.

I am using discourse as a support forum: [Feature Requests - Squidex Support](https://support.squidex.io/c/feature-requests)

My goal would be to move all “tagged” features to a subcategory so that I only have to see the open requests. But this is not doable at the moment.

---

<div class="post-metadata">

### Author: ![rishi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rishi/32/233665_2.png) [@rishi](https://meta.discourse.org/u/rishi)
#### Post date: [October 7, 2021, 10:37am UTC](https://meta.discourse.org/t/hiding-topics-from-sub-category/101720/5 "2021-10-07T10:37:20Z")

</div>

Did you folks find a way around this?

---

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [October 7, 2021, 11:29am UTC](https://meta.discourse.org/t/hiding-topics-from-sub-category/101720/6 "2021-10-07T11:29:27Z")

</div>

Do you want to have it like [this](https://meta.discourse.org/c/howto/10/none)?  
You can choose none as subcategory to see just the topics in the top category.

---

<div class="post-metadata">

### Author: ![rishi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rishi/32/233665_2.png) [@rishi](https://meta.discourse.org/u/rishi)
#### Post date: [October 7, 2021, 3:28pm UTC](https://meta.discourse.org/t/hiding-topics-from-sub-category/101720/7 "2021-10-07T15:28:43Z")

</div>

Yes, I was looking into defaulting to none as well,

Found this, but the solution seemed rather convoluted and didn’t work everywhere per the posters, could you please highlight if there’s a more straightforward solution?

> [@When in a category, default to "none" rather than "all" subcategories](https://meta.discourse.org/t/when-in-a-category-default-to-none-rather-than-all-subcategories/26173/4):
>
> Fixed it via JS. You have to add this code to your head. // For categories list $(document).on('mouseover', 'td.category div.pull-left a', function() { // do it only once if ($(this).hasClass('link-fixed')) { return; } // do it only if there's subcategories if ($(this).parents('td.category').find('div.subcategories').length) { var link = $(this).prop('href'); $(this).prop('href', link+'/none'); } $(this).addClass('link-fixed'); }); …

---

<div class="post-metadata">

### Author: ![Johani](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/johani/32/176920_2.png) [@Johani](https://meta.discourse.org/u/Johani)
#### Post date: [October 7, 2021, 9:57pm UTC](https://meta.discourse.org/t/hiding-topics-from-sub-category/101720/8 "2021-10-07T21:57:35Z")

</div>

Have a look here

> [@When in a category, default to "none" rather than "all" subcategories](https://meta.discourse.org/t/when-in-a-category-default-to-none-rather-than-all-subcategories/26173/16):
>
> There’s a setting for this on a per-category basis. Head over to the category page. For example… https://meta.discourse.org/c/support/6 then click on the wrench icon here This takes you to the settings for that specific category. From there, click here. and scroll down a bit until you see this setting change that to “no subcategories” like so And that will give you the desired result for that category - the topic …

---

<div class="post-metadata">

### Author: ![dax](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dax/32/244677_2.png) [@dax](https://meta.discourse.org/u/dax)
#### Post date: [October 7, 2021, 10:04pm UTC](https://meta.discourse.org/t/hiding-topics-from-sub-category/101720/9 "2021-10-07T22:04:26Z")

</div>


