內容簡介
這個外掛可以讓訪客使用您選擇的頭像主題,如果他們沒有 Gravatar 的話。這是由 iElectrify 和 Fahd Murtaza 開發的外掛。
只需將 wp-randomavatars 外掛安裝到您的 WordPress 插件資料夾 (/wp-content/plugins),然後透過儀表板啟用它。
如果您的 WordPress 主題不支援頭像 (很少見),只需在您想要顯示頭像的地方添加以下代碼:
<?php if (function_exists('get_random_avatar')) { echo get_random_avatar(); } ?>
圖示應該設置為 48×48 像素。您可以使用免費的圖形查看器/調整大小工具,如 www.irfanview.com 進行調整。要查找主題化的圖示以用於您的博客,其中許多圖示可供個人和商業用途,請參閱 www.iconfinder.net。
當您擁有自己的圖示時,只需將它們添加到 WordPress 插件區域中的 wp-randomavatars/images 資料夾中。就這樣!享受吧!
功能:
允許您的訪客:
* 使用自定義隨機頭像,而不是我們到處都看到的預設 Gravatar,例如 "Mystery Man" 頭像。
疑難排解:
如果您在使用此外掛時遇到任何問題,請通過向 [email protected] 發送電子郵件或在 WordPress 外掛論壇上發布問題通知我。
外掛標籤
開發者團隊
原文外掛簡介
The Custom Avatars plugin allows you to give visitors a custom avatar theme if they don’t have a Gravatar. It was developed by iElectrify and Fahd Murtaza.
Simply install the Custom Avatars plugin by following these steps:
Upload the ‘custom-avatars’ folder to the ‘/wp-content/plugins/’ directory of your WordPress installation.
Activate the plugin through the ‘Plugins’ menu in WordPress.
If your WordPress theme does not support avatars (which is rare), you can manually add the following snippet of code where you want the avatars to appear:
Avatars should be sized at 48×48 pixels. You can use a free graphics viewer/resizer such as IrfanView (available at www.irfanview.com) to resize your avatars. For themed icons that are free for personal and commercial use, visit www.iconfinder.net.
Once you have your avatars ready, upload them to the ‘custom-avatars/images’ folder in your WordPress plugins area. That’s it! Enjoy!
Features:
Allow your visitors to:
* Use custom random avatars instead of the default Gravatars.
Troubleshooting:
If you encounter any issues with this plugin, please send an email to [email protected] or post on the WordPress support forum for this plugin.
