Beschreibung
Mit diesem Plugin kannst du deinen Seiten oder Beiträgen eine individuelle CSS-Klasse hinzufügen.
Demo
TasteWP has prepared a quick WordPress instance with this plugin, so you can give it a try in this demo
Responsiveness
Es gibt die Möglichkeit, eine Klasse nur für mobile Geräte hinzuzufügen. Du kannst das tun, indem du einfach mobile- vor deine Klasse schreibst. Zum Beispiel, wenn du die Klasse „auto“ für mobile Geräte benötigst, dann schreibst du einfach „mobile-auto“.
Support me
Wenn du dieses Plugin hilfreich findest oder mir einfach nur einen Kaffee ausgeben möchtest, hast du folgende Möglichkeiten:
- Benutze den 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
- Installiere Custom Body Class entweder über das WordPress.org-Plugin-Verzeichnis, oder indem du die Dateien in deinen
/wp-content/plugins/-Ordner hochlädst. - Nachdem du Custom Body Class aktiviert hast, bearbeite eine beliebige deiner Seiten und beachte die Custom-Body-Class-Metabox in der rechten Seitenleiste.
Rezensionen
Mitwirkende und Entwickler
„Custom Body Class“ ist Open-Source-Software. Folgende Menschen haben an diesem Plugin mitgewirkt:
Mitwirkende„Custom Body Class“ wurde in 2 Sprachen übersetzt. Danke an die Übersetzer für ihre Mitwirkung.
Übersetze „Custom Body Class“ in deine Sprache.
Interessiert an der Entwicklung?
Durchstöbere den Code, sieh dir das SVN-Repository an oder abonniere das Entwicklungsprotokoll per RSS.
Änderungsprotokoll
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: Kompatibilität mit WordPress 6.0 überprüft.
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