WordPress plugin intelligence profile

Widget CSS Classes

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

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 6.7
Current version1.5.4.1
WordPress coverageTested up to WordPress 6.7
Minimum stackWP 3.3 · PHP 5.2.4
Directory statusactive
Last directory update12 Nov 20241y ago
Active installations80K+Adoption metric — not a quality score
WordPress.org rating4.9 / 5 from 74 ratings
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records Widget CSS Classes version 1.5.4.1 as active, updated 1y ago and tested up to WordPress 6.7.

Overview

About this plugin

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. 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

Features

  • 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

Plugin Website

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

Translation Contributors

GitHub Contributors

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • widget classes
  • widget css
  • widgets
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 6.7

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 6.7.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to6.7
Minimum requirementsWordPress 3.3 · PHP 5.2.4
Update activity12 Nov 20241y ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.