[FEATURE REQUEST] Add class based on role
-
Hello,
Is is possible to add all the roles an user is in as a class?
For example, on every page the body tag has several classes
<body class=”home page-template-default logged-in admin-bar”>If a user in also on ‘CUSTOM ROLE 1’ ‘CUSTOM ROLE 2’ can we add those classes and end up with something like this?
<body class=”home page-template-default logged-in admin-bar custom-role-1 custom-role-2″>
- The topic ‘[FEATURE REQUEST] Add class based on role’ is closed to new replies.