描述
Let your users/clients upload a custom picture to their woocommerce profile.
安裝
- Upload your plugin to the folder
/wp-content/plugins/woocommerce-custom-profile-picture
, or install the plugin directly through the WordPress plugins. - Activate the plugin in the ‘Plugins’ page in WordPress
- The field to add or change the profile picture will be added automatically to the WooCommerce User Dashboard
- If your theme doesn’t implement the get_avatar function in the templates you should modify it manually
常見問題
- Installation Instructions
-
- Upload your plugin to the folder
/wp-content/plugins/woocommerce-custom-profile-picture
, or install the plugin directly through the WordPress plugins. - Activate the plugin in the ‘Plugins’ page in WordPress
- The field to add or change the profile picture will be added automatically to the WooCommerce User Dashboard
- If your theme doesn’t implement the get_avatar function in the templates you should modify it manually
- Upload your plugin to the folder
- What is the maximum upload size of a profile image?
-
The limit has been set in 5 MB pictures as a maximum
- Where can I see how to implement the get_avatar function?
-
You can look at the wordpress codex on how to implemnt the get_avatar function (Click Here)
評價
2018年12月11日
I installed and since the theme did not implement the get_avatar function, I added it using the available API. However, when I tried to update the avatar of a user uploading a file, no error was shown and no avatar was changed.