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 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Hide news from non-admins + add .role in bodyclass’ is closed to new replies.