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 #525 among WordPress.org plugins with 80,000+ active installations, is #85 of 8,549 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.7 (Current: 7.1)
v1.5.4.1 Current Version v1.5.4.1
Updated 1 year ago Last Update on 12 Nov, 2024
Refreshed 9 hours ago Last Refreshed on
#85 of 8,549 in Customization Top 1% by installs Downloads -16.7% this week No update in over a year
View on WordPress.org
Rank
#525
No change
Active Installs
80K+
-8.3%
KW Avg Position
35.3
0.3 worse
Downloads
1.1M
+8 today
Support Resolved
0%
No change
Rating
98%
Review 4.9 out of 5
4.9 (74 reviews)

Next Milestone 90K

Total Progress 58.6%
80K+ 90K+
24
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 4,138 more installs to reach 90K+

Rank Changes

496 510 524 537 551 10-09-2026 11-09-2026 12-09-2026 13-09-2026 14-09-2026 15-09-2026 16-09-2026 17-09-2026
496 510 524 537 551 02-09-2026 03-09-2026 04-09-2026 05-09-2026 06-09-2026 07-09-2026 08-09-2026 09-09-2026 10-09-2026 11-09-2026 12-09-2026 13-09-2026 14-09-2026 15-09-2026 16-09-2026 17-09-2026
Current #525
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

0 100 10-09-2026 11-09-2026 12-09-2026 13-09-2026 14-09-2026 15-09-2026 16-09-2026 17-09-2026
0 100 02-09-2026 03-09-2026 04-09-2026 05-09-2026 06-09-2026 07-09-2026 08-09-2026 09-09-2026 10-09-2026 11-09-2026 12-09-2026 13-09-2026 14-09-2026 15-09-2026 16-09-2026 17-09-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 1 week 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.