文章的版本管理功能
这个功能加上自动保存的功能,对一些意外的未保存会有一定作用,但是对大多数人来说,这只会增加数据库的负担,另文章管理更繁琐。禁用此功能,只需在wp-config.php 中设置:
define('WP_POST_REVISIONS', false);
Google Gears 文件缓存加速
安装Google Gears,按提示即可启用。速度的提升是明显的!
图片的说明文字功能
使主题支持caption,在主题的CSS 文件加上下面的代码并给图片写上适当的说明文字:
/* Captions */
.aligncenter,
div.aligncenter {
display: block;
margin-left: auto;
margin-right: auto;
}
.wp-caption {
border: 1px solid #ddd;
text-align: center;
background-color: #f3f3f3;
padding-top: 4px;
margin: 10px;
-moz-border-radius: 3px;
-khtml-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
}
.wp-caption img {
margin: 0;
padding: 0;
border: 0 none;
}
.wp-caption p.wp-caption-text {
font-size: 11px;
line-height: 17px;
padding: 0 4px 5px;
margin: 0;
}
/* End captions */

