SHOW:
|
|
- or go back to the newest paste.
| 1 | - | function nordnetblog_comment($comment, $args, $depth) {
|
| 1 | + | function MYTHEME_comment($comment, $args, $depth) {
|
| 2 | $GLOBALS['comment'] = $comment; ?> | |
| 3 | ||
| 4 | <li <?php comment_class(); ?> id="li-comment-<?php comment_ID() ?>"> | |
| 5 | <div class="comment-author vcard"> | |
| 6 | <?php echo get_avatar($comment,$size='48' ); ?> | |
| 7 | <div class="comment-meta"><a href="<?php the_author_meta( 'user_url'); ?>"><?php printf(__('%s'), get_comment_author_link()) ?></a></div>
| |
| 8 | </div> | |
| 9 | <div class="clear"></div> | |
| 10 | ||
| 11 | <?php if ($comment->comment_approved == '0') : ?> | |
| 12 | <em><?php _e('Your comment is awaiting moderation.') ?></em>
| |
| 13 | <br /> | |
| 14 | <?php endif; ?> | |
| 15 | ||
| 16 | <div class="comment-text"> | |
| 17 | <?php comment_text() ?> | |
| 18 | </div> | |
| 19 | ||
| 20 | <div class="reply"> | |
| 21 | <?php comment_reply_link(array_merge( $args, array('depth' => $depth, 'max_depth' => $args['max_depth']))) ?>
| |
| 22 | <span class="comment-date"> <?php printf(__('%1$s at %2$s'), get_comment_date(), get_comment_time()) ?><?php edit_comment_link(__('(Edit)'),' ','') ?></span>
| |
| 23 | </div> |