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

<div class="post-metadata">

**Author:** ![daxen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/daxen/32/64364_2.png) [@daxen](https://meta.discourse.org/u/daxen)\
**Post date:** [9 באפריל,‏ 2019,‏ 10:28am UTC](https://meta.discourse.org/t/display-header-html-to-only-logged-in-users/113806/6 "2019-04-09T10:28:23Z")

</div>

yes, i know how css works 😉

but this is no solution.

> [@daxen](#):
>
> i want to deliver the html block to registered users only.

i dont want that not logged in users can see the html in page-source or it can be indexd by search engines.

its a closed forum and hiding with css is no solution.

i already tried this in the admin backend:  
[https://meta.discourse.org/t/adding-plugin-outlets-using-a-theme/32727/12](https://meta.discourse.org/t/adding-plugin-outlets-using-a-theme/32727/12)

but without success.  
the script tag an inner-html is not published.

---

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