🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Compte Get it free
Custom Classes icon
Peut-être abandonné Tested up to 4.8.35 #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…

Installations actives2K+1 000 000 +
Téléchargements · 30D392▲ +53.7% vs prev. 30d
Évaluation5/511 avis
Score de santé40/100En danger
Téléchargements de tous les temps28.6KDepuis février 2012
Support résolu—Aucun fil de discussion récent
A besoin deWP 4.8PHP 5.3+
Téléchargements · 7j113▲ +24.2% week over week
Notre verdict

Envisager une 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.

  • Pas de mise à jour dans 9 ans
  • Uniquement testé jusqu'à WordPress 4,8 (le dernier est de 7,1)

Comment s'accumule-t-il ?

Côte à côte sur les installations, les mises à jour, les évaluations et le support

Téléchargements quotidiens

61319Aug 31Oct 14Nov 28
Hier17
Moyenne quotidienne (1 ans)5
Jour de pointe26Nov 26, 2026
12 Derniers mois1.7K

Les pics de téléchargement suivent généralement une nouvelle version - chaque site qui met à jour automatiquement compte comme un téléchargement.

Classements

Where Custom Classes stands today

WordPress.org Classements de recherche

Position en direct dans la recherche de plugins, Top 100
Mot-cléPositionPlugins concurrentsCatégorie
classes >100 5,300 Best classes plugins →

Adoption de version

Part de sites actifs par version.

  • 1.093.3%
  • 0.16.7%

Répartition des notes

★★★★★ ★★★★★ 5 sur 11 avis

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

About Custom Classes

À partir du Lisez-moi officiel · 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:

Accompagnement professionnel

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!

Journal de modifications

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

Journal des modifications complet sur WordPress.org →

Captures d'écran

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

Pour les développeurs

Est-ce votre plugin ? Montrez les chiffres.

Ajoutez un badge en direct à votre site, docs ou github readme. Il se met à jour par lui-même - aucun compte n'est nécessaire.

Badge d'installations actives Badge Badge de score de santé

Best Custom Classes alternatives

All classes plugins →
Alternatives
Rang Plugin Installations actives Évaluation Mise à jour Santé
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) Il y a 2 ans 53
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) il y a 17 ans 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… par ambrosite 200+ ★★★★★★★★★★ 5 (5) Il y a 15 ans 38
5 Custom Menu Class Custom Menu Class Set predefined CSS classes to menu items by Aiken1 200+ ★★★★★★★★★★ 3.2 (6) il y a 11 ans 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) il y a 11 ans 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) Il y a 3 ans 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 30+ ★★★★★★★★★★ 5 (1) Il y a 7 ans 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) il y a 12 ans 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) il y a 13 ans 30
11 Breely Breely Embed Breely appointment booking and forms into your site. by breely 10+ ★★★★★★★★★★ Aucun avis Il y a 2 ans 26

FAQ

Custom Classes: quick answers

Réponses directes, extraites des données en direct WordPress.org.

Source : WordPress.org

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 28,576 times since it launched in February 2012. It was downloaded 392 times in the last 30 days.

Does Custom Classes work with WordPress 7.1?

Custom Classes is officially tested up to WordPress 4.8.35, while the latest release is 7.1.5. 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).

Propulsé par PageForge

Un modèle et une feuille de calcul. Une vraie page pour chaque recherche.

PageForge transforme chaque ligne d'un CSV en une page WordPress avec son propre titre, URL, SEO et schéma, construit sur la mise en page que vous Déjà conçu. Gratuit sur WordPress.org.

  • CSV et XLSX, plus Google Sheets sur les professionnels et les entreprises
  • Son propre titre, URL, SEO champs et schéma pour chaque page
  • Fonctionne avec l'éditeur de blocs, Elementor, Divi et Avada
  • Gratuit sur WordPress.org, pas de carte de crédit

↑↓ bouger↵ ouvrir