WP jQuery Plus
v1.1.2Zach Schnackel · 2012年5月18日 上架
Loads jQuery from a CDN using the exact version as your current WordPress install
- 正在使用
- 900+
- 评分
- 5.0 / 5
- 累计下载
- 2.9 万
- 最近更新
- 2015年7月31日
9 条评价需要 WordPress 3.5+已测试到 4.2.39
贡献者
Get the speed benefits of loading jQuery (and jQuery Migrate) from a CDN while providing a fallback to the local version in the event the CDN is down. It also uses the same version as WordPress does – automagically, so you’re never out of sync.
Loading jQuery from cdnjs
By default, jQuery is loaded from Google with jQuery Migrate being loaded from cdnjs. If you’d like to also load jQuery from cdnjs, add the following to wp-config.php
define('WPJP_USE_CDNJS', true);