Widget CSS Classes
Add custom classes and ids plus first, last, even, odd, and numbered classes to your widgets.
Mit Vorsicht verwenden
Widget CSS Classes works, but test it on a staging site before relying on it in 2026. It runs on 80K+ sites, is rated 4.9/5 and was last updated 2 years ago, and scores 53/100 on our health check.
- Bewährt im Maßstab auf 80k + aktiven Standorten
- Loved by users — 4.9/5 from 74 reviews
- Momentum — downloads up 36.2% vs the previous 30 days
- Kein Update in 2 Jahren
- Nur getestet bis WordPress 6.7 (letzt ist 7.1)
Wie stapelt es sich?
Side-by-side bei Installationen, Updates, Bewertungen und SupportTägliche Downloads
Download-Spitzen folgen normalerweise einer neuen Version - jede Website, die automatisch aktualisiert wird, gilt als Download.
Ranglisten
Where Widget CSS Classes stands todayWordPress.org Ranglisten suchen
Live-Position in der Plugin-Suche, Top 100| Stichwort | Position |
|---|---|
| classes | #3 |
| css | #57 |
| widget classes | #7 |
| widget css | #16 |
| Widgets | >100 |
Versionsübernahme
Anteil aktiver Sites pro Release.
Bewertungsaufschlüsselung
★★★★★★★★★★ 4.9 from 74 reviews
About Widget CSS Classes
From the official readme · v1.5.4.1Beschreibung
Widget CSS Classes gives you the ability to add custom classes and ids to your WordPress widgets
Please note that this plugin doesn’t enable you to enter custom CSS. You’ll need to edit your theme’s style.css or add another
plugin that allows you to input custom CSS.
This plugin also adds additional classes to widgets to help you style them easier:
- widget-first: added to the first widget in a sidebar
- widget-last: added to the last widget in a sidebar
- widget-odd: added to odd numbered widgets in a sidebar
- widget-even: added to even numbered widgets in a sidebar
- widget-#: added to every widget, such as widget-1, widget-2
Merkmale
- Adds a text field to a widget for defining a class
- You can specify multiple classes by putting a space between them
- Optionally adds checkboxes with predefined classes
- Optionally adds a text field to add an id to a widget
- Adds first and last classes to the first and last widget instances in a sidebar
- Adds even/odd classes to widgets
- Adds number classes to widgets
- Fully translatable
- Multi-site compatible
- Compatible with Widget Logic, Widget Context, and WP Page Widget plugins
- Has filters and hooks for customizing output including class names
Credits
- Adding Custom CSS Classes to WordPress Widgets
- Add .first & .last CSS Class Automatically To WordPress Widgets
- Widget Context compatibility fix provided by Joan Piedra
- Slovak translation by Branco WebHostingGeeks.com
- Polish translation added, Slovak translation files renamed by Tomasz Wesołowski
- Spanish translation by Maria Ramos at WebHostingHub
- Serbo-Croatian translation by Borisa Djuraskovic at WebHostingHub
- Dutch translation and predefined classes fix by Jory Hogeveen at Keraweb
- Russian translation by Наталия Завьялова
- Swedish translation by Olle Gustafsson
- Fix ids notice by Ricardo Lüders
- Brazilian Portuguese translation by Jonathan Xavier at Mealfan
Installation
- Upload the folder /widget-css-classes/ to the /wp-content/plugins/ directory
- Activate the plugin through the Plugins menu in WordPress
- Configure the settings under Settings > Widget CSS Classes
- Visit Appearance > Widgets to add or change the custom classes and ids for a widget.
- Expand the appropriate widget in the desired sidebar.
- You’ll see a field labeled CSS Class. Depending on your settings, this will be a text field and/or checkboxes.
- If you are using the text field you can enter multiple class names by separating them with a space.
- If you’ve enabled the id field, you will see a text field called CSS ID.
Änderungsprotokoll
1.5.4.1
- Tested with WP 5.5.
- Update plugin owner.
1.5.4
- Compatibility: Fix for old single widgets (remove notice). #37 (props @westonruter)
- Tested with WP 5.2.
1.5.3
- Compatibility: dFactory Responsive Lightbox widget option. #33
- Tested with WP 5.0.
1.5.2.1
- i18n: Remove sv_SE translation from the plugin directory. It’s 95% on translate.wordpress.org and accepted as the better version. #23
- Documentation: Readme & Wiki. #31
- Compatibility: Tested with WordPress 4.9
Detailed info: PR on GitHub
1.5.2
- Enhancement: Make translations of core widget classes optional instead of default. #29
- Enhancement: Allow vertical resize of defined classes box for CSS3 compatible browsers.
Detailed info: PR on GitHub
1.5.1
- Fix: Widget Logic
widget_contentfilter compatibility. #27 - Enhancement: Make uninstall script compatible with network installations.
Für Entwickler
Ist das dein Plugin? Zeigen Sie die Zahlen.
Fügen Sie Ihrer Website, Docs oder GitHub Readme ein Live-Badge hinzu. Es wird von selbst aktualisiert - kein Konto erforderlich.
Best Widget CSS Classes alternatives
All classes plugins →Fragen und Antworten
Widget CSS Classes: quick answers
Gerade Antworten, gezogen von Live WordPress.org Daten.
Quelle: WordPress.org
Is Widget CSS Classes free?
Yes. Widget CSS Classes is free to download and use from the official WordPress.org plugin directory.
Is Widget CSS Classes safe to use in 2026?
Widget CSS Classes works, but test it on a staging site before relying on it in 2026. It runs on 80K+ sites, is rated 4.9/5 and was last updated 2 years ago, and scores 53/100 on our health check.
How many websites use Widget CSS Classes?
Widget CSS Classes is active on 80K+ WordPress websites and has been downloaded 1,140,743 times since it launched in July 2012. It was downloaded 2,703 times in the last 30 days.
Does Widget CSS Classes work with WordPress 7.1?
Widget CSS Classes is officially tested up to WordPress 6.7.12, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
What PHP version does Widget CSS Classes need?
Widget CSS Classes requires PHP 5.2.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Widget CSS Classes last updated?
The latest version, 1.5.4.1, was released on November 12, 2024 (2 years ago).
Who makes Widget CSS Classes?
Widget CSS Classes is developed and maintained by Jory Hogeveen.
What are the best alternatives to Widget CSS Classes?
The most popular alternatives to Widget CSS Classes are Custom Classes (2K+ installs), Widget Classes (1K+ installs) and Ambrosite Body Class Enhanc… (200+ installs).
Angetrieben von PageForge
Eine Vorlage und eine Tabelle. Eine echte Seite für jede Suche.
PageForge Verwandelt jede Zeile eines CSV in eine WordPress-Seite mit eigenem Titel, URL, SEO Felder und Schema entworfen. Kostenlos auf WordPress.org.
- CSV und XLSX, plus Google Sheets auf Beruf und Unternehmen
- seinen eigenen Titel, URL, SEO Felder und Schema für jede Seite
- Arbeitet mit dem Blockeditor, Elementor, Divi und Avada
- Kostenlos auf WordPress.org, keine Kreditkarte




