WordPress 头像插件:Gravatars

Gravatar官方网站: http://www.gravatar.com/ 只要你在Gravatar上注册你邮箱,和上传头像图片,然后当你在启动 Gravatar 服务的博客上留言,就可以显示你的头像。  Gravatar在wp中的简单应用 然后在你的 style.css...

Gravatar官方网站:http://www.gravatar.com/
只要你在Gravatar上注册你邮箱,和上传头像图片,然后当你在启动 Gravatar 服务的博客上留言,就可以显示你的头像。
 Gravatar在wp中的简单应用
然后在你的 style.css 文件中插入以下样式头像的代码:
.gravatar {
float:left;
padding: 3px;
border: 1px solid #000;
background: #fff;
clear:both;
}
然后在你的 comments.php 中的留言循环体中输入以下代码即可就算安装完成了:
<?php if (function_exists(’gravatar’)) { gravatar_image_link(); } ? >

COMMENTS

名称

传销,1,代码,1,多说,1,海内,1,生活,29,汤圆,1,网络,8,相册,3,学习,3,音乐,1,银行,1,游戏,1,转载,27,blogger,2,Bluehost,1,php,1,swift,1,wordpress,3,
ltr
item
平凡梦想: WordPress 头像插件:Gravatars
WordPress 头像插件:Gravatars
平凡梦想
https://blog.rechar.net/2007/10/wordpress-gravatars.html
https://blog.rechar.net/
https://blog.rechar.net/
https://blog.rechar.net/2007/10/wordpress-gravatars.html
true
6547323685510588419
UTF-8
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS PREMIUM CONTENT IS LOCKED STEP 1: Share. STEP 2: Click the link you shared to unlock Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy