I followed the advice from those topics and placed the line here:
<?php if ( $comments ) : ?>
<ol id="commentlist">
<?php foreach ($comments as $comment) : ?>
<li id="comment-<?php comment_ID() ?>">
<div class="clearer"> </div>
<div class="commentname">
<span class="commentauthor">
<img src="<?php gravatar("R", 40, "http://www.somewhere.com/heatvision.jpg", "FF0000"); ?>" alt="" />
<?php comment_author_link() ?>
</span>
</div>
But instead of the avatars, I get this error when I go to the articlepage where the comments stand.
So either the line is wrong or the place where I put it is wrong.
Anybody understand the error?
Greetz,
Jeroen Stooker
Fatal error: Call to undefined function: gravatar() in /home/stooker/public_html/wp-content/themes/rin/comments.php on line 21
ps. look at http://www.stooker-web.nl/?p=57#comments down below if you want to see the problem.