# Adding ‘hot topics’ to the Sidebar

**URL:** https://meta.discourse.org/t/adding-hot-topics-to-the-sidebar/321777
**Category:** Support
**Tags:** sidebar, hot-topics
**Created:** [August 15, 2024, 8:51am UTC](https://meta.discourse.org/t/adding-hot-topics-to-the-sidebar/321777 "2024-08-15T08:51:07Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Sena\_SARIVAZ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sena_sarivaz/32/430846_2.png) [@Sena\_SARIVAZ](https://meta.discourse.org/u/Sena_SARIVAZ)
#### Post date: [August 15, 2024, 8:51am UTC](https://meta.discourse.org/t/adding-hot-topics-to-the-sidebar/321777/1 "2024-08-15T08:51:07Z")

</div>

Could you provide a code snippet that allows me to add hot topics to the left sidebar?

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [August 15, 2024, 8:59am UTC](https://meta.discourse.org/t/adding-hot-topics-to-the-sidebar/321777/2 "2024-08-15T08:59:04Z")

</div>

Do you mean a list of individual topics, or a link to the `/hot` topic view?

The last one is easy, the first one I don’t believe is possible using the left sidebar (if you want it to be dynamic), but you can get a version of it using `top-topics` in the [Right Sidebar Blocks](https://meta.discourse.org/t/right-sidebar-blocks/231067) theme component.

---

<div class="post-metadata">

### Author: ![Sena\_SARIVAZ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sena_sarivaz/32/430846_2.png) [@Sena\_SARIVAZ](https://meta.discourse.org/u/Sena_SARIVAZ)
#### Post date: [August 15, 2024, 9:04am UTC](https://meta.discourse.org/t/adding-hot-topics-to-the-sidebar/321777/3 "2024-08-15T09:04:42Z")

</div>

Thank you for your quick response. I would like to remove the categories and tags from the left bar. I would like to add hot/popular topic titles instead. Is this possible?

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [August 15, 2024, 9:29am UTC](https://meta.discourse.org/t/adding-hot-topics-to-the-sidebar/321777/4 "2024-08-15T09:29:20Z")

</div>

You can hide the Categories and Tags sections - the [Navigation (sidebar) menu display control](https://meta.discourse.org/t/navigation-sidebar-menu-display-control/277687) theme component gets you part-way by hiding them from everyone but staff users, or you could create a custom theme component that hides them from everyone including staff. But there isn’t a way to populate the left sidebar with a ‘hot topics’ section that would list the x hot topics from today/this week. You could create a custom section and manually update it with links to topics, but that is likely going to be a chore to keep on top of.

---

<div class="post-metadata">

### Author: ![Sena\_SARIVAZ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sena_sarivaz/32/430846_2.png) [@Sena\_SARIVAZ](https://meta.discourse.org/u/Sena_SARIVAZ)
#### Post date: [August 15, 2024, 9:33am UTC](https://meta.discourse.org/t/adding-hot-topics-to-the-sidebar/321777/5 "2024-08-15T09:33:43Z")

</div>

You are right, thank you for the details about other sidebar settings

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [September 14, 2024, 9:34am UTC](https://meta.discourse.org/t/adding-hot-topics-to-the-sidebar/321777/6 "2024-09-14T09:34:16Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
