该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Modernizr for WordPress

描述

This plugin adds the Modernizr to your WordPress installation.
Modernizr is a small JavaScript library that detects the availability of native implementations for next-generation web technologies, i.e. features that stem from the HTML5 and CSS3 specifications. Many of these features are already implemented in at least one major browser (most of them in two or more), and what Modernizr does is, very simply, tell you whether the current browser has this feature natively implemented or not.

For documentation visit http://www.modernizr.com/docs/

安装

  1. Upload modernizer/ to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Implement the required features as documented on http://www.modernizr.com/docs/

评价

2017 年 2 月 17 日
The 2.8.4 version inserts broken javascript link. I posted a message about this in the support section for the plugin and the author has not responded or fixed the problem. Now, any site that I've added this plugin to can be broken if the user runs an update. Instead, if you need Modernizr, insert the following into your header.php file just after <?php wp_head(); ?>: <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.3/modernizr.min.js"></script>
阅读所有5条评价

贡献者及开发者

“Modernizr for WordPress” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

「Modernizr for WordPress」插件已被翻译至 1 种本地化语言。 感谢所有译者为本插件所做的贡献。

将“Modernizr for WordPress”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

3.7.1

  • Updated Modernizr to version 3.7.0
  • Skipped branch 3.6.x
  • Skipped release 3.7.0

3.5.0

  • Updated Modernizr to version 3.5.0
  • Fixed a bug present since version 3.5.0
  • Skipped branch 3.4.x

3.3.1.2

  • Fixed a bug present since version 3.3.1

3.3.1.1

  • Fixed a bug present since version 2.6.1

3.3.1

  • Updated Modernizr to version 3.3.1

2.8.4

  • Improved deactivating other modernizr versions code. Code by Gal Baras

2.8.3

  • Updated Modernizr to version 2.8.3

2.7.0

  • Updated Modernizr to version 2.7.0
  • Minor code improvement

2.6.3

  • Updated Modernizr to version 2.6.3

2.6.2

  • Updated Modernizr to version 2.6.2
  • Minor code improvement

2.6.1

  • Updated Modernizr to version 2.6.1
  • Changelog for Modernizr 2.6.1 http://modernizr.com/news/modernizr-260/

2.5.3

  • Updated Modernizr to 2.5.3
  • Code Optimization
  • Readme Update

2.5.2

  • Updates Modernizr to 2.5.2

2.5.0

  • Updates Modernizr to 2.5.0

2.0.6

  • Updated Modernizr to 2.0.6

2.0

  • Updated Modernizr to 2.0 (custom built using the default settings

1.0.1

  • Fixes a PHP error (thanks Anthony)

1.0.0

  • First version, based on Modernizr 1.7