外掛說明
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