BLACK FRIDAY
Save 59% on PageForge Annual $191/year $485/year
Claim 59% Off →
Custom Classes icon
Possibly abandoned Tested up to 4.8.32 #2 in classes

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…

Active installs2K+1K+ tier
Downloads · 30d172▲ +8.2% vs prev. 30d
Rating5/511 reviews
Health score40/100At risk
All-time downloads27.9KSince Feb 2012
Support resolved—No recent threads
RequiresWP 4.8PHP 5.3+
Downloads · 7d49▲ +4.3% week over week
Our verdict

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 & support

Daily downloads

258Jun 28Aug 11Sep 25
Yesterday11
Daily average (1y)4
Peak day15Oct 20, 2025
Last 12 months1.4K

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Rankings

Where Custom Classes stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
classes >100 4,496 Best classes plugins →

Version adoption

Share of active sites per release.

  • 1.093.1%
  • 0.16.9%

Rating breakdown

★★★★★★★★★★ 5 from 11 reviews

  • 5★100.0%
  • 4★0.00%
  • 3★0.00%
  • 2★0.00%
  • 1★0.00%

About Custom Classes

From the official readme · v1.0.0

Description

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.

Full changelog on WordPress.org →

Screenshots

Custom classes meta box
Custom classes meta box
Body class output in source code
Body class output in source code

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.

Active installs badge Rating badge Health score badge

Best Custom Classes alternatives

All classes plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
1 Widget CSS Classes Widget CSS Classes Add custom classes and ids plus first, last, even, odd, and numbered classes to your… by Jory Hogeveen 80K+ ★★★★★★★★★★ 4.9 (74) 2 years ago 52
3 Widget Classes Widget Classes Widget Classes allows you to add classes to your individual widgets to be used by your… by aizatto 1K+ ★★★★★★★★★★ 5 (1) 16 years ago 34
4 Ambrosite Body Class Enhanced Ambrosite Body Class Enhanced Enhances the body_class template tag, adding some extra classes to the body (post/page… by ambrosite 200+ ★★★★★★★★★★ 5 (5) 15 years ago 38
5 Custom Menu Class Custom Menu Class Set predefined CSS classes to menu items by Aiken1 200+ ★★★★★★★★★★ 3.2 (6) 10 years ago 31
6 Custom CSS classes for images Custom CSS classes for images This simple plugin adds two additional fields to the media window, that lets you set… by nivijah 100+ ★★★★★★★★★★ 5 (3) 11 years ago 32
7 MB Spirit for MINDBODY MB Spirit for MINDBODY Connect your MB Spirit account with WordPress for easy integration of your MINDBODY account… by yogaboy 90+ ★★★★★★★★★★ 5 (3) 3 years ago 32
8 MAJpage Menu Class Extender MAJpage Menu Class Extender Adds classes to first, last, parent, even and odd elements of wp_page_menu and wp_nav_menu. by duzymaju 40+ ★★★★★★★★★★ 5 (1) 7 years ago 31
9 Extra Classes Extra Classes Adds classes for selected menu states such as highlighting categories when viewing a blog… by Ben Huson 30+ ★★★★★★★★★★ 5 (3) 11 years ago 31
10 Browser Body Classes with Shortcodes Browser Body Classes with Shortcodes Adds browser-specific body classes for styling, and shortcodes to show or hide content… by thomstark 10+ ★★★★★★★★★★ 5 (4) 12 years ago 30
11 Breely Breely Embed Breely appointment booking and forms into your site. by breely 10+ ★★★★★★★★★★ No reviews 1 year ago 26

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
Sarah is here to help!
Hi there! 👋 Need help finding what you're looking for?
Sarah
Sarah
Online & Ready to Help
Hi there! 👋 Need help finding what you're looking for?

We'll use this to continue our conversation

Just now ✓ Verified

Join 500+ SEO Pros Scaling Their Strategy

Get exclusive programmatic SEO tactics, AI content workflows, and the latest PageForge updates delivered straight to your inbox. Stay ahead of the algorithm.

We care about your data in our privacy policy.