Tagged Questions
4
votes
1answer
2k views
How to load Widget javascript + css files only if used?
I'd like to keep the javascript and css styles used by my widget inside their own files (and not add them to the theme).
But i can't seem to get wordpress to add them when the widget is actually used ...