Add avatar support to default theme.
git-svn-id: https://develop.svn.wordpress.org/trunk@7360 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
b796e06517
commit
0629600e0c
@ -27,6 +27,7 @@
|
|||||||
<?php foreach ($comments as $comment) : ?>
|
<?php foreach ($comments as $comment) : ?>
|
||||||
|
|
||||||
<li <?php echo $oddcomment; ?>id="comment-<?php comment_ID() ?>">
|
<li <?php echo $oddcomment; ?>id="comment-<?php comment_ID() ?>">
|
||||||
|
<?php echo get_avatar( $comment, 32 ); ?>
|
||||||
<cite><?php comment_author_link() ?></cite> Says:
|
<cite><?php comment_author_link() ?></cite> Says:
|
||||||
<?php if ($comment->comment_approved == '0') : ?>
|
<?php if ($comment->comment_approved == '0') : ?>
|
||||||
<em>Your comment is awaiting moderation.</em>
|
<em>Your comment is awaiting moderation.</em>
|
||||||
|
@ -139,6 +139,13 @@ h2, h2 a, h2 a:hover, h2 a:visited, h3, h3 a, h3 a:hover, h3 a:visited, #sidebar
|
|||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.commentlist li .avatar {
|
||||||
|
float: right;
|
||||||
|
border: 1px solid #eee;
|
||||||
|
padding: 2px;
|
||||||
|
background: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
.commentlist cite, .commentlist cite a {
|
.commentlist cite, .commentlist cite a {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
|
Loading…
Reference in New Issue
Block a user