ZigWidgetClass adds a free text field to each widget control form on your widget admin page. The field is labelled ‘ZigClass’ as shown in the screenshot.
Enter a class name in the box and it will be added to the classes that WordPress applies to that widget instance.
If you want to add two or more classes to a particular widget instance, simply separate them with a space.
You can deactivate and reactivate the plugin without losing your classes, and it is compatible with the Widget Logic plugin as seen from the screenshot. It is also compatible with the Widget Context plugin, and has now been adapted to work with the WP Page Widget plugin.
- Go to Admin > Plugins > Add New and enter ZigWidgetClass in the search box.
- Activate the plugin.
ZigWidgetClass is a free plugin released under the GNU General Public License version 2. It is provided as-is, without any support or warranty, though if you have a problem, please feel free to leave a comment below and I’ll look into it when I get the opportunity. If you make a donation, I’ll probably look into it sooner. Just sayin’
If you use ZigPress plugins and find them useful, please consider donating or sharing a link.