# Display Header HTML to Logged-in Users Only

**URL:** <https://meta.discourse.org/t/display-header-html-to-only-logged-in-users/113806>\
**Category:** Product Support\
**Created:** [8 באפריל,‏ 2019,‏ 9:52pm UTC](https://meta.discourse.org/t/display-header-html-to-only-logged-in-users/113806 "2019-04-08T21:52:16Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![DigitalStartup](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/digitalstartup/32/118242_2.png) [@DigitalStartup](https://meta.discourse.org/u/DigitalStartup)\
**Post date:** [8 באפריל,‏ 2019,‏ 9:52pm UTC](https://meta.discourse.org/t/display-header-html-to-only-logged-in-users/113806/1 "2019-04-08T21:52:16Z")

</div>

If I write a snippet of code in the Header (i.e. a banner or advertisement message), is there a way to wrap the code in something that ensures it only gets display to logged in users?

---

_[View the full topic](https://meta.discourse.org/t/display-header-html-to-only-logged-in-users/113806)._
