![]()
前言介紹
- 這款 WordPress 外掛「ChargeWP – Front End Avatar Upload」是 2025-11-29 上架。
- 目前有 20 個安裝啟用數。
- 上一次更新是 2025-12-03,距離現在已有 84 天。
- 外掛最低要求 WordPress 5.8 以上版本才可以安裝。
- 外掛要求網站主機運作至少需要 PHP 版本 7.4 以上。
- 有 1 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
chargewp |
外掛標籤
avatar | gravatar | woocommerce | frontend upload | profile picture |
內容簡介
**總結:**
ChargeWP Avatar Upload 提供了一個清潔、直觀的方式給使用者更新他們的個人照片,而不需要打開儀表板。這個外掛適用於現代 WordPress 網站:安全、輕量且主題友好。
**問題與答案:**
1. ChargeWP Avatar Upload 主要提供了哪些關鍵功能?
- 即時前端上傳 — 在頁面上或 WooCommerce “My Account” 中更新您的頭像。
- 內建 SmartCrop.js — 自動將臉部居中,提供完美的專業效果。
- Gutenberg 塊和短碼 — 在任何您想要的地方添加頭像上傳器。
- Gravatar 友好 — 保留現有 Gravatars,並在上傳自訂圖像時優先顯示。
- 自動清理 — 取代舊頭像,以保持您的媒體庫整潔。
- 輕量且本地化 — 沒有複雜的設置,沒有設置畫面,也沒有充斥。
2. 為什麼使用者會喜歡 ChargeWP Avatar Upload 外掛?
- 直接開箱即用。
- 看起來和感覺像是 WordPress 和 WooCommerce 的一部分。
- 通過智能裁剪和優化的 JPEG 輸出進行安全上傳。
- 支持 WordPress 允許的所有圖像類型(JPG、PNG、WebP 等)。
- 提供翻譯和開發者友好功能。
3. 如何使用外掛中的 shortcode 來設置頭像?
- 範例:[chargewp_avatar type="0" check_page_author="false"]
- 屬性:
- type — 0 = 僅頭像,1 = 頭像 + 名稱 + ID,2 = 頭像 + 名稱 + ID + 檔案連結。默認值:0
- check_page_author — true 或 false。當為 true 時,顯示頁面或帖子作者的頭像,而不是當前使用者。默認值:false
- classes — 可選的額外 CSS 類以進行自定義樣式。
這些是 ChargeWP Avatar Upload 外掛提供的主要功能和使用方法。
原文外掛簡介
It just works.
ChargeWP Avatar Upload gives users a clean, intuitive way to update their profile photo without opening the dashboard.
It’s built for modern WordPress sites: secure, lightweight, and theme-friendly.
Key Features
Instant front-end upload — update your avatar right on the page or in WooCommerce “My Account.”
SmartCrop.js built in — automatically centers faces for perfect, professional results.
Gutenberg Block and Shortcode — add the avatar uploader anywhere you want.
Gravatar friendly — keeps existing Gravatars in place and simply takes priority when a custom image is uploaded.
Automatic cleanup — replaces old avatars so your media library stays tidy.
Lightweight and native — no complex settings, no setup screens, and no bloat.
Why You’ll Love It
Works straight out of the box.
Looks and feels like part of WordPress and WooCommerce.
Secure uploads with smart cropping and optimized JPEG output.
Supports all image types WordPress allows (JPG, PNG, WebP, and more).
Translation ready and developer friendly.
Usage
Shortcode example:
[chargewp_avatar type="0" check_page_author="false"]
Attributes:
– type — 0 = avatar only, 1 = avatar + name + ID, 2 = avatar + name + ID + profile link. Default: 0
– check_page_author — true or false. When true, shows the page or post author’s avatar instead of the current user. Default: false
– classes — Optional extra CSS classes for custom styling.
Block:
– Insert the ChargeWP Avatar block in the editor.
– Adjust display type and author options from the block sidebar.
Developer Notes
Template overrides are supported. Copy files from
plugins/chargewp-avatar/templates/ to yourtheme/templates/cwpa/.
Filters to disable automatic placement:
add_filter('cwpa_auto_inject_wc_account', '__return_false');
add_filter('cwpa_auto_inject_cwpd_sidebar', '__return_false');
Filters to change display type:
cwpa_avatar_type_wc_account
cwpa_avatar_type_cwpd_sidebar
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「ChargeWP – Front End Avatar Upload」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
1.0.0 | 1.0.1 | 1.0.2 | 2.0.0 | 2.0.1 | 2.0.2 | trunk |
延伸相關外掛(你可能也想知道)
OptiImage – Upload Optimizer 》總結:OptiImage – Upload Optimizer 外掛旨在自動壓縮和優化透過 WordPress 網站前端上傳的圖片,以及透過 Imagick PHP 庫上傳到 WordPress 媒體庫中的圖片...。
