Dashboard->Setting->Discussion->Avatars
后台->设置->讨论->头像(没用过中文版,凑合看)
Avatar 开关 |
Don’t show Avatars Show Avatars |
---|---|
Maximum Rating |
G — 不黄不暴力 PG — 知道什么是第一性征的青少年 R — 知道什么是第二性征的小青年 X — 知道怎么生孩子的成年生物 |
Oh ,Matt Matt Matt,WP25 is pretty damn cool~
拆了Default theme后抠出来一句
<?php if(function_exists(“get_avatar”)) echo get_avatar( $comment, 32 ); ?>
把这句话插入到comments.php里的<?php comment_author_link() ?>附近
然后修改Style.css,增加
.avatar {
border: 1px dashed #d3d3d3;
padding: 2px;
float: right;
margin-top: 3px;
}
即可得到大猫blog评论里的Avatars效果~
源生支持,不用任何插件~
或者,你想更多的设置,延伸阅读Gravatars and WordPress 2.5
又或者,你想设置自己的头像请点我访问gravatar.com
回复 BigCat 取消回复