Custom Body Class


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

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 ».


  1. Install Custom Body Class either via the 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.


Very useful!!!!

This Plugin is very useful if you have to deal with customers wanting to individualize their website but don't have the necessary knowledge to do so. The Plugin lets you add individual css classes which are added to the body tag either individually for each page or globally for every page. This Plugin is extremely useful and lightweight and I would recommend it anytime. 🙂
Lire les 12 avis

Contributeurs & développeurs

« Custom Body Class » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.


Traduisez « Custom Body Class » dans votre langue.

Le développement vous intéresse ?

Parcourir le code, consulter le SVN dépôt, ou s’inscrire au journal de développement par RSS.



  • Fix: Now the metabox will load even if the Autocomplete feature is off.
  • Add: The capability to restrict the metabox for Administrators only.


  • Add an option for a global class


  • Add support for classes on mobile devices


  • Add a tag selector with autocomplete for all post types


  • Quick archives fix


  • Small fixes, and typos


  • We are on