What is CDNJS?
This is best described in this article on Cloudflare.com.
This plugin simply lets you use them more easily on your WordPress site.
This plugin is produced and supported by iControlWP: Multiple WordPress Management.
- How can I install the plugin?
This plugin should install as any other WordPress.org respository plugin.
- Browse to Plugins -> Add Plugin
- Search: CDNJS
- Click Install
- Click to Activate.
Alternatively using FTP:
- Download the zip file using the download link to the right.
- Extract the contents of the file and locate the folder called ‘cdnjs’ containing the plugin files.
- Upload this whole folder to your ‘/wp-content/plugins/’ directory
- From the plugins page within WordPress locate the plugin ‘CDNJS’ and click Activate
A new menu item will appear on the left-hand side called ‘CDNJS’. Click this menu and select ‘Includes’.
Select the includes you desire. Only select what you need.
- How does this affect the JQuery supplied with WordPress itself?
If you select the option, it will include the currently latest available JQuery and replace the one that comes with your WordPress distribution.
- Why would I use this plugin at all?
As just another little boost your website page-load performance. If your visistors are using the CloudFlare/CDNJS files
their pages should load quicker, and as more and more people use the CDN, it’ll help everyone load their sites quicker!
- What has iControlWP got to do with Cloudflare and CDNJS?
Not a lot, but we like website optimizations and making things faster/better. We saw this project on the Cloudflare blog
and instantly wanted to use it on our sites. What easier way than to make a plugin, and then we can share it too.
Your webhosting either doesn’t support the file_get_contents() for URLs, or doesn’t have json_decode function/library for PHP.
- The page for choosing the libraries loads very slow – why?
It’s pulling in the complete list of libraries available each time. It only does this on this page, so don’t worry about
this each time you load your site.
Laguntzaileak eta Garatzaileak
“CDNJS for WordPress” software librea da. Ondoko pertsonek egin dizkiote ekarpenak plugin honi.Laguntzaileak
Itzul zaitez CDNJS for WordPress zure hizkuntzara.
Garapena interesatzen zaizu?
Araka ezazu kodea; begira ezazu SVN biltegia, edo harpidetu garapen erregistrora RSS-(r)en bidez.
- Improve the UI for search and filtering.
- UPDATE: Some code improvements, styling etc.
- UPDATE: Compatibility with WordPress 4.7
- UPDATE: Compatibility with PHP 7
- FIX: Various PHP warnings
- UPDATE: Compatibility with WordPress 4.5
- UPDATE: Compatibility with WordPress 4.0
- IMPROVED: Query to CDNJS for library now uses their newer API system
- FIX: Compatibility with WordPress 3.9+
- FIX: Compatibility with PHP 5.4.0+
- FIX: foreach() warning when there have not yet anything selected for include
- Now uses the packages.json list for all available packages.
- Fixes a few errors.
- Fixes a few errors.
- First public release