Under normal circumstances, muted categories are shown in the category list to improve discoverability, particularly on sites with many categories muted by default. This theme component will provide the opposite behaviour and hide all muted categories from the category list.
Hosted by us? Theme components are available to use on our Standard, Business, and Enterprise plans.
Hi @david, do you know of any solutions that would allow hiding specific sub-categories from appearing on the /categories page, but still allowing topics to show up in latest?
I have several categories with a larger amount of sub-categories, and I’d like to hide those since they take up a lot of visual space.
I did find this: .category-list .subcategories { which I can hide, but it applies to all categories on the home page. Is there a way to declare only specific categories and hide only those sub-categories within them?
This works to remove the subcategory name, but not other elements related to it. I found that for new topics, the ___ new indicator still appears like in the screenshot below.
Ah sorry, jumped the gun on this. It looks like the URL string /l/new is appended to each category URL, so those can be isolated and hidden by targeting hrefs as well.
I have seen this exact usage previously, it is always super tricky to fit in geographic buckets of topics to our topic structure, every solution is a bit of a compromise, short of a geo aware plugin
All topics in America
All topics in USA
All topics in California
All topics in Sonoma county
All topics in Santa Rosa
I’m looking for a solution with tags, because in the end I have to manage 8000 cities, and in any case there will also be 8000 natural tags. Do you think 20k tags are supported?
There isn’t an api endpoint to bulk clear out categories. You will have to delete all the topics first and then you should be able to delete the category. If you have console access there are some rake commands that can help with this.
I seem to have the opposite problem, even though I’m on 2.7.0.beta3. Muted categories aren’t appearing on the Categories page, but I would prefer to have this new default behavior.
Com as versões reais do Discourse, as categorias silenciadas nĂŁo aparecem mais na página de categorias (elas sĂŁo agrupadas em um grupo oculto recolhĂvel na parte inferior da página de categorias).
Com a implementação atual do Discourse, as categorias silenciadas são exibidas em um cabeçalho/agrupamento separado chamado Categorias silenciadas
Pelo que entendi, este tema ocultará completamente todas as categorias silenciadas da lista de categorias.
Existe alguma maneira de exibir as categorias silenciadas como qualquer outra categoria regular (sem agrupamento ou ocultação) na lista de categorias?
Olá, estou usando o Discourse versão 3.2.0.beta4-dev e este componente não oculta a categoria da página de categorias? O que posso fazer para ocultar a categoria?
Verifiquei o código do GitHub para ver se era apenas CSS e apliquei-o às caixas de categoria personalizadas do componente de tema “minimal category boxes” e o problema foi resolvido.