Support » Plugin: Wizzart - Recent Comments » [Plugin: Wizzart – Recent Comments] Had to modify widget to get avatars to show

  • Greetings,
    first, let me say i think this plugin is very good, and i appreciate the effort to create and maintain it.

    However i was having an issue with the avatars not showing in the sidebar, so i had a look at the code and compared it to the comments function in the default theme twentyten.

    on lines 240 and 242, you had

    $gravatar = get_avatar($comment->comment_author_email, $gravatar_size....)

    but the section “->comment_author_email” is not necessary; using just get_avatar($comment, $gravatar_size) is sufficient to pull in the user’s avatar.
    This is also the method used in the twentyten theme functions.php file.

    I just wanted to note this so that you could update your code if desired (which would also allow me to install any updates you make in the future 😉 )

Viewing 1 replies (of 1 total)
  • Thanks, famousb!
    After having applied your fix even some missing comments showed up. (Still had to remove that mysterious “CACHED!!!”, now all looks fine.)
    (And replaced in admin backend in the Output Format the “%post_link” by “%comment_link” – I find it more intuitive when clicking on a comment takes you to that comment, not the post.)

    I hope the author still maintains this plugin.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Wizzart – Recent Comments] Had to modify widget to get avatars to show’ is closed to new replies.