倡萌之前分享过自定义头像的方法:
如何修改 WordPress 的默认 Gravatar 头像
WordPress用户资料添加自定义用户头像功能
今天介绍的 WP User Avatar 插件,就是用来实现这两个功能的。
安装 WP User Avatar 以后,就可以 在后台 – 设置 – 讨论,设置网站的默认头像,还会在后台 – 用户 – 我的个人资料,添加了一个自定义头像功能,允许用户设置自己的头像。这样一来,如果用户在“个人资料”中设置了自己的头像,就优先显示,如果没有设置,就显示用户的 Gravatar 头像,或者网站的默认头像。
后台 – 设置 – 讨论,设置网站的默认头像:

后台 – 用户 – 我的个人资料,自定义头像:

WP User Avatar 下载安装
可直接后台插件安装界面搜索 WP User Avatar 在线安装,或者下载 WP User Avatar
来源:
https://www.wpdaxue.com/wp-user-avatar.html
微信公众号
手机浏览(小程序)
Warning: get_headers(): SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in
/mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line
57
Warning: get_headers(): Failed to enable crypto in
/mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line
57
Warning: get_headers(https://static.shanhubei.com/qrcode/qrcode_viewid_33272.jpg): failed to open stream: operation failed in
/mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line
57