{"id":55310,"date":"2008-05-28T15:41:57","date_gmt":"2008-05-28T15:41:57","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/google-ajax-libraries-api-plugin\/"},"modified":"2008-09-04T14:46:28","modified_gmt":"2008-09-04T14:46:28","slug":"google-ajax-libraries-api-plugin","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/google-ajax-libraries-api-plugin\/","author":86225,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.9","stable_tag":"trunk","tested":"2.6.1","requires":"2.2.0","requires_php":"","requires_plugins":"","header_name":"Use Google Library Javascript","header_author":"clearskys.net","header_description":"","assets_banners_color":"","last_updated":"2008-09-04 14:46:28","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/blog.clearskys.net\/2008\/05\/28\/google-ajax-libraries-api-plugin\/","header_author_uri":"http:\/\/blog.clearskys.net","rating":0,"author_block_rating":0,"active_installs":10,"downloads":5777,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq"],"tags":[],"upgrade_notice":[],"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[],"plugin_category":[],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-55310","plugin","type-plugin","status-closed","hentry","plugin_committers-cafespain"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/google-ajax-libraries-api-plugin.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>The Google Ajax Libraries API Plugin is designed to make it easy to use the Google hosted libraries without the need to mess with your theme and plugin code.<\/p>\n\n<p>When activated, the plugin will \u201clisten\u201d to all of the scripts added (via the WordPress wp<em>enqueue<\/em>script function) to your pages header and automagically switch the locally hosted library to a Google hosted one. Deactivating the plugin will remove the \u201clistener\u201d and your site will return to using the local versions.<\/p>\n\n<p>WordPress MU administrators should copy the plugin into their MU-Plugins directory for it to be enabled across all of your hosted blogs.<\/p>\n\n<!--section=installation-->\n<p>Installing this plugin should be very straightforward by following the steps below:<\/p>\n\n<ol>\n<li>Download the plugin and un-zip it.<\/li>\n<li>Upload the usegooglelibrary.php file into your wp-content\/plugins directory.<\/li>\n<li>Login to your WordPress sites administration panel and go the the Plugins menu.<\/li>\n<li>Click the activate link next to the Use Google Library Javascript plugin.<\/li>\n<\/ol>\n\n<p>WordPress MU adminsistrators should copy the plugin into their MU-plugins directory in order for it to be activated for all of their hosted blogs.<\/p>\n\n<!--section=faq-->\n<h4>Can I have jQuery and prototype loaded at the same time?<\/h4>\n\n<p>Yes, from version 0.6 onwards the plugin checks if both jQuery and Prototype are to be loaded and adds the relevant code to enable both to function together.<\/p>\n\n<h4>Why are some of my libraries are still loaded locally<\/h4>\n\n<p>The plugin will only switch libraries that have been loaded using the WordPress wp<em>enqueue<\/em>script method. Any libraries that are hard-coded into theme headers or plugins will not be modified. If you are using a custom theme - consider loading your javascript using the wp<em>enqueue<\/em>script method as this will also ensure that the library is not loaded more than once by other plugins, etc..<\/p>\n\n<h4>What libraries can be switched?<\/h4>\n\n<p>The plugin looks for and switches the following libraries:\n* Prototype\n* jQuery\n* Moo\n* Scriptaculous<\/p>","raw_excerpt":"This plugin switches your WordPress blog to use the Google hosted AJAX libraries instead of your locally hosted versions without the need to modify yo","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/55310","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=55310"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/cafespain"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=55310"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=55310"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=55310"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=55310"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=55310"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=55310"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}