default gravatar coding
-
I have lovely default gravatars for each of my themes but I can’t seem to get them to show up right. Here is the basic code for them all but each have a different gravatar_00 by number.
Thanks!
<?php if ( $comments ) : ?>
<?php foreach ($comments as $comment) : ?>
<div class=”commentbox”>
<div class=”commentid”>
“><?php comment_ID(); ?> </div>
<img src=”<?php gravatar(“R”, 60, “/gravatar_04.png”, “704a25″ ); ?>” alt=”Get your own gravatar for comments by visiting gravatar.com” class=”gravatar” />
<p class=”commentby”><?php comment_type(__(‘Comment’), __(‘Trackback’), __(‘Pingback’)); ?> <?php _e(‘by’); ?> <?php comment_author_link() ?>
<p class=”commentinfo”><?php comment_date() ?> @ <?php comment_time() ?> <?php edit_comment_link(__(“Edit This”), ‘ |’); ?>
<?php comment_text() ?>
</div><?php endforeach; ?>
- The topic ‘default gravatar coding’ is closed to new replies.