Hi zusammen,
hab das gravatar plugin installiert (1.1) WP (2.2)
Hab das gästebuch ein wenig modifiziert
ZitatAlles anzeigen<?php if ($comments) : ?>
<a name="comments"></a><h2><?php comments_number('No Guestbook Entries','One Guestbook Entry','% Guestbook Entries' );?></h2><ol class="commentlist">
<?php foreach (array_reverse($comments) as $comment) : ?>
<li class="<?=$oddcomment;?>">
<div class="gb_top"><small class="commentmetadata"><a href="#comment-<?php comment_ID() ?>" title=""><?php comment_date('F jS, Y') ?> at <?php comment_time() ?></a> <?php edit_comment_link('e','',''); ?></small></div>
<div class="gb_body">
<div class="gb_author">
<img src="<?php gravatar("R", 80,""); ?>" alt="" title="" />
<a name="comment-<?php comment_ID() ?>"></a>
<cite><?php comment_author_link() ?></cite>
<br /><br />
</div>
<div class="gb_content">
<?php comment_text() ?>
</div>
<br clear="all" />
</div>
<div class="gb_bottom"> </div><br clear="all" />
</li>
<?php /* Changes every other comment to a different class */
if("graybox" == $oddcomment) {$oddcomment="";}
else { $oddcomment="graybox"; }
?><?php endforeach; /* end for each comment */ ?>
</ol>
Das Standardbild wird auch angezeigt, das einzige was nicht stimmt ist, dass mein Gravatar nicht angezeigt wird. Hab bei Gravatar einen Avatar hochgeladen und auf aktiv gestellt.
Hat jemand eine idee warum es nicht funktioniert?