Skip to content

Custom Body Class

Custom Body Class Adds custom CSS classes to the front-end body for easy styling and layout flags-no template edits.

Adds custom CSS classes to the front-end body for easy styling and layout flags-no template edits.

  • Includes settings so you can tune this module for your site.
  • Body classes.

Enable it if:

  • You specifically need: Adds custom CSS classes to the front-end body for easy styling and layout flags-no template edits.
  • You want this Content feature without installing a separate plugin for it.

Open Custom Body Class settings from WP PowerSuite -> Modules after enabling it.

  1. Go to WP PowerSuite -> Modules.
  2. Open Content or search for “Custom Body Class”.
  3. Toggle Custom Body Class on.
  4. Open the module settings and save.

Toggle it off anytime to stop this module from loading.

  • Confirm Custom 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.
  • 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 Custom Body Class off to revert, then re-enable with adjusted settings.
What does Custom Body Class do?

Adds custom CSS classes to the front-end body for easy styling and layout flags-no template edits.

Is Custom Body Class free?

Yes. Enable it under WP PowerSuite -> Modules.

Does Custom Body Class have settings?

Yes. Open module settings from WP PowerSuite -> Modules after enabling it.

How do I turn Custom Body Class off?

Go to WP PowerSuite -> Modules, find Custom Body Class, and toggle it off.

Developer notes (hooks & filters)

Source: modules/custom-body-class/admin.php, modules/custom-body-class/module.php. Boot: display · context: frontend.

Hooks (non-exhaustive): body_class.