PageForge 1.3 : Vérifiez chaque exécution avant qu'elle n'écrive, mettez à jour les pages générées, les spintox et les lots de reprise. Voir ce qui a changé
Custom Body Class icon
Ralentir Tested up to 6.8.13 #2 in body

Custom Body Class

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

Installations actives10K+10 000 +
Téléchargements · 30D1.2K▲ +24.2% vs prev. 30d
Évaluation5/521 reviews
Score de santé45/100Juste
Téléchargements de tous les temps123.9KSince Jul 2015
Support résolu0 / 10% au cours des 2 derniers mois
A besoin deWP 5.2.0Php tout
Téléchargements · 7j263▲ +19% week over week
Notre verdict

Utiliser avec prudence

Custom Body Class works, but test it on a staging site before relying on it in 2026. It runs on 10K+ sites, is rated 5/5 and was last updated 1 year ago, and scores 45/100 on our health check.

  • Prouvé à grande échelle sur plus de 10 000 sites actifs
  • Loved by users — 5/5 from 21 reviews
  • Momentum — downloads up 24.2% vs the previous 30 days
  • Pas de mise à jour depuis plus d'un an
  • Uniquement testé jusqu'à WordPress 6,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

173451Aug 21Oct 4Nov 18
Hier38
Moyenne quotidienne (1 ans)28
Jour de pointe682 Novembre 2026
12 Derniers mois10K

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 Body Class stands today

WordPress.org Classements de recherche

Position en direct dans la recherche de plugins, Top 100
Mot-cléPositionPlugins concurrentsCatégorie
body #2 4,357 Best body plugins →
css >100 10,000 Best css plugins →
custom >100 10,000 Best custom plugins →

Adoption de version

Part de sites actifs par version.

  • 0.797.6%
  • Autres2.5%

Répartition des notes

★★★★★★★★★★ 5 from 21 reviews

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

About Custom Body Class

From the official readme · v0.7.5

Description

You can use this plugin to add a unique CSS class to your pages or posts.

Demo

TasteWP has prepared a quick WordPress instance with this plugin, so you can give it a try in this demo

Responsiveness

There’s a way to add a class to appear only on mobile devices. You can do that by simply adding mobile- on the front of
the class. For example, if you want to have the class “car” for mobile side, you need to use “mobile-car”.

Support me

If you find this plugin helpful, or you just want to send me a coffee here are the ways:

  • Use the Github Sponsor button
  • Ko-fi
  • Watch me coding on twitch.tv/thelup
  • Or simply visit my site lup.dev and make those analytics ring the bells.

Installation

  1. Install Custom Body Class either via the WordPress.org plugin directory, or by uploading the files to your /wp-content/plugins/ directory
  2. After activating Custom Body Class go to any edit page and see the Custom Body Class metabox in the right sidebar.

Journal de modifications

0.7.5

  • Fix: Fixed a notice about textdomain loaded too early.
  • Update: Check compatibility with WordPress 6.8.2 and PHP 8.3.*

0.7.4

  • Update: Check compatibility with WordPress 6.7.1 and PHP 8.2.*

0.7.3

  • Update: Check compatibility with 6.0.0.

0.7.2

  • Fix: Properly instantiate plugin default settings.

0.7.1

  • Update: Check for nonce existence on settings page form.

0.7.0

  • Update: Better escapes for the plugin’s settings page.
  • Update: Modified textdomain as the plugin’s name.
  • Add: Nonce verification for the plugin’s settings page.

Journal des modifications complet sur WordPress.org →

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 Body Class alternatives

All body plugins →
Alternatives
Rang Plugin Installations actives Évaluation Mise à jour Santé
1 Head & Footer Code Head & Footer Code Easy add site-wide, category and article specific custom code before the closing and , or… by Aleksandar Urošević 100K+ ★★★★★★★★★★ 5 (51) Il y a 3 mois 77
3 Header Footer Script Adder Header Footer Script Adder Easily insert custom HTML, CSS, and JavaScript into your WordPress site's header, body, and… by mahethekiller 1K+ ★★★★★★★★★★ 4.1 (7) il y a 4 mois 63
4 Add URL Slugs as Body Classes Add URL Slugs as Body Classes Add URL Slugs to body Class by Aaron T. Grogg 700+ ★★★★★★★★★★ 4.8 (5) 12 years ago 38
5 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) 15 years ago 38
6 Slug as body class Slug as body class Add a unique class to the body tag for easy styling of individual pages by Carlo Roosen 100+ ★★★★★★★★★★ 5 (6) 12 years ago 37
7 LH Add Roles to Body Class LH Add Roles to Body Class Adds the currently logged in users role (or roles) to the body class in both the front and… par ShawFactor 30+ ★★★★★★★★★★ 5 (1) Il y a 4 ans 31
8 Gerenciador de Códigos de Rastreamento Convr Gerenciador de Códigos de Rastreamento Convr Instale e gerencie códigos de rastreamento e pixels de um jeito fácil e simples. Compatível… by multiversoweb 10+ ★★★★★★★★★★ Aucun avis Il y a 6 ans 23
9 Background Changer Background Changer Background Changer helps you change very easy and very fast the background color of your… by Ciprian Turcu 10+ ★★★★★★★★★★ Aucun avis 17 years ago 23
10 CSS Classes For WooCommerce – customize the WooCommerce cart and checkout via CSS CSS Classes For WooCommerce CSS classes depending on the cart to customize the checkout. de José Mortel 10+ ★★★★★★★★★★ 5 (1) Il y a 2 mois 69
11 Vücut Kitle Endeksi Vücut Kitle Endeksi Cinsiyet, boy ve kilo girilerek; Vücut Yüzey Alanı, Yağsız Vücut Ağırlığı, İdeal Vücut… by sustun 10+ ★★★★★★★★★★ Aucun avis 16 years ago 31

FAQ

Custom Body Class: quick answers

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

Source : WordPress.org

Is Custom Body Class free?

Yes. Custom Body Class is free to download and use from the official WordPress.org plugin directory.

Is Custom Body Class safe to use in 2026?

Custom Body Class works, but test it on a staging site before relying on it in 2026. It runs on 10K+ sites, is rated 5/5 and was last updated 1 year ago, and scores 45/100 on our health check.

How many websites use Custom Body Class?

Custom Body Class is active on 10K+ WordPress websites and has been downloaded 123,880 times since it launched in July 2015. It was downloaded 1,158 times in the last 30 days.

Does Custom Body Class work with WordPress 7.1?

Custom Body Class is officially tested up to WordPress 6.8.13, while the latest release is 7.1.5. It may still work, but try it on a staging site first.

When was Custom Body Class last updated?

The latest version, 0.7.5, was released on July 27, 2025 (1 year ago).

Who makes Custom Body Class?

Custom Body Class is developed and maintained by Andrei Lupu.

What are the best alternatives to Custom Body Class?

The most popular alternatives to Custom Body Class are Head & Footer Code (100K+ installs), Header Footer Script Adder (1K+ installs) and Add URL Slugs as Body Class… (700+ 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