Setting up Gravatar
-
On my last theme it worked and now it’s not working on this theme. I did it exactly the same way I thought. Anyway my site is https://fragilemusings.net and here is what I put on the comments php setup:
<?php if ($comments) : ?>
<h3 id=”comments”><?php comments_number(__(‘Comments’), __(‘1 Comment’), __(‘% Comments’));?></h3><ol id=”commentlist”>
<?php foreach ($comments as $comment) : ?>
<img src=”<?php gravatar() ?>” alt=”” />
<li id=”comment-<?php comment_ID() ?>”>
<h4 class=”commentauthor”><?php comment_author_link() ?> <?php _e(‘said,’); ?></h4>
- The topic ‘Setting up Gravatar’ is closed to new replies.