Not recommended for new sites
Is Widget CSS Classes still safe to use?
- Problem: Not maintained Last updated 2 years ago (version 1.5.4.1).
- Problem: Not tested with recent WordPress Tested up to WordPress 6.7; the current release is 7.1. Needs PHP 5.2.4+.
- Pass: Well rated Rated 4.9/5 by 74 users on WordPress.org.
- Pass: Widely used Active on 80,000+ sites.
For a new site, or if you are planning a rebuild, choose a plugin that is still maintained. Unmaintained plugins stop getting security fixes and tend to break as WordPress and PHP move on.
No maintained plugin does exactly the same job. We checked the directory for an actively updated, well-rated plugin with the same features and didn't find a safe match.
If your site depends on Widget CSS Classes, we can update it for current WordPress and PHP versions, review it for security problems, or rebuild the feature you need.
Get it updated Check all your plugins Browse maintained Content & Editing plugins
Overview
Widget CSS Classes describes itself as: “Add custom classes and ids plus first, last, even, odd, and numbered classes to your widgets.”
It is active on 80,000+ WordPress sites and rated 4.9 out of 5 by 74 users on WordPress.org. Developers can extend it through 4 actions and 15 filters, listed below.
How to install Widget CSS Classes
- Open the plugin installer. In your WordPress dashboard go to Plugins → Add New Plugin.
- Search for it. Type “Widget CSS Classes” and pick the one by Jory Hogeveen.
- Install and activate. Click Install Now, then Activate.
Install with a zip file or WP-CLI
Download the zip from the WordPress.org plugin page, then go to Plugins → Add New Plugin → Upload Plugin, choose the file and click Install Now. Or from the command line:
wp plugin install widget-css-classes --activateRequirements: WordPress 3.3+ · PHP 5.2.4+ · tested up to WordPress 6.7.11
Hooks & customisation
Widget CSS Classes 1.5.4.1 fires 4 actions and 15 filters. Use them from your child theme or a snippets plugin to change how it behaves without editing its files.
// Change the label for the CSS Classes form field.
apply_filters( 'widget_css_classes_class', esc_html__( 'CSS Classes', WCSSC_Lib::DOMAIN ) );
// Modify the list of all CSS classes. Can also be used for ordering etc.
apply_filters( 'widget_css_classes', $classes, $widget_id, $widget_num, $widget_opt, $widget_obj );
// Modify the widget parameters, normally to add extra classes.
do_action( 'widget_css_classes_add_classes', $params, $widget_id, $widget_num, $widget_opt, $widget_obj );
// Change the capability to access the CSS Classes field.
apply_filters( 'widget_css_classes_class_input_capability', self::$caps['classes'] );
// Change the capability to access the predefined CSS Classes select field. NOTE:…
apply_filters( 'widget_css_classes_class_select_capability', self::$caps['defined'], self::$caps['classes'] );
// Modify the list of custom CSS classes. Can also be used for ordering etc.
apply_filters( 'widget_css_classes_custom', $custom_classes, $widget_id, $widget_num, $widget_opt, $widget_obj );Widget CSS Classes: frequently asked questions
Is Widget CSS Classes free?
Yes. Widget CSS Classes is free to download from the official WordPress.org plugin directory and is licensed under the GPL, so you can use it on as many sites as you like. Some developers sell a separate Pro version or paid add-ons; check the developer's website for details.
Is Widget CSS Classes safe to use?
Widget CSS Classes has not been updated for 2 years. Plugins without updates stop receiving security fixes, so we recommend a maintained alternative for new sites. Users rate it 4.9 out of 5 from 74 reviews on WordPress.org. As with any plugin, keep it updated and only install it from WordPress.org or the developer.
Does Widget CSS Classes work with WordPress 7.1?
It isn't confirmed. Widget CSS Classes was last tested with WordPress 6.7, 4 releases behind the current 7.1, so test it on a staging site before relying on it. It requires WordPress 3.3 or later and PHP 5.2.4 or later.
How many websites use Widget CSS Classes?
Widget CSS Classes is active on 80,000+ WordPress sites, according to WordPress.org. It is currently at version 1.5.4.1, last updated on November 12, 2024.
What are the best alternatives to Widget CSS Classes?
We didn't find a maintained plugin that does exactly the same job. Browse the top-rated Content & Editing plugins for related options.
Can I customise Widget CSS Classes without editing its code?
Yes. Widget CSS Classes 1.5.4.1 fires 4 actions and 15 filters that you can use from a child theme or a code snippets plugin, so your changes survive plugin updates. Browse all 19 hooks with examples.
Done for you
Let us deal with Widget CSS Classes for you
Move to a maintained plugin without losing your settings, or keep this one and have it brought up to date.
Plugin replacement & migration
from $199
Swap a risky plugin for a maintained one and keep your settings and data.
- We pick a maintained alternative with you
- Settings, content and data moved over
- Tested on staging before going live
- Old plugin removed cleanly
Typical turnaround: 3–5 business days
Choose thisUpdate an abandoned plugin
from $249
Keep the plugin your site depends on, made safe for current WordPress and PHP.
- Compatibility with current WordPress and PHP
- Security review and fixes
- Deprecated code replaced
- You keep a maintained copy
Typical turnaround: 5–10 business days
Choose thisNot sure which fits? Describe what you need and we’ll suggest the simplest option.
Need Widget CSS Classes customised?
Tell us what you want changed, added or fixed and we'll reply with an estimate.
WP EXPERTS is independent and not affiliated with Jory Hogeveen. Plugin names and logos belong to their owners. Version, rating and install figures from WordPress.org, checked Nov 17, 2026.