Simple Body Class is a lightweight WordPress plugin that adds custom body classes to individual posts and pages.
That small addition unlocks a surprising amount of flexibility. Whether you’re creating alternate layouts, introducing page-specific styling, or targeting unique interactions, custom body classes provide a WordPress-native way to make those changes without modifying templates or adding complexity
The plugin is intentionally minimal. There are no settings pages, feature lists, or opinionated workflows—just a single field where it belongs, integrated directly into the editor. Add one or more classes, save your content, and they’re available on the front end.
Simple Body Class began as a personal utility for my own websites. I wanted something lightweight, secure, and predictable that did exactly one thing—and did it well. Rather than relying on larger plugins for such a focused task, I built the simplest solution that fit my workflow.
It’s still a work in progress, but it’s the version I use. If you appreciate small, purposeful tools that stay out of your way, I hope you’ll find it useful too.
If you’d like to support the project, consider giving it a ★ on GitHub.
Simple Body Class settings
