{"id":21209,"date":"2012-12-17T01:20:58","date_gmt":"2012-12-17T01:20:58","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/cdnjs\/"},"modified":"2017-04-25T14:59:53","modified_gmt":"2017-04-25T14:59:53","slug":"cdnjs","status":"publish","type":"plugin","link":"https:\/\/az-tr.wordpress.org\/plugins\/cdnjs\/","author":7994890,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.3.3","stable_tag":"1.3.3","tested":"4.8.28","requires":"3.5.0","requires_php":"","requires_plugins":"","header_name":"CDNJS for WordPress","header_author":"iControlWP","header_description":"","assets_banners_color":"","last_updated":"2017-04-25 14:59:53","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.icontrolwp.com\/","header_plugin_uri":"http:\/\/icwp.io\/6x","header_author_uri":"http:\/\/icwp.io\/6x","rating":3.9,"author_block_rating":0,"active_installs":10,"downloads":9357,"num_ratings":9,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","faq","changelog"],"tags":[],"upgrade_notice":{"1.2.b":"<ul>\n<li>FIX: foreach() warning when there have not yet anything selected for include<\/li>\n<\/ul>"},"ratings":{"1":"1","2":"1","3":"1","4":"1","5":"5"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1.a","1.2.a","1.2.b","1.3.0","1.3.1","1.3.2","1.3.3"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[3863,16717,3882,356,1731],"plugin_category":[],"plugin_contributors":[79229,78430],"plugin_business_model":[],"class_list":["post-21209","plugin","type-plugin","status-publish","hentry","plugin_tags-cdn","plugin_tags-cdnjs","plugin_tags-cloudflare","plugin_tags-css","plugin_tags-js","plugin_contributors-dlgoodchild","plugin_contributors-paultgoodchild","plugin_committers-paultgoodchild"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/cdnjs.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<h4>What is CDNJS?<\/h4>\n\n<p>This is best described in <a href=\"http:\/\/blog.cloudflare.com\/cdnjs-the-fastest-javascript-repo-on-the-web\">this article on Cloudflare.com<\/a>.<\/p>\n\n<p>CDNJS is a freely available CDN for common Javascript and CSS libraries.<\/p>\n\n<p>This plugin simply lets you use them more easily on your WordPress site.<\/p>\n\n<p>This plugin is produced and supported by <a href=\"http:\/\/icwp.io\/6y\">iControlWP: Multiple WordPress Management<\/a>.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt>How can I install the plugin?<\/dt>\n<dd><p>This plugin should install as any other WordPress.org respository plugin.<\/p>\n\n<ol>\n<li>Browse to Plugins -&gt; Add Plugin<\/li>\n<li>Search: CDNJS<\/li>\n<li>Click Install<\/li>\n<li>Click to Activate.<\/li>\n<\/ol>\n\n<p>Alternatively using FTP:<\/p>\n\n<ol>\n<li>Download the zip file using the download link to the right.<\/li>\n<li>Extract the contents of the file and locate the folder called 'cdnjs' containing the plugin files.<\/li>\n<li>Upload this whole folder to your '\/wp-content\/plugins\/' directory<\/li>\n<li>From the plugins page within WordPress locate the plugin 'CDNJS' and click Activate<\/li>\n<\/ol>\n\n<p>A new menu item will appear on the left-hand side called 'CDNJS'.  Click this menu and select 'Includes'.<\/p>\n\n<p>Select the includes you desire.  Only select what you need.<\/p><\/dd>\n<dt>How does this affect the JQuery supplied with WordPress itself?<\/dt>\n<dd><p>If you select the option, it will include the currently latest available JQuery and replace the one that comes with your WordPress distribution.<\/p><\/dd>\n<dt>Why would I use this plugin at all?<\/dt>\n<dd><p>As just another little boost your website page-load performance.  If your visistors are using the CloudFlare\/CDNJS files\ntheir pages should load quicker, and as more and more people use the CDN, it'll help everyone load their sites quicker!<\/p><\/dd>\n<dt>What has iControlWP got to do with Cloudflare and CDNJS?<\/dt>\n<dd><p>Not a lot, but we like website optimizations and making things faster\/better. We saw this project on the Cloudflare blog\nand instantly wanted to use it on our sites.  What easier way than to make a plugin, and then we can share it too.<\/p><\/dd>\n<dt>The plugin doesn't list the Javascript\/CSS that I want?<\/dt>\n<dd><p>Your webhosting either doesn't support the file_get_contents() for URLs, or doesn't have json_decode function\/library for PHP.<\/p><\/dd>\n<dt>The page for choosing the libraries loads very slow - why?<\/dt>\n<dd><p>It's pulling in the complete list of libraries available each time.  It only does this on this page, so don't worry about\nthis each time you load your site.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>TODO<\/h4>\n\n<ul>\n<li>Improve the UI for search and filtering.<\/li>\n<\/ul>\n\n<h4>1.3.3<\/h4>\n\n<ul>\n<li>UPDATE:   Some code improvements, styling etc.<\/li>\n<li>UPDATE:   Compatibility with WordPress 4.7<\/li>\n<li>UPDATE:   Compatibility with PHP 7<\/li>\n<\/ul>\n\n<h4>1.3.2<\/h4>\n\n<ul>\n<li>FIX:      Various PHP warnings<\/li>\n<li>UPDATE:   Compatibility with WordPress 4.5<\/li>\n<\/ul>\n\n<h4>1.3.1<\/h4>\n\n<ul>\n<li>UPDATE:   Compatibility with WordPress 4.0<\/li>\n<\/ul>\n\n<h4>1.3.0<\/h4>\n\n<ul>\n<li>IMPROVED: Query to CDNJS for library now uses their newer API system<\/li>\n<li>FIX: Compatibility with WordPress 3.9+<\/li>\n<li>FIX: Compatibility with PHP 5.4.0+<\/li>\n<\/ul>\n\n<h4>1.2.b<\/h4>\n\n<ul>\n<li>FIX: foreach() warning when there have not yet anything selected for include<\/li>\n<\/ul>\n\n<h4>1.2.a<\/h4>\n\n<ul>\n<li>Now uses the packages.json list for all available packages.<\/li>\n<li>Fixes a few errors.<\/li>\n<\/ul>\n\n<h4>1.1.a<\/h4>\n\n<ul>\n<li>Fixes a few errors.<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>First public release<\/li>\n<li>Allows you to select to include a short list of all available CSS and Javascript available from CDNJS.com<\/li>\n<\/ul>","raw_excerpt":"Replace Javascript and CSS libraries on your WordPress site with CloudFlare&#039;s FREE CDN","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/az-tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/21209","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/az-tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/az-tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/az-tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=21209"}],"author":[{"embeddable":true,"href":"https:\/\/az-tr.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/paultgoodchild"}],"wp:attachment":[{"href":"https:\/\/az-tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=21209"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/az-tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=21209"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/az-tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=21209"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/az-tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=21209"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/az-tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=21209"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/az-tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=21209"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}