Title: Modernizr for WordPress
Author: Ramoonus
Published: <strong>2011 年 4 月 22 日</strong>
Last modified: 2019 年 5 月 4 日

---

搜尋外掛

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

![](https://s.w.org/plugins/geopattern-icon/modernizr.svg)

# Modernizr for WordPress

 由 [Ramoonus](https://profiles.wordpress.org/ramoonus/) 開發

[下載](https://downloads.wordpress.org/plugin/modernizr.3.7.1.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/modernizr/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/modernizr/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/modernizr/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/modernizr/#developers)

 [技術支援](https://wordpress.org/support/plugin/modernizr/)

## 外掛說明

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/

## 使用者評論

![](https://secure.gravatar.com/avatar/4a0455559baa72a3f6a3da7bdb473afe80c4535c92657f38202d883ae4e4f899?
s=60&d=retro&r=g)

### 󠀁[Worked like a charm!](https://wordpress.org/support/topic/worked-like-a-charm-126/)󠁿

 [roiwerk](https://profiles.wordpress.org/roiwerk/) 2018 年 3 月 10 日

Worked like a charm! What more should I say.

![](https://secure.gravatar.com/avatar/4c25a0387a431f5beb9f366e8dada92c8fd6d90b8094a580e531417fe97c1cbf?
s=60&d=retro&r=g)

### 󠀁[Excellent, just one mistake:](https://wordpress.org/support/topic/excellent-just-one-mistake/)󠁿

 [waldbach](https://profiles.wordpress.org/waldbach/) 2017 年 11 月 23 日

Change in modernizr.php on line 19: modernizr-custom.js to modernizr.js Otherwise:
this saved my day! Thanks!

![](https://secure.gravatar.com/avatar/25f5f748f5d8b22652e204aff37efd60ea587c6a1c35b5b11e7ce8e8f0390730?
s=60&d=retro&r=g)

### 󠀁[Doesn’t work – Plugin Defunct](https://wordpress.org/support/topic/doesnt-work-plugin-defunct/)󠁿

 [newvibe](https://profiles.wordpress.org/newvibe/) 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 則使用者評論 ](https://wordpress.org/support/plugin/modernizr/reviews/)

## 參與者及開發者

以下人員參與了開源軟體〈Modernizr for WordPress〉的開發相關工作。

參與者

 *   [ Ramoonus ](https://profiles.wordpress.org/ramoonus/)

〈Modernizr for WordPress〉外掛目前已有 1 個本地化語言版本。 感謝[全部譯者](https://translate.wordpress.org/projects/wp-plugins/modernizr/contributors)
為這個外掛做出的貢獻。

[將〈Modernizr for WordPress〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/modernizr)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/modernizr/)、查看
[SVN 存放庫](https://plugins.svn.wordpress.org/modernizr/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/modernizr/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/modernizr/)。

## 變更記錄

#### 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](http://get-business-online.com/)

#### 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

## 中繼資料

 *  版本 **3.7.1**
 *  最後更新 **7 年前**
 *  啟用安裝數 **900+**
 *  WordPress 版本需求 ** 4.8 或更新版本 **
 *  已測試相容的 WordPress 版本 **5.2.24**
 *  語言
 * [Dutch](https://nl.wordpress.org/plugins/modernizr/) 及 [English (US)](https://wordpress.org/plugins/modernizr/).
 *  [將這個外掛本地化為你的母語版本](https://translate.wordpress.org/projects/wp-plugins/modernizr)
 * 標籤:
 * [html](https://tw.wordpress.org/plugins/tags/html/)[HTML5](https://tw.wordpress.org/plugins/tags/html5/)
   [ie](https://tw.wordpress.org/plugins/tags/ie/)[internet explorer](https://tw.wordpress.org/plugins/tags/internet-explorer/)
   [javascript](https://tw.wordpress.org/plugins/tags/javascript/)
 *  [進階檢視](https://tw.wordpress.org/plugins/modernizr/advanced/)

## 評分

 3.4 星，滿分為 5 星

 *  [  3 個 5 星使用者評論     ](https://wordpress.org/support/plugin/modernizr/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/modernizr/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/modernizr/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/modernizr/reviews/?filter=2)
 *  [  2 個 1 星使用者評論     ](https://wordpress.org/support/plugin/modernizr/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/modernizr/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/modernizr/reviews/)

## 參與者

 *   [ Ramoonus ](https://profiles.wordpress.org/ramoonus/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/modernizr/)

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](http://www.ramoonus.nl/donate/)