WordPress.org

Make WordPress Core

Changeset 7360


Ignore:
Timestamp:
03/17/2008 11:12:17 PM (12 years ago)
Author:
ryan
Message:

Add avatar support to default theme.

Location:
trunk/wp-content/themes/default
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/default/comments.php

    r6711 r7360  
    2828
    2929        <li <?php echo $oddcomment; ?>id="comment-<?php comment_ID() ?>">
     30            <?php echo get_avatar( $comment, 32 ); ?>
    3031            <cite><?php comment_author_link() ?></cite> Says:
    3132            <?php if ($comment->comment_approved == '0') : ?>
  • trunk/wp-content/themes/default/style.css

    r7130 r7360  
    140140    }
    141141
     142.commentlist li .avatar {
     143    float: right;
     144    border: 1px solid #eee;
     145    padding: 2px;
     146    background: #fff;
     147    }
     148
    142149.commentlist cite, .commentlist cite a {
    143150    font-weight: bold;
Note: See TracChangeset for help on using the changeset viewer.