Widget CSS Classes
by Jory Hogeveen 4.9 (74 reviews)

Widget CSS Classes

Add custom classes and ids plus first, last, even, odd, and numbered classes to your widgets.

Widget CSS Classes ranks #528 among WordPress.org plugins with 80,000+ active installations, is #85 of 8,689 in the Customization category, a 4.9/5 rating from 74 reviews, and was last updated Nov 12, 2024. Data from WordPress.org, refreshed twice daily — see methodology.

Tested up to WP 6.7.10 (Current: 7.1.3)
v1.5.4.1 Current Version v1.5.4.1
Updated 1 year ago Last Update on 12 Nov, 2024
Refreshed 7 hours ago Last Refreshed on
#85 of 8,689 in Customization Top 1% by installs Downloads -13.6% this week No update in over a year
View on WordPress.org
Rank
#528
— No change
Active Installs
80K+
-7.5%
KW Avg Position
33
— No change
Downloads
1.1M
+42 today
Support Resolved
0%
— No change
Rating
98%
Review 4.9 out of 5
4.9 (74 reviews)

Next Milestone 90K

Total Progress 49%
80K+ 90K+
26
Ranks to Climb
-
Growth Needed
8,000,000
Active Installs
Pro

Unlock Exact Install Count

See the precise estimated active installs for this plugin, calculated from real-time ranking data.

  • Exact install estimates within tiers
  • Track install growth over time
  • Milestone progress predictions
Upgrade to Pro
Need 5,099 more installs to reach 90K+

Rank Changes

502 515 528 541 554 01-10-2026 02-10-2026 03-10-2026 04-10-2026 05-10-2026 06-10-2026 07-10-2026 08-10-2026
500 513 527 541 554 23-09-2026 24-09-2026 25-09-2026 26-09-2026 27-09-2026 28-09-2026 29-09-2026 30-09-2026 01-10-2026 02-10-2026 03-10-2026 04-10-2026 05-10-2026 06-10-2026 07-10-2026 08-10-2026
Current #528
Change
Best #

Upgrade to Pro

Unlock 30-day and 90-day rank history charts with a Pro subscription.

Upgrade Now

Active Installs Growth

Active Installs 0,000,000+
Growth +0.0%
Peak 0,000,000

Downloads Growth

30 40 50 60 70 80 90 01-10-2026 02-10-2026 03-10-2026 04-10-2026 05-10-2026 06-10-2026 07-10-2026 08-10-2026
30 40 50 60 70 80 90 23-09-2026 24-09-2026 25-09-2026 26-09-2026 27-09-2026 28-09-2026 29-09-2026 30-09-2026 01-10-2026 02-10-2026 03-10-2026 04-10-2026 05-10-2026 06-10-2026 07-10-2026 08-10-2026
Downloads
Growth
Peak

Upgrade to Pro

Unlock 30-day, 90-day, and yearly download history charts with a Pro subscription.

Upgrade Now

Reviews & Ratings

4.9
74 reviews
Overall 98%
5
70 (95%)
4
3 (4%)
3
0 (0%)
2
1 (1%)
1
0 (0%)

Security History

Source: WPVulnerability

No known vulnerabilities on record for Widget CSS Classes. Checked 3 days ago.

TL;DR

AI summary of the plugin's readme

This plugin is for WordPress site owners and theme developers who want more control over their widget markup. It lets users add custom classes and ids to widgets, and automatically applies first, last, odd/even, and numbered classes to help style widgets without writing custom CSS themselves.

  • Custom text field for classes
  • Multiple classes via space separation
  • Predefined class checkboxes
  • Custom id text field
  • First and last widget classes
  • Even/odd widget classes
  • Numbered widget classes
  • Filters and hooks for customization

Frequently Asked Questions

Common questions about Widget CSS Classes

You need to make sure you have an HTML element defined for before_widget and after_widget in your active theme's register_sidebar functions, usually located in your theme's functions.php (/wp-content/themes/yourtheme/functions.php). This HTML element must have class and id attributes. This plugin will not work if before_widget and after_widget are blank. Example: register_sidebar( array( 'name' => 'Sidebar', 'before_widget' => '<div id="%1$s" class="widget %2$s">', 'after_widget' => '</div>', 'before_title' => '<h2 class="widget-title">', 'after_title' => '</h2>' ) );
There are two ways: Edit your theme's style.css file (usually located in /wp-content/themes/yourtheme/). Use a plugin such as Simple Custom CSS.
You can export the Settings from Settings > Widget CSS Classes > Import/Export.
Please file a bug report on GitHub.

Sign In / Register

You need to sign in or register to use this feature.