The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End [WP] Widget Parent Class

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
  • #25517

    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…

Viewing 1 post (of 1 total)
  • The forum ‘Back End’ is closed to new topics and replies.