Title: HTML5 Boilerplate
Author: Aaron T. Grogg
Published: <strong>2011 年 4 月 22 日</strong>
Last modified: 2015 年 3 月 13 日

---

搜索插件

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

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

# HTML5 Boilerplate

 作者：[Aaron T. Grogg](https://profiles.wordpress.org/aarontgrogg/)

[下载](https://downloads.wordpress.org/plugin/html5-boilerplate.5.0.1.zip)

 * [详情](https://cn.wordpress.org/plugins/html5-boilerplate/#description)
 * [评价](https://cn.wordpress.org/plugins/html5-boilerplate/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/html5-boilerplate/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/html5-boilerplate/#developers)

 [支持](https://wordpress.org/support/plugin/html5-boilerplate/)

## 描述

Standing on the foreheads of giants (namely Paul Irish and Divya Manian and
 the
good folks that have helped them create and continue the growth of HTML5 Boilerplate,
I present to you my first WordPress plug-in, HTML5 Boilerplate. As a spin-off of
my Boilerplate – Starkers WP Theme, this plug-in can be added to any theme, new,
pre-existing, already customized, whatevs!

The clumsiest part of this is dealing with the Boilerplate CSS and JS files.
 To
avoid any changes you make from being overwritten during upgrades, “starter” files
have been created in the `/css` and `/js` directories. I recommend creating copies
of the starter files (removing ‘-starter’ from the new filenames) that you can safely
edit. That way, if the starter files are updated later, you can simply copy/paste
from them into your files again, and all is fine.

Another route would be to add additional links in your pages, but this does increase

your HTTP Requests, which hurts performance… Your call, let me know if you can think
of a better implementation.

More about this plug-in can be found at:
 http://aarontgrogg.com/html5boilerplate/

I also built a Boilerplate theme based on Elliot Jay Stocks’ Starkers Theme that
can be found at:
 http://aarontgrogg.com/boilerplate/

Please let me know if you have any questions/suggestions/thoughts,

Atg

http://aarontgrogg.com/

aarontgrogg@gmail.com

## 屏幕截图

[⌊Admin Screen⌉⌊Admin Screen⌉[

Admin Screen

[⌊View Source Before HTML5 Boilerplate⌉⌊View Source Before HTML5 Boilerplate⌉[

View Source Before HTML5 Boilerplate

[⌊View Source After HTML5 Boilerplate⌉⌊View Source After HTML5 Boilerplate⌉[

View Source After HTML5 Boilerplate

## 安装

 1. Download the ZIP
 2. Unzip the ZIP
 3. Copy/paste the unzipped files into your WP plug-in directory (`/wp-content/plugins/`)
 4. From within WP’s Plugin Admin panel, Activate the HTML5 Boilerplate plug-in
 5. In the left-nav, within the Settings menu, you should now have an HTML5 Boilerplate
    link
 6. Click the link to view the HTML5 Boilerplate Admin panel
 7. Check and un-check options to add and remove stuff from your site!

## 常见问题

  What HTML5 Boilerplate options does the plug-in let me manipulate?

 * Use HTML5 `DOCTYPE`?
 * Add IE Conditional `<html>` Tags?
 * Move XFN profile from `<head>` to `<link>`?
 * Use HTML5 Character-Encoding `<meta>` Tag?
 * Kill IE6 Image Toolbar?
 * Force IE-edge / Google Chrome?
 * Add Google Verification?
 * Force iThings to Use Full Zoom?
 * Add Favicon?
 * Add iThing Favicon?
 * Add IE-only CSS file?
 * Add Modernizr JS?
 * Add Respond JS?
 * Add jQuery JS?
 * Which jQuery version?
 * Put jQuery in `<head>` or at end of `<body>`?
 * Add jQuery Plug-ins JS?
 * Add Site-specific JS?
 * Add Google Analytics?
 * Use HTML5 Search `<input>` Type?
 * Add Search `placeholder` Text?
 * Add Cache Buster to CSS & JS Files?

## 评价

此插件暂无评价。

## 贡献者及开发者

「HTML5 Boilerplate」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Aaron T. Grogg ](https://profiles.wordpress.org/aarontgrogg/)

[帮助将「HTML5 Boilerplate」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/html5-boilerplate)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/html5-boilerplate/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/html5-boilerplate/)，或通过[RSS](https://plugins.trac.wordpress.org/log/html5-boilerplate/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/html5-boilerplate/)。

## 额外信息

 *  版本 **5.0.1**
 *  最后更新：**11 年前**
 *  活跃安装数量 **40+**
 *  WordPress 版本 ** 3.1 或更高版本 **
 *  已测试的最高版本为 **4.1.42**
 *  语言
 * [English (US)](https://wordpress.org/plugins/html5-boilerplate/)
 * 标签
 * [boilerplate](https://cn.wordpress.org/plugins/tags/boilerplate/)[HTML5](https://cn.wordpress.org/plugins/tags/html5/)
 *  [高级视图](https://cn.wordpress.org/plugins/html5-boilerplate/advanced/)

## 评级

 4.3 星（最高 5 星）。

 *  [  2 条 5 星评价     ](https://wordpress.org/support/plugin/html5-boilerplate/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/html5-boilerplate/reviews/?filter=4)
 *  [  1 条 3 星评价     ](https://wordpress.org/support/plugin/html5-boilerplate/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/html5-boilerplate/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/html5-boilerplate/reviews/?filter=1)

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

[查看全部评论](https://wordpress.org/support/plugin/html5-boilerplate/reviews/)

## 贡献者

 *   [ Aaron T. Grogg ](https://profiles.wordpress.org/aarontgrogg/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/html5-boilerplate/)