# Category-specific message or pinned topic

**URL:** <https://meta.discourse.org/t/category-specific-message-or-pinned-topic/140473>\
**Category:** Product Support\
**Created:** [February 3, 2020, 3:12pm UTC](https://meta.discourse.org/t/category-specific-message-or-pinned-topic/140473 "2020-02-03T15:12:08Z")\
**Posts on this page:** 12\
**Page:** 1

## AI-generated summary

The discussion revolves around the desire to display a message or banner at the top of every topic page within a specific category, not just on the category home page. [chrismalone](/t/-/140473/1) asks if this is possible, clarifying that pinned topics only appear on the category page. [Thomas_G](/t/-/140473/2) initially misunderstands, but [lucasbasquerotto](/t/-/140473/3) and [JimPas](/t/-/140473/4) explain the request is for a persistent banner on each topic page. [ked](/t/-/140473/5) supports the idea. [eviltrout](/t/-/140473/8) confirms there's no built-in feature, but a custom theme component could achieve it, referencing the [Topic List Previews plugin](https://meta.discourse.org/t/topic-list-previews/101646) as a potential solution. [merefield](/t/-/140473/11) adds that the plugin is image-focused and may require a default image for non-image topics.

<div class="post-metadata">

**Author:** ![chrismalone](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chrismalone/32/506946_2.png) [@chrismalone](https://meta.discourse.org/u/chrismalone)\
**Post date:** [February 3, 2020, 3:12pm UTC](https://meta.discourse.org/t/category-specific-message-or-pinned-topic/140473/1 "2020-02-03T15:12:08Z")

</div>

We are looking for a way to have messages on a category that would not only appear on the category “home” page, but also at the top of all topics within that category. Is there currently a way to achieve this? We have created some pinned topics, but, of course, those only appear on the category home page.

---

<div class="post-metadata">

**Author:** ![Thomas\_G](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/thomas_g/32/200158_2.png) [@Thomas\_G](https://meta.discourse.org/u/Thomas_G)\
**Post date:** [February 3, 2020, 3:19pm UTC](https://meta.discourse.org/t/category-specific-message-or-pinned-topic/140473/2 "2020-02-03T15:19:42Z")

</div>

> [@chrismalone](#):
>
> at the top of all topics within that category

Not sure what’s the issue here, could you please elaborate? When you _category pin_ a topic, it appears at the top of all the topics in that category.

---

<div class="post-metadata">

**Author:** ![lucasbasquerotto](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lucasbasquerotto/32/133376_2.png) [@lucasbasquerotto](https://meta.discourse.org/u/lucasbasquerotto)\
**Post date:** [February 3, 2020, 6:21pm UTC](https://meta.discourse.org/t/category-specific-message-or-pinned-topic/140473/3 "2020-02-03T18:21:48Z")

</div>

> [@Thomas\_G](#):
>
> When you _category pin_ a topic, it appears at the top of all the topics in that category.

I think he means at the top of each topic page of that category (at the top of the topic page, `/t/.../[topic_id]`, and not only at the category page, `/c/.../[category_id]`), if I understood correctly.

---

<div class="post-metadata">

**Author:** ![JimPas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jimpas/32/148179_2.png) [@JimPas](https://meta.discourse.org/u/JimPas)\
**Post date:** [February 4, 2020, 2:38am UTC](https://meta.discourse.org/t/category-specific-message-or-pinned-topic/140473/4 "2020-02-04T02:38:33Z")

</div>

Like a _ **banner** _ pinned to the top of every topic in a specific category. 😉

---

<div class="post-metadata">

**Author:** ![ked](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ked/32/64837_2.png) [@ked](https://meta.discourse.org/u/ked)\
**Post date:** [February 4, 2020, 4:00am UTC](https://meta.discourse.org/t/category-specific-message-or-pinned-topic/140473/5 "2020-02-04T04:00:28Z")

</div>

I second the desire for this. Essentially, the ability to get a message across to everyone trafficking in a specific category.

---

<div class="post-metadata">

**Author:** ![chrismalone](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chrismalone/32/506946_2.png) [@chrismalone](https://meta.discourse.org/u/chrismalone)\
**Post date:** [February 6, 2020, 9:36am UTC](https://meta.discourse.org/t/category-specific-message-or-pinned-topic/140473/7 "2020-02-06T09:36:20Z")

</div>

Yes. This is what I am trying to achieve. Every topic page within specific category or sub-category.

@JimPas - is this possible now that you know of?

---

<div class="post-metadata">

**Author:** ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)\
**Post date:** [February 19, 2020, 2:26pm UTC](https://meta.discourse.org/t/category-specific-message-or-pinned-topic/140473/8 "2020-02-19T14:26:08Z")

</div>

You could achieve this with a custom theme component. There is no built in way in Discourse to do this.

---

<div class="post-metadata">

**Author:** ![chrismalone](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chrismalone/32/506946_2.png) [@chrismalone](https://meta.discourse.org/u/chrismalone)\
**Post date:** [February 20, 2020, 8:55am UTC](https://meta.discourse.org/t/category-specific-message-or-pinned-topic/140473/9 "2020-02-20T08:55:30Z")

</div>

Thanks @eviltrout! Any examples you could point me to? If not, I’ll play around with it and see if I can figure it out. I appreciate the input!!

---

<div class="post-metadata">

**Author:** ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)\
**Post date:** [February 20, 2020, 2:49pm UTC](https://meta.discourse.org/t/category-specific-message-or-pinned-topic/140473/10 "2020-02-20T14:49:11Z")

</div>

I’m not familiar with the code of the plugin, but I know this one does a lot of similar customizations:

> [@Topic List Previews (legacy)](https://meta.discourse.org/t/topic-list-previews/101646):
>
> This is now a Theme Component, the plugin is deprecated The new Topic is [Topic List Previews Theme Component - theme - Discourse Meta](https://meta.discourse.org/t/topic-list-previews-theme-component/209973/1) [GitHub-Mark-32px] [Repository: get the code here](https://github.com/merefield/discourse-topic-list-previews-theme) See further here: [Pavilion](https://thepavilion.io/t/which-one-to-install-plugin-or-tc/3996?u=merefield) [sandbox] Examples: check out the list further down. [raising_hand_woman Request a feature](https://thepavilion.io/w/feature-request)[bug Report a bug](https://thepavilion.io/w/bug-report)heart Donate: we are reviewing our donations system. Please check back later :). man_technologist Maintainers: @merefieldOverview Topic List Previews allows you to: …

---

<div class="post-metadata">

**Author:** ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)\
**Post date:** [February 20, 2020, 3:12pm UTC](https://meta.discourse.org/t/category-specific-message-or-pinned-topic/140473/11 "2020-02-20T15:12:47Z")

</div>

A mock-up would be beneficial.

Topic List Previews can put a series images at the top of a Category with associated text excerpts called Featured Images. You tag the Topics you wish to highlight there. When a user hovers over an image they will see the excerpt text from the Topic. If the Topics dont have images it may not be useful. It is mainly an image focussed plugin so it may or may not suffice. A workaround might be to add a default image you wish to use.

---

<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:** [January 24, 2024, 12:06am UTC](https://meta.discourse.org/t/category-specific-message-or-pinned-topic/140473/12 "2024-01-24T00:06:47Z")

</div>

Automatically bumped on January 24, 2024, 12:06am UTC



---

<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:** [January 24, 2024, 9:07am UTC](https://meta.discourse.org/t/category-specific-message-or-pinned-topic/140473/13 "2024-01-24T09:07:57Z")

</div>

Closed on January 24, 2024, 9:07am UTC


