[WP] Widget Parent Class
-
I'm trying to get the hang of the widgets... What I want to do is to create different colored boxes based on a drop down menu. It would be slick if I could just target the widgets parent li to add a class="blue" to it but I'm having trouble finding the right function to do that. Any help? I know I can do it when I declare the function with $widget_ops but I can't use any instance variables in there...Add a Comment