WordPress.org

Plugin Directory

ZigWidgetClass

Lets you add a custom CSS class to each widget instance.

ZigWidgetClass adds a free text field to each widget control form on your widget admin page. Enter a CSS class name in the box and it will be added to the classes that WordPress applies to that widget instance. To add multiple classes, simply separate them with a space.

It has been tested and verified to work with the Widget Logic plugin, the Widget Context plugin, the WP Page Widget plugin and the Display Widgets plugin. If you have problems getting it to work with one of those plugins, make sure you are using the latest version(s).

It only works with widgets that were created by properly using WordPress's Widgets API. If it appears not to work on a certain widget, that widget probably breaks the API rules somehow.

Also, if you have trouble getting it to work with the WP Page Widget plugin, you should create and save each page widget first, before adding the CSS class, then save again.

Requires WordPress 3.6+ and PHP 5.2.4+.

For further information and support, please visit the ZigWidgetClass home page.

Requires: 3.6 or higher
Compatible up to: 4.1.1
Last Updated: 2014-12-18
Active Installs: 3,000+

Ratings

5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

2 people say it works.
0 people say it's broken.

100,1,1 100,1,1 100,1,1
100,2,2 100,1,1
100,1,1 100,1,1 100,1,1
100,1,1 100,1,1
100,1,1
0,1,0
100,1,1
100,6,6
100,1,1
100,1,1 100,1,1
100,1,1
0,1,0
100,1,1
100,1,1
100,2,2
100,1,1 100,2,2
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
100,2,2