On This Page
On This Page
Custom Body Class
Overview
Adds the CSS classes you configure to the front-end body element via the body_class filter—handy for layout flags and theme tweaks without editing templates. Supports multiple classes (sanitized), with sensible limits on count and input length. Empty setting means no change.

- Developers adding site-wide CSS hooks without theme edits
- Agencies shipping layout flags for client CSS
- Teams stacking body-class helpers with role/username modules
Features
Custom body classes
Sanitized output
No template edits
Simple settings
Use Cases
- Campaign layout flagsAdd campaign-spring to toggle seasonal CSS without a child theme.
- Agency CSS hooksShip a standard body class every client site can target.
- A/B styling experimentsFlip a body class while testing layout CSS.
Frequently Asked Questions
What does Custom Body Class do in WP PowerSuite?
It adds your custom CSS classes to the front-end body element for styling hooks—no template edits.
How do I enable Custom Body Class in WP PowerSuite?
Enable the module, enter one or more class names in settings, and save.
Who should use Custom Body Class?
Developers and agencies who need portable body CSS flags without editing themes.
Does it affect the admin body?
No. This module targets the front-end body class filter.
Is Custom Body Class a free or Pro module in WP PowerSuite?
It is included (free) with WP PowerSuite.

