# 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:** 12

<div class="post-metadata">

**Author:** ![pmusaraj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pmusaraj/32/119489_2.png) [@pmusaraj](https://meta.discourse.org/u/pmusaraj)\
**Post date:** [10 באפריל,‏ 2019,‏ 1:34pm UTC](https://meta.discourse.org/t/display-header-html-to-only-logged-in-users/113806/12 "2019-04-10T13:34:00Z")

</div>

Why do you have to have a server-side solution? Discourse is a full JS app, all of the header components for example have their html generated in JS. You can write the group-specific html in JS, and it will never be displayed to non-group users.

---

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