How do I embed Avatars in the comment text?
-
In the comments section of my blog. I’m trying to embed the avatars into the text. A nice
align="left"
in the img line is nice in regular html. But how do I get this to happen with my avatars in php?Here’s where my site calls for the avatars:
`<?php foreach ($comments as $comment) : ?>
<li <?php comment_class(); ?> id=”comment-<?php comment_ID() ?>”>
<?php echo get_avatar( $comment, 50 ); ?>
<?php comment_text() ?>
<p><cite><?php comment_type(_c(‘Comment|noun’), __(‘Trackback’), __(‘Pingback’)); ?> <?php _e(‘by’); ?> <?php comment_author_link() ?> — <?php comment_date() ?> @ “><?php comment_time() ?></cite> <?php edit_comment_link(__(“Edit This”), ‘ |’); ?></p>
‘As you can see working at: https://www.martianartslave.com/blog
The avatars are not embedded in the comments, which is the lay out I wish to effect.I greatly appreciate any assistance.
- The topic ‘How do I embed Avatars in the comment text?’ is closed to new replies.