描述
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.
評價
There are no reviews for this plugin.
貢獻者及開發者
修改日誌
1.0
Original Release
1.1
Image Sizing Update
1.2
Integer Support Image Sizing admin avatars