Este plugin exibe as categorias na barra lateral da página em todas as páginas de listas de descoberta (mais recentes, novas, não lidas, mas não na página de tópico único e categorias).
O plugin funciona apenas em desktop, e não há planos de adicioná-lo à visualização móvel.
Nota importante. Apesar da clareza, este exemplo adiciona duplicação de categorias que já existem em outro lugar nesta página. Claro, podemos ocultar alguns elementos de navegação para evitar duplicação, mas isso exigirá ainda mais alterações.
Acho que isso poderia ser um bom exemplo de uso de uma barra lateral. Você pode clonar o plugin e usá-lo conforme suas necessidades (modificando o código para suas tarefas específicas).
The plugin is awesome i been looking for something like this but can you please tell me how i can reduce the space between the Categories and the posts list ?
see the picture below
Update: also its showing on mobile breaking tye page
The plugin was not intended to work on the mobile version. This is a bug in the plugin (css) and it will be fixed soon. As a temporary solution, you can do as written @Steven. Thank You.
This requires some work, and I do not think that within the framework of this plugin. And that’s why. The fact is that the central page and the page of categories we can easily compress (to find free space) for the sidebar.
We can find a place for the left column here, but this will have to reduce the width of the topic itself and the right column, which will require large changes. There are a lot of small parts.
In general, for this it is better to do a separate plugin.
today I’ve updated to the new version of discourse, and then install 2 plugins: the “sidebar with categories” and the “topic list preview”. After that, my site running very slowly. I don’t know why.
Try experimenting: turn off one of the above plugins in turn. Perhaps you will find out why this happens looking at the statistics (on the left side of the screen).
Thank you Evgeny. I’ve already install that plugin and running. But I want to add the Ads script in that area, or add the short-sidebar-category in it, so the user can easy to change the new category if he wants.