# Hiding specific categories or sub-categories from "suggested topics"

**URL:** https://meta.discourse.org/t/hiding-specific-categories-or-sub-categories-from-suggested-topics/99635
**Category:** Feature
**Tags:** suggested-topics
**Created:** [16 oktober 2018 om 13:26 UTC](https://meta.discourse.org/t/hiding-specific-categories-or-sub-categories-from-suggested-topics/99635 "2018-10-16T13:26:47Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![samuelzeller](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/samuelzeller/32/75361_2.png) [@samuelzeller](https://meta.discourse.org/u/samuelzeller)
#### Post date: [16 oktober 2018 om 13:26 UTC](https://meta.discourse.org/t/hiding-specific-categories-or-sub-categories-from-suggested-topics/99635/1 "2018-10-16T13:26:47Z")

</div>

Hi everyone,

I’m running a Discourse forum for photographers and I have one category named “intro” with inside a sub-category named “introduce-yourself” where people can post a new topic and say hello. Those are not shown on the “latest” in order not to spam the front page of the forum.

But they still appear in “suggested topics” under other posts. How can I hide them and prevent them from appearing into “suggested topics” site-wide?

Example here:  
[https://forum.fujifeed.com/t/pixel-peeping-beginner-question](https://forum.fujifeed.com/t/pixel-peeping-beginner-question)  
(you might want to refresh the page a couple time, as suggested topics change at each refresh)

Thank you for your help!

---

<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: [16 oktober 2018 om 14:45 UTC](https://meta.discourse.org/t/hiding-specific-categories-or-sub-categories-from-suggested-topics/99635/2 "2018-10-16T14:45:53Z")

</div>

Try something like:

```
#suggested-topics .topics .topic-list-item.category-introduction-introductions.ember-view {
    display: none;
}

```

---

<div class="post-metadata">

### Author: ![samuelzeller](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/samuelzeller/32/75361_2.png) [@samuelzeller](https://meta.discourse.org/u/samuelzeller)
#### Post date: [16 oktober 2018 om 14:50 UTC](https://meta.discourse.org/t/hiding-specific-categories-or-sub-categories-from-suggested-topics/99635/3 "2018-10-16T14:50:12Z")

</div>

Awesome, it worked! Of course it’s just hiding them visually so sometimes when it suggest me only this category then the suggested topic list will look empty but that’s fine. Thanks for helping!

---

<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: [16 oktober 2018 om 14:55 UTC](https://meta.discourse.org/t/hiding-specific-categories-or-sub-categories-from-suggested-topics/99635/4 "2018-10-16T14:55:43Z")

</div>

You can set each category to show the suggested topics in `all` categories or only in that category in which the topic was written. If you get the “introduction” category so that the suggested topics are also from other categories, you will hardly remain without visible suggested topics.

Of course, the change is just a visual hack, if, for some reason, the suggested topics are only in the “introduction” category you will remain without any visible topic, as you said.

---

<div class="post-metadata">

### Author: ![tonninseteli](https://avatars.discourse-cdn.com/v4/letter/t/eada6e/32.png) [@tonninseteli](https://meta.discourse.org/u/tonninseteli)
#### Post date: [1 april 2021 om 09:01 UTC](https://meta.discourse.org/t/hiding-specific-categories-or-sub-categories-from-suggested-topics/99635/5 "2021-04-01T09:01:38Z")

</div>

> [@dax](#):
>
> You can set each category to show the suggested topics in `all` categories or only in that category in which the topic was written.

I can’t seem to find this setting (at least anymore?) or then it’s not working as intended 🤔

---

<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: [6 april 2021 om 19:22 UTC](https://meta.discourse.org/t/hiding-specific-categories-or-sub-categories-from-suggested-topics/99635/6 "2021-04-06T19:22:36Z")

</div>

The site setting is named `limit suggested to category` and is off by default. Are you trying to limit suggested topics to the current category?

Your avatar is scary 😱!

---

<div class="post-metadata">

### Author: ![tonninseteli](https://avatars.discourse-cdn.com/v4/letter/t/eada6e/32.png) [@tonninseteli](https://meta.discourse.org/u/tonninseteli)
#### Post date: [15 april 2021 om 15:25 UTC](https://meta.discourse.org/t/hiding-specific-categories-or-sub-categories-from-suggested-topics/99635/8 "2021-04-15T15:25:14Z")

</div>

We have on-topic categories, and three categories, want to buy, want to sell and off-topic, which I’d like to exclude from suggestions. The on-topic discussions can in my opinion be cross-promoted, while the second hand categories, which are very busy, are explored anyways and usually push other topics off the list.

The off-topic I just want to hide, not because I want to discourage off-topic discussion in any way, but simply to keep attention in the original context.

It’s a good question though is the on-topic categorization too fine grained, and should, for example tags, be used instead, but I’d like to hear some thoughts and best practices on this before making any big changes or restructuring 🤔

no it’s not 😂

---

<div class="post-metadata">

### Author: ![jrgong](https://avatars.discourse-cdn.com/v4/letter/j/c57346/32.png) [@jrgong](https://meta.discourse.org/u/jrgong)
#### Post date: [10 januari 2022 om 10:48 UTC](https://meta.discourse.org/t/hiding-specific-categories-or-sub-categories-from-suggested-topics/99635/9 "2022-01-10T10:48:10Z")

</div>

Digging out this one! In our suggested topics often 2 out of 5 happen to be from offtopic category which we would like to exclude. For now I enabled setting `limit suggested to category` just to see how users will react.

But it would be great to have a feature to remove specific categories from showing up in suggested topics completely.
