Plugin này chưa được cập nhật với 3 phiên bản mới nhất của WordPress. Nó có thể không được hỗ trợ và bảo trì, và có thể xung đột với các phiên bản WordPress mới nhất.

Custom Avatars For Comments

Mô tả

This was initially written for a client and he agreed to open-source it. Thanks, John! Your visitors will be able to choose from the avatars you upload to your website for each and every comment they make. Various configuration options are available.

See a live demo on the plugin’s home page.

Other plugins I wrote

Ảnh màn hình

  • The modified comment form. See the live demo on my blog.
  • The options page.

Cài đặt

  1. Unzip
  2. Upload to your plugins directory
  3. Enable the plugin
  4. Upload your own custom avatars to the the wp-content/commentavatars/ directory

Hỏi đáp

Q: I have uploaded avatars, there is no error message on the settings page, but I still can’t see the avatar selection field
A: Your theme is most likely broken. Tell your theme developer to read the Theme Development page and to add the comment_form action.

Q: I don’t like where the avatar selection field shows up on the page.
A: Perform the following steps:

  1. Find the comments.php file in your theme directory and open it in an editor. Alternatively edit it through the WordPress theme editor under Appearance-Editor. If your theme doesn’t use a comments.php search for a file with a wp_list_comments call or with the comments form.
  2. Add <?php global $CommentAvatarsFrontend; if ( isset( $CommentAvatarsFrontend ) ) $CommentAvatarsFrontend->select(); ?> where the avatar select list should appear.
  3. Check the “Don’t show the select field automatically.” box on the settings page.

Q: How do I remove the link to the plugin homepage?
A: Please read the plugin’s settings page, you can disable it there.

Đánh giá

There are no reviews for this plugin.

Người đóng góp & Lập trình viên

“Custom Avatars For Comments” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

Nhật ký thay đổi

0.3 ( 2010-12-16 )

  • Fix for the new admin bar in WordPress 3.1
  • Honor requested avatar sizes ( 2010-12-12 )

  • Add bulgarian translation and update docs ( 2010-12-10 )

0.2.3 ( 2010-12-09 )

  • Load css + js from correct server
  • Re-arrange admin page ( 2010-06-06 )

  • Make the exclude CSS option work ( 2010-04-06 )

  • This should fix the upgrade bug reported by Twinkling82 which kept the plugin in a perpetual upgrade loop. Thanks for the report! ( 2010-04-05 )

  • Add a ‘reset plugin’ checkbox, if anybody runs into upgrading problems.
  • Small fix for image URLs ( 2010-04-04 )

  • The plugin should now work without theme modifications when installed. If it does not, your theme is broken, please see the FAQ. If you were already using an earlier release of this plugin, the automatic display of the select box will be deactivated. You can change that setting on the options page.
  • Add the option to display a ‘select no avatar’ button
  • Fix forcing of border color
  • Various code optimizations ( 2010-04-03 )

  • The release broken the frontend CSS, sorry about that, and sorry for releasing so many updates in one day, the plugin is still very young.
  • Admin CSS fix for webkit.
  • I hope nobody uses multiple comment forms on one page. ( 2010-04-03 )

  • Rename CSS classes and remove IDs to make more sense and avoid invalid markup. ( 2010-04-03 )

  • Bugfix in the random selection code. ( 2010-04-03 )

  • Code and interface cleanups, docs update.
  • Add random avatar selection. ( 2010-04-02 )

  • Additional CSS class for the custom avatar images.
  • Update docs and german translation. ( 2010-04-01 )

  • Convert entities in readme.txt.
  • Fix CSS, JS paths.

0.1.0 ( 2010-04-01 )

  • First public release
  • Add german translation


  • Development branch


  • Unpublished release for my client