Skip to content

Username Body Class

Username Body Class Body classes for logged-in username and user ID-useful for theme tweaks and personalization. Privacy note: the username and ID appear in the page HTML source for that logged-in user.

Body classes for logged-in username and user ID-useful for theme tweaks and personalization. Privacy note: the username and ID appear in the page HTML source for that logged-in user.

  • Simple on/off toggle - no settings panel.

Enable it if:

  • You specifically need: Body classes for logged-in username and user ID-useful for theme tweaks and personalization. Privacy note: the username and ID appear in the page HTML source for that logged-in user.
  • You want this Content feature without installing a separate plugin for it.
  1. Go to WP PowerSuite -> Modules.
  2. Open Content or search for “Username Body Class”.
  3. Toggle Username Body Class on.

Toggle it off anytime to stop this module from loading.

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

Body classes for logged-in username and user ID-useful for theme tweaks and personalization. Privacy note: the username and ID appear in the page HTML source for that logged-in user.

Is Username Body Class free?

Yes. Enable it under WP PowerSuite -> Modules.

Does Username Body Class need configuration?

No. It is a simple on/off toggle.

How do I turn Username Body Class off?

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

Developer notes (hooks & filters)

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

Hooks (non-exhaustive): admin_body_class, body_class.