這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 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