Custom Body Class icon

Custom Body Class

by Andrei Lupu

View on WordPress.org
65 Quality Score
Active Installs
18/30

10,000 active installs is a modest niche footprint, far behind the million-plus install alternatives in the same space.

Update Freshness
14/25

Updated within the past few months and tested against WordPress 6.8.5, so it is currently maintained, though the narrow feature set means there is little to update.

User Rating
15/15

A perfect 100 out of 100 from 21 ratings is encouraging, but the small sample size limits how much weight that score should carry.

Support Health
8/15

Only 1 support thread exists and it is unresolved, suggesting either very few issues or very little active help from the developer.

WP Compatibility
11/15

Tested with WordPress 6.8.5 and requires only WordPress 5.2.0, giving it solid compatibility, though no PHP version is declared.

Scores higher than 16% of indexed plugins

About

A plain simple plugin which allows you to add a custom CSS class the HTML body tag.

Active Installs 10k+
Rating ★★★★★ 5/5
Last Updated 2025-07-27 5:23pm GMT
Requires WordPress 5.2.0+
Tested Up To 6.8.8

Security History

2 known vulnerabilities, all patched
1 High 1 Medium

Most recent: December 12, 2019

View details ▸

Powered by Wordfence Intelligence

What It Does

Custom Body Class adds a field to the WordPress editor where you can type a custom CSS class that gets applied to the <body> tag of that specific page or post. The class is output on the front end, letting you target individual pages with custom CSS through your theme or a child theme stylesheet. It does not include any styling of its own; it is purely a hook for your own CSS rules.

Who It's For

This plugin is best for WordPress developers, designers, and theme customizers who want a quick way to add per-page CSS hooks without editing template files or writing a custom function. It suits small business sites, agency client builds, and portfolio sites where a handful of pages need unique styling rules.

Who Should Skip It

If you only need to add a few CSS rules globally or do not already work with CSS, a child theme stylesheet or the Customizer's Additional CSS field will get you further. Anyone looking for a full CSS management toolkit should also skip this and use something like WPCode.

The Bottom Line

Custom Body Class does one small job and does it cleanly, earning an overall score of 68.83 out of 100. It is a reasonable choice for developers who want a focused per-page CSS hook without plugin bloat, but the unresolved support history and tiny install base mean you should not depend on it for complex builds. For most site owners, WPCode or a child theme will cover the same ground with more flexibility.

Tags

body css custom