Custom Classes
The Custom Classes plugin allows you to create custom classes for posts (when post_class() is called) and for the class (when body_class() is called). It creates a meta box on the edit post and edit term screens in the…
Consider an alternative
Custom Classes shows warning signs in 2026 — compare the alternatives below before installing. It runs on 2K+ sites, is rated 5/5 and was last updated 9 years ago, and scores 40/100 on our health check.
- No update in 8 years
- Only tested up to WordPress 4.8 (latest is 7.1)
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where Custom Classes stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| classes | >100 |
Version adoption
Share of active sites per release.
Rating breakdown
★★★★★★★★★★ 5 from 11 reviews
About Custom Classes
From the official readme · v1.0.0Description
The Custom Classes plugin allows you to create custom classes for posts (when post_class() is called) and for the <body> class (when body_class() is called). It creates a meta box on the edit post and edit term screens in the admin with input boxes for adding your custom classes.
Custom post classes are added whenever your theme calls the post_class() function, which is generally whenever a post is shown. Custom body classes are added on the single view of the post whenever your theme calls the body_class() function.
Like this plugin?
Please consider helping the cause by:
Professional Support
If you need professional plugin support from me, the plugin author, you can access the support forums at Theme Hybrid, which is a professional WordPress help/support site where I handle support for all my plugins and themes for a community of 75,000+ users (and growing).
Plugin Development
If you’re a theme author, plugin author, or just a code hobbyist, you can follow the development of this plugin on it’s GitHub repository.
Will this work with custom post types?
Certainly. This plugin works with any public post type on your site. It’s not just limited to the “post” post type.
It’s not working!
Most likely, this means your theme isn’t using the appropriate functions (post_class() and body_class()). You’ll need to talk to your theme author to get them to fix this. Or, better yet, use a correctly-coded theme from Theme Hybrid!
Changelog
The change log is located in the changelog.md file in the plugin folder. You may also view the change log online.
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.
Best Custom Classes alternatives
All classes plugins →FAQ
Custom Classes: quick answers
Straight answers, pulled from live WordPress.org data.
Live data from WordPress.org · checked Sep 26, 2026
Is Custom Classes free?
Yes. Custom Classes is free to download and use from the official WordPress.org plugin directory.
Is Custom Classes safe to use in 2026?
Custom Classes shows warning signs in 2026 — compare the alternatives below before installing. It runs on 2K+ sites, is rated 5/5 and was last updated 9 years ago, and scores 40/100 on our health check.
How many websites use Custom Classes?
Custom Classes is active on 2K+ WordPress websites and has been downloaded 27,905 times since it launched in February 2012. It was downloaded 172 times in the last 30 days.
Does Custom Classes work with WordPress 7.1?
Custom Classes is officially tested up to WordPress 4.8.32, while the latest release is 7.1.2. It may still work, but try it on a staging site first.
What PHP version does Custom Classes need?
Custom Classes requires PHP 5.3 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Custom Classes last updated?
The latest version, 1.0.0, was released on November 28, 2017 (9 years ago).
Who makes Custom Classes?
Custom Classes is developed and maintained by Justin Tadlock.
What are the best alternatives to Custom Classes?
The most popular alternatives to Custom Classes are Widget CSS Classes (80K+ installs), Widget Classes (1K+ installs) and Ambrosite Body Class Enhanc… (200+ installs).
Powered by PageForge
Want thousands of pages that rank like these? Build them in an afternoon.
This directory runs on the same engine as PageForge. Turn any spreadsheet, CSV or API into thousands of fast, SEO-ready WordPress pages — with schema, internal links and AI-written copy baked in.
- CSV, Google Sheets & API data sources
- AI content, schema & internal links per page
- Works with Elementor, Gutenberg, Yoast & Rank Math
- Free on WordPress.org — no credit card

