# כיצד להציג הודעת הבהרה לכל נושא בקטגוריה?

**URL:** https://meta.discourse.org/t/how-to-display-a-disclaimer-to-every-topic-in-a-category/203336
**Category:** Support
**Created:** [12 בספטמבר,‏ 2021,‏ 9:28pm UTC](https://meta.discourse.org/t/how-to-display-a-disclaimer-to-every-topic-in-a-category/203336 "2021-09-12T21:28:42Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![physixfan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/physixfan/32/184201_2.png) [@physixfan](https://meta.discourse.org/u/physixfan)
#### Post date: [12 בספטמבר,‏ 2021,‏ 9:28pm UTC](https://meta.discourse.org/t/how-to-display-a-disclaimer-to-every-topic-in-a-category/203336/1 "2021-09-12T21:28:43Z")

</div>

I would like to display a disclaimer to every topic in a category. Such as “Nothing in this forum is financial advice, and all the posts here are for entertainment purpose only.” What is the best way to do this?

---

<div class="post-metadata">

### Author: ![IAmGav](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/iamgav/32/235598_2.png) [@IAmGav](https://meta.discourse.org/u/IAmGav)
#### Post date: [12 בספטמבר,‏ 2021,‏ 9:34pm UTC](https://meta.discourse.org/t/how-to-display-a-disclaimer-to-every-topic-in-a-category/203336/2 "2021-09-12T21:34:26Z")

</div>

have a look at category banners

> [@Category Banners](https://meta.discourse.org/t/discourse-category-banners/86241):
>
> discourse2Summary Category Banners uses existing category details to create banners for your category pages (for tags check out [Discourse Tag Banners](https://meta.discourse.org/t/discourse-tag-banners/124240)).eyeglassesPreview [Preview on Discourse Theme Creator](https://discourse.theme-creator.io/theme/Discourse/category-banners)hammer_and_wrenchRepository Link [https://github.com/discourse/discourse-category-banners](https://github.com/discourse/discourse-category-banners)open_bookNew to Discourse Themes? [Beginner’s guide to using Discourse Themes](https://meta.discourse.org/t/beginners-guide-to-using-discourse-themes/91966) Install this theme component Features Category Banners uses existing category details to cr…

---

<div class="post-metadata">

### Author: ![physixfan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/physixfan/32/184201_2.png) [@physixfan](https://meta.discourse.org/u/physixfan)
#### Post date: [12 בספטמבר,‏ 2021,‏ 9:53pm UTC](https://meta.discourse.org/t/how-to-display-a-disclaimer-to-every-topic-in-a-category/203336/3 "2021-09-12T21:53:55Z")

</div>

Thanks! However this theme component seems not ideal for a boring legal disclaimer…

---

<div class="post-metadata">

### Author: ![ondrej](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ondrej/32/198804_2.png) [@ondrej](https://meta.discourse.org/u/ondrej)
#### Post date: [12 בספטמבר,‏ 2021,‏ 10:01pm UTC](https://meta.discourse.org/t/how-to-display-a-disclaimer-to-every-topic-in-a-category/203336/4 "2021-09-12T22:01:41Z")

</div>

Hey there

I’d recommend this theme component as its displayed at the bottom of the page its less intrusive but easily readable.

> [@Easy Responsive Footer](https://meta.discourse.org/t/easy-responsive-footer/95818):
>
> discourse2Summary Easy Responsive Footer will allow you to build a fully-responsive footer using nothing but plain text.eyeglassesPreview [Preview on Discourse Theme Creator](https://discourse.theme-creator.io/theme/Discourse/easy-responsive-footer)hammer_and_wrenchRepository Link [https://github.com/discourse/Discourse-easy-footer](https://github.com/discourse/Discourse-easy-footer)open_bookNew to Discourse Themes? [Beginner’s guide to using Discourse Themes](https://meta.discourse.org/t/beginners-guide-to-using-discourse-themes/91966) Install this theme component Features Desktop Mobile Settings Name Description heading Text for the head…

---

<div class="post-metadata">

### Author: ![JonathanShaw](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jonathanshaw/32/532672_2.png) [@JonathanShaw](https://meta.discourse.org/u/JonathanShaw)
#### Post date: [12 בספטמבר,‏ 2021,‏ 11:27pm UTC](https://meta.discourse.org/t/how-to-display-a-disclaimer-to-every-topic-in-a-category/203336/5 "2021-09-12T23:27:04Z")

</div>

I needed to do something like this myself recently, so used a custom theme component:

```plaintext
<script type="text/discourse-plugin" version="0.8">
api.decorateWidget("post:before", helper => {
    const { iconNode } = require("discourse-common/lib/icon-library");
    let topic = helper.widget.model.topic;
    if (topic.category_id == 6 && topic.tags.includes('stub')) {
        let text = "This page is a stub. You can help by ";
        text += helper.attrs.canEdit ? "adding to it." : "suggesting additions.";
      return helper.h("div.post-notice", [iconNode('book-open'), text]);
    }

});
</script>

```
