이 플러그인은 최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다. 워드프레스의 좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 있을 수 있습니다.

CDNJS for WordPress

설명

What is CDNJS?

This is best described in this article on Cloudflare.com.

CDNJS is a freely available CDN for common Javascript and CSS libraries.

This plugin simply lets you use them more easily on your WordPress site.

This plugin is produced and supported by iControlWP: Multiple WordPress Management.

FAQ

How can I install the plugin?

This plugin should install as any other WordPress.org respository plugin.

  1. Browse to Plugins -> Add Plugin
  2. Search: CDNJS
  3. Click Install
  4. Click to Activate.

Alternatively using FTP:

  1. Download the zip file using the download link to the right.
  2. Extract the contents of the file and locate the folder called ‘cdnjs’ containing the plugin files.
  3. Upload this whole folder to your ‘/wp-content/plugins/’ directory
  4. 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.

The plugin doesn’t list the Javascript/CSS that I want?

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.

후기

2016년 9월 3일
Cdnjs resources load before jquery so some library doesn't work because jquery not defined yet. I see there is alphabetical order but we need custom order to handle this problem.
모든 9 평가 읽기

기여자 & 개발자

“CDNJS for WordPress”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

자국어로 “CDNJS for WordPress”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

TODO

  • Improve the UI for search and filtering.

1.3.3

  • UPDATE: Some code improvements, styling etc.
  • UPDATE: Compatibility with WordPress 4.7
  • UPDATE: Compatibility with PHP 7

1.3.2

  • FIX: Various PHP warnings
  • UPDATE: Compatibility with WordPress 4.5

1.3.1

  • UPDATE: Compatibility with WordPress 4.0

1.3.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+

1.2.b

  • FIX: foreach() warning when there have not yet anything selected for include

1.2.a

  • Now uses the packages.json list for all available packages.
  • Fixes a few errors.

1.1.a

  • Fixes a few errors.

1.0

  • First public release
  • Allows you to select to include a short list of all available CSS and Javascript available from CDNJS.com