User Role Body Class
User Role Body Class Body classes per user role (and guests) for role-based styling on the front end and in admin.
What it does
Section titled “What it does”Body classes per user role (and guests) for role-based styling on the front end and in admin.
- Simple on/off toggle - no settings panel.
When to use it
Section titled “When to use it”Enable it if:
- You specifically need: Body classes per user role (and guests) for role-based styling on the front end and in admin.
- You want this Content feature without installing a separate plugin for it.
When not to use it
Section titled “When not to use it”How to enable it
Section titled “How to enable it”- Go to WP PowerSuite -> Modules.
- Open Content or search for “User Role Body Class”.
- Toggle User Role Body Class on.
Toggle it off anytime to stop this module from loading.
How to test it
Section titled “How to test it”- Confirm User Role Body Class is enabled under WP PowerSuite -> Modules -> Content.
- Use the feature this module controls (the admin UI, front-end behavior, upload, login flow, etc.).
- ✅ Pass: you see the module-specific behavior described above.
- ❌ Fail: re-check this module’s settings, then look for another plugin doing the same job.
Troubleshooting
Section titled “Troubleshooting”- No change after enabling. Confirm the toggle is on, hard-refresh, and review this module’s settings.
- Conflicts. Temporarily disable other plugins that implement the same feature.
- Unexpected side effect. Toggle User Role Body Class off to revert, then re-enable with adjusted settings.
What does User Role Body Class do?
Body classes per user role (and guests) for role-based styling on the front end and in admin.
Is User Role Body Class free?
Yes. Enable it under WP PowerSuite -> Modules.
Does User Role Body Class need configuration?
No. It is a simple on/off toggle.
How do I turn User Role Body Class off?
Go to WP PowerSuite -> Modules, find User Role Body Class, and toggle it off.
Developer notes (hooks & filters)
Source: modules/user-role-body-class/module.php.
Boot: standard · context: frontend, admin.
Hooks (non-exhaustive): admin_body_class, body_class.