Important: This plugin is no longer being updated. It has been superceded by the good work of Jason Penney with his Use Google Libraries WordPress plugin which uses code based on this plugin. I recommend that you use his plugin from now on.
Note that this plugin does not actually replace or remove any files from your WordPress installation. It simply replaces any references to them with references to the corresponding files on Google AJAX Libraries.
- Unzip the ZIP file and drop the folder straight into your
- Activate the plugin through the ‘Plugins’ menu in WordPress.
- That’s it!
Which Libraries are Supported?
ZIP file from downloads.wordpress.org
You should use the ‘Use Google Libraries’ WordPress plugin instead now.
Great idea, Thanks!
It seems however that some libraries get routed to google, and some not.
In my case – it works for prototype but doensn’t work for scriptculous
I do get http://ajax.googleapis.com/ajax/libs/prototype/1.6/prototype.js?ver=1.6
but I also get http://my-site.com/wp-includes/js/scriptaculous/scriptaculous.js?ver=1.8.0
Google also have the scriptaculous effects.js file available on their servers:
Might be worth adding that one to the list as well.
Otto, that’s worth knowing. They might have some other sub-libraries (is that what they’re called?) on there too. I’ll have a dig around and update the plugin.
Yeah, it looks like most of the scriptaculous files are on there, actually:
Definitely consider adding all of those to the plugin as well!
This plugin is no longer being updated. It has been superceded by the good work of Jason Penney with his Use Google Libraries WordPress plugin which uses code based on this plugin. I recommend that you use his plugin from now on.
Comments are closed.