The discussion revolves around the “Sidebar with Categories” plugin for Discourse, which displays categories in a sidebar on discovery pages (latest, new, unread) but not on single topic or category pages. The plugin is desktop-only and allows customization via settings like sidebar enable and sidebar custom content, with CSS adjustments possible for spacing or hiding on mobile Stranik. Users like Jay91 report layout issues on mobile and spacing between sidebar and content, which Steven addresses with CSS tweaks to reduce sidebar width or hide it on mobile 5. Stranik confirms the mobile issue is a bug and will be fixed. Others, like thefreekick, praise the plugin for de-emphasizing categories in topic lists. Grahamtrump seeks to show the sidebar on topic pages for quick category switching, but Stranik explains it’s not feasible without major layout changes, suggesting a separate plugin. Performance issues after installing alongside “Topic List Preview” are resolved by disabling the latter 14. Requests to add ads or short category lists in sidebars lead to suggestions to modify other plugins like discourse-adplugin16. P0nda shares a fork with layout improvements, while Stranik notes challenges in adapting it to theme pages. Users ask about category limits (default 8, adjustable via header dropdown category count24), mobile compatibility (confirmed working in 2.4.0.beta9 28), and category ordering (follows header dropdown, not “fixed positions” 30). Jord8on requests highlighting current categories and showing subcategories, which Stranik says requires significant code changes beyond current plans. Installation issues (e.g., git clone errors 34) are resolved by updating the plugin 35. Jord8on inquires about custom development costs, with Stranik directing to Marketplace and noting ongoing efforts to refactor the plugin as a component.
The plugins works on desktop only, and there are no plans to add it to the mobile view.
Important note. Despite the clarity, this example adds duplication of categories that already exist elsewhere on this page. Of course, we can hide some navigation elements to avoid duplication, but this will entail even more changes.
I think this could be a good example of using a sidebar. You can clone the plugin and use it for your needs (changing the code for your specific tasks).
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
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.