[wp-hackers] Widget custom CSS

Jeff Rose mirepup at gmail.com
Tue Nov 2 20:12:58 UTC 2010


Just curious if this is even possible:

I have a widget that I'd like to allow the user to choose customization in.
This would require loading a different CSS depending on which set of
customizations they choose. There are 6 or 8 possible options.

How can I load ONLY the correct CSS chosen by the user? Would this be better
set in the plugin options so I can load it from there? Can a widget do
enqueue_styles properly?

-- 
Jeff Rose


More information about the wp-hackers mailing list