# פרסום דף

**URL:** <https://meta.discourse.org/t/page-publishing/151971>\
**Category:** Site Management\
**Tags:** how-to, page-publishing, content\
**Created:** [19 במאי,‏ 2020,‏ 6:56pm UTC](https://meta.discourse.org/t/page-publishing/151971 "2020-05-19T18:56:39Z")\
**Posts on this page:** 1\
**Showing post:** 173

<div class="post-metadata">

**Author:** ![digitaldominica](https://avatars.discourse-cdn.com/v4/letter/d/97f17d/32.png) [@digitaldominica](https://meta.discourse.org/u/digitaldominica)\
**Post date:** [18 בינואר,‏ 2024,‏ 12:29am UTC](https://meta.discourse.org/t/page-publishing/151971/173 "2024-01-18T00:29:04Z")

</div>

With javascript I removed the element from the page on page load and I added an anchor link to the header after the logo to return back to the forum.

```plaintext
<script type="text/javascript">
  window.addEventListener('load', function() {
    var header = document.querySelector('.published-page-content-header');
    if (header) {
      header.parentNode.removeChild(header);
    }
  });

 window.addEventListener('load', function() {
    var headerWrapper = document.querySelector('.published-page-header-wrapper');
    if (headerWrapper) {
      var backToForumLink = headerWrapper.querySelector('a');
      if (backToForumLink) {
        var customHtml = '<a href="/" >Back </a>&nbsp;&nbsp;';
        backToForumLink.insertAdjacentHTML('afterend', customHtml);
      }
    }
  });
</script>

```

---

_[View the full topic](https://meta.discourse.org/t/page-publishing/151971)._
