This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

WP cdnjs

Description

An extremely elegant plugin that allows you to search all http://cdnjs.com libraries and include them on your site.

  • Builtin cdnjs.com search
  • Reorder included files with an intuitive drag-and-drop interface
  • Integrates seamlessly with WordPress (no developer up-sells or donation requests)
  • Choose the secondary assets you want to include
  • Selects the minified version or non-minified version
  • Optionally select any additional assets you’d like
  • Specify where to include files (header / footer)
  • Options to globally or individually enable and disable included libraries
  • SSL support

Screenshots

  • wp-cdnjs settings page

  • wp-cdnjs settings page

Installation

  1. Automatically install using the builtin WordPress Plugin installer or…
  2. Upload entire wp-cdnjs folder to the /wp-content/plugins/ directory.
  3. Activate the plugin through the ‘Plugins’ menu in WordPress.

FAQ

How can I change what action is used to enqueue the CDNJS scripts?

You can override the default action (‘init’) that enqueues the CDNJS script like so:

add_filter('wp_cdnjs_init_action', 'my_cdnjs_init_action');
function my_cdnjs_init_action() {
    return 'get_sidebar'; // the action tag you wish to use
}
Is it possible to have all enabled scripts load in the WordPress Admin area?

Yes. You can use this filter:

add_filter('wp_cdnjs_allow_in_admin', 'my_cdnjs_allow_in_admin');
function my_cdnjs_allow_in_admin() {
    return TRUE;
}

Reviews

Read all 3 reviews

Contributors & Developers

“WP cdnjs” is open source software. The following people have contributed to this plugin.

Contributors

Translate “WP cdnjs” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

0.1.3

  • Update for 4.0

0.1.2

  • Bugfix for header / footer setting being reversed

0.1.1

  • Added .pot file for translation
  • Fixed logo and WP version

0.1

  • Initial release