PluginSift
PluginsThemesCompare
Directory
  • Plugins
  • Themes
  • Compare Plugins
Plugin Comparisons
  • SEO
  • Security
  • Ecommerce
  • Page Builders
  • Caching
  • Backup
  • Forms
  • Analytics
Resources
  • About
  • Contact
  • llms.txt

© 2026 PluginSift. Data sourced from WordPress.org. · [email protected]

  1. Home
  2. Plugins
  3. Classes
  4. Custom Classes
Custom Classes icon

Custom Classes

Allows users to create custom classes on a per-post/term basis.

By Justin Tadlock·Classes·Free
5(11 reviews)
·2.0K+ active installs·Updated 8 years ago
DownloadVisit HomepageCompare

As of April 2026, Custom Classes is a WordPress classes plugin with 2.0K+ active installations and a 5/5 rating from 11 reviews. It has been downloaded 27K+ times in total. Requires WordPress 4.8+ and PHP 5.3+. Available on WordPress.org since 2012. Last updated 8 years ago — may have compatibility concerns. Downloads are up 9% this week. Top alternative: Widget CSS Classes.

5/511 reviews
2.0K+active installs
27K+total downloads
14 yearssince 2012

Overview

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:

  • Making a donation.
  • Signing up at my site.
  • Rating the plugin.

Professional Support

If you need professional plugin support from me, the plugin author, you can access the support forums at Theme Hybrid, which is…

Read full description on WordPress.org

Screenshots

Ratings & Reviews

511 reviews
5 ★
11
4 ★
0
3 ★
0
2 ★
0
1 ★
0

Recent Reviews

Simply great
by tastymouse·8 years ago

This is really a nice plugin. It makes any theme more flexible.

Works nicely!
by Shivanand Sharma·8 years ago

If all you need is to add custom classes to body on a per page / post basis, this plugin is all you need.

Perfect
by innuvo·10 years ago

Just what I need – works perfectly running WP version 4.3.1 without any issues at all.

Thanks for a great solution Justin

As the other reviewer, could do with an update to tell users it is still ok to use today.

Works fine – could use an update
by Dave·10 years ago

PLugin works perfectly – could use a quick update just so it doesn’t show the ‘not updated for more than 2 years’ warning.

simple and effective
by susafri·12 years ago

Love this. It made it possible for me to add image titles to selected galleries only.

Download Trends

Today: 2Yesterday: 3This week: 25Period total: 1K

Compatibility

WordPress4.8+ requiredTested up to 4.8.28
PHP5.3+ required

Version Adoption

v1.0
93.4%
v0.1
6.6%

Top Alternatives to Custom Classes

Widget CSS Classes icon
Widget CSS Classes
4.990K+ installsUpdated 1 year ago
ViewCompare
Widget Classes icon
Widget Classes
51.0K+ installsUpdated 15 years ago
ViewCompare
Ambrosite Body Class Enhanced icon
Ambrosite Body Class Enhanced
5300 installsUpdated 14 years ago
ViewCompare
Custom Menu Class icon
Custom Menu Class
3.2200 installsUpdated 9 years ago
ViewCompare
Custom CSS classes for images icon
Custom CSS classes for images
5100 installsUpdated 10 years ago
ViewCompare
View all classes plugins →

Frequently Asked Questions

Changelog

The change log is located in the changelog.md file in the plugin folder. You may also view the change log online.

View full changelog on WordPress.org

Contributors

Justin TadlockJustin Tadlock
Plugin Info
Version
1.0.0
Last Updated
Nov 28, 2017
WP Requires
4.8+
Tested Up To
4.8.28
PHP Requires
5.3+
Active Installs
2.0K+
Downloads
27K+
Added
Feb 6, 2012
Business
Free

Tags

classes

Developer

J
Justin Tadlock
35 plugins0.0M+ total installs
View all plugins →

Quick Compare

Custom Classes vs Widget CSS Classes→Custom Classes vs Widget Classes→Custom Classes vs Ambrosite Body Class Enhanced→

Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.