标签:style http io color ar os sp 文件 div
将下面的代码丢入WordPress 主题下的functions.php 文件(代码来自于 麦田一根葱 ,感谢原作者):
1 2 3 4 5 |
function mytheme_get_avatar($avatar) {
$avatar = str_replace(array("www.gravatar.com","0.gravatar.com","1.gravatar.com","2.gravatar.com"),"gravatar.duoshuo.com",$avatar);
return $avatar;
}
add_filter( ‘get_avatar‘, ‘mytheme_get_avatar‘, 10, 3 );
|
标签:style http io color ar os sp 文件 div
原文地址:http://www.cnblogs.com/yueke/p/4096753.html