WordPress.org

Make WordPress Core

Changeset 7361


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

Avatar support for classic theme

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

Legend:

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

    r6702 r7361  
    1414<?php foreach ($comments as $comment) : ?>
    1515    <li id="comment-<?php comment_ID() ?>">
     16    <?php echo get_avatar( $comment, 32 ); ?>
    1617    <?php comment_text() ?>
    1718    <p><cite><?php comment_type(__('Comment'), __('Trackback'), __('Pingback')); ?> <?php _e('by'); ?> <?php comment_author_link() ?> &#8212; <?php comment_date() ?> @ <a href="#comment-<?php comment_ID() ?>"><?php comment_time() ?></a></cite> <?php edit_comment_link(__("Edit This"), ' |'); ?></p>
  • trunk/wp-content/themes/classic/style.css

    r6530 r7361  
    159159    font-size: 110%;
    160160    list-style-type: none;
     161}
     162
     163#commentlist li .avatar {
     164    float: right;
     165    margin-right: 25px;
     166    border: 1px dotted #ccc;
     167    padding: 2px;
    161168}
    162169
Note: See TracChangeset for help on using the changeset viewer.