Opened 3 years ago
Add entries for scripts in theme info
|Reported by:||olemis||Owned by:||coderanger|
Currently it's quite easy to override CSS rules in a theme , but (AFAIK) there's no easy way to include scripts. IOW , it's necessary to re-implement IRequestFilter interface and call add_script in order to get theme-specific scripts added.
It would be nice to be able to list script files (i.e. path + script type) so that ThemeEnginePlugin will add these files auto-magically . I mean, it's such a common and simple use case ...