Questo plugin non è stato testato con le ultime 3 versioni principali (major releases) di WordPress. Potrebbe non essere più mantenuto, o supportato, e potrebbe presentare problemi di compatibilità se utilizzato con versioni più recenti di WordPress.

Custom Body Class

Descrizione

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:

Installazione

  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.

Recensioni

19 Gennaio 2021
Tested successfully on WordPress 5.6. Made it a lot easier to manage css for similar pages.
28 Gennaio 2020
You should be able to enter any valid class-name, including characters like % (percentage) etc. They are useful for some purposes.
22 Giugno 2019
Very useful and easy to use plugin, it helps a lot in page customization. And it works with multisite too. Thanks.
1 Maggio 2019
This plugin works just as I would expect. Great options without making it too complex. Thank you!
Leggi tutte le recensioni di 20

Contributi e sviluppo

“Custom Body Class” è un software open source. Le persone che hanno contribuito allo sviluppo di questo plugin sono indicate di seguito.

Collaboratori

“Custom Body Class” è stato tradotto in 1 lingua. Grazie ai traduttori per i loro contributi.

Traduci “Custom Body Class” nella tua lingua.

Ti interessa lo sviluppo?

Esplora il codice segui il repository SVN, segui il log delle modifiche tramite RSS.

Changelog (registro delle modifiche)

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.

0.6.0

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

0.5.0

  • Add an option for a global class

0.4.0

  • Add support for classes on mobile devices

0.3.0

  • Add a tag selector with autocomplete for all post types

0.0.3

  • Quick archives fix

0.0.2

  • Small fixes, and typos

0.0.1

  • We are on