# Verberg post-footer links, pins, etc. info

**URL:** https://meta.discourse.org/t/hide-post-footer-links-pins-etc-info/215954
**Category:** Support
**Created:** [25 januari 2022 om 16:15 UTC](https://meta.discourse.org/t/hide-post-footer-links-pins-etc-info/215954 "2022-01-25T16:15:20Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [25 januari 2022 om 22:00 UTC](https://meta.discourse.org/t/hide-post-footer-links-pins-etc-info/215954/4 "2022-01-25T22:00:39Z")

</div>

All that little snippet does is hide the small action posts for everyone, and then make them visible to staff users. To be honest, I find the small action posts quite useful (especially the ‘closed’ one), so I wouldn’t advocate hiding them - though deleting some can help clear some noise.

Staff users get a ‘staff’ class added to the page when viewing, so it’s easier to target them. 🙂 If you wanted to add others I think that would require something more complicated. There’s an example of how to add a specific ‘admin’ class in this post which you may be able to adapt?

> [@Admin only button in header?](https://meta.discourse.org/t/admin-only-button-in-header/98732/2):
>
> Discourse adds a staff class to the body tag when a staff user is viewing the site. If you are ok with the button being visible to admins and moderators, you could hide the button with CSS and then make it visible when the staff class is present. If only having the button visible to admins is a requirement, you will need to use some javascript to determine that the user is an admin. The easiest approach to that would be to add an admin class to the body and then make the button visible when the…

---

_[View the full topic](https://meta.discourse.org/t/hide-post-footer-links-pins-etc-info/215954)._
