[wp-hackers] Widget custom CSS

Jeff Rose mirepup at gmail.com
Wed Nov 3 02:57:37 UTC 2010


> Use wp_enqueue_style(), change the handle to whatever optional stylesheet
> the user has chosen.
> http://codex.wordpress.org/Function_Reference/wp_enqueue_style
>
> Yep, I thought of that, but how does the page know what option the widget
has set in it? That would be happening before the widget is loaded.


More information about the wp-hackers mailing list