[theme-reviewers] Bundling libraries and prefixing

Konstantin Kovshenin kovshenin at gmail.com
Thu Feb 27 14:32:38 UTC 2014


Quick question.

If a theme bundled the Twitter Bootstrap library, or Nivo Slider, or
jQuery Colorbox, should it prefix the wp_enqueue_script/style handles
with the theme name, or should it use a generic name?

wp_enqueue_script( 'nivo-slider', ... );

vs

wp enqueue_script( 'themename-nivo-slider', ... );

Thanks!

-- 
Konstantin


More information about the theme-reviewers mailing list