Hide news from non-admins + add .role in bodyclass
-
Even centralized in a Modal, it’s still a distraction in the backend for editor, it’s possible via CSS:
li#wp-admin-bar-asenha-hide-admin-notices { display: none; }
But this hides it for the Administrator too, which makes me think of a new suggestion, which is the option to add the ROLE as Body.Class, so I could finely customize the interface for Editors, Subscribers…
body:not(.superadmin) li#wp-admin-bar-asenha-hide-admin-notices { display: none; }
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.