Custom Widget Classes, a WordPress Plugin

wordpress widget

I recently found this little gem: Custom Widget Classes.

What is does is give you the ability to dynamically add custom classes to any widget through a settings page. Not only that, you can also hook into a filter (in functions.php) to define and even set a default class.

Example filter:

https://gist.github.com/4555210

Example with default:

https://gist.github.com/4555215

Reader Interactions

Leave a Reply

Your email address will not be published. Required fields are marked *