描述
This plugin allows you to:
- Add a photo with each user, much like featured images
- Replaces the user gravatar with their featured photo
- Only users levels that can upload_files in their capabilities can manage their user photo
屏幕截图
安装
To install the plugin:
- Upload
mindutopia_user_thumbnails
directory to the/wp-content/plugins/
directory, or upload the.zip
file through thewp-admin
plugins interface. - Activate the plugin through the ‘Plugins’ menu in WordPress
- User photos will automatically replace user gravatars using the
get_avatar
filter.
Additionally these functions/template tags are available with this plugin to use in your templates and files.
* has_author_thumbnail
– checks if a user has a photo saved with it : takes user_id
* the_author_thumbnail
– print the author image markup : takes user id, size, and image attributes
* get_the_author_thumbnail
– retrieve the image markup : takes user id, size, and image attributes
常见问题
- Can my users edit their own photos?
-
Only if they have the ability to upload photos on your site.
评价
此插件暂无评价。
贡献者及开发者
更新日志
1.0
Original Release
1.1
Image Sizing Update
1.2
Integer Support Image Sizing admin avatars