Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function custom_comment($comment, $args, $depth) {
- $GLOBALS['comment'] = $comment; ?>
- <li <?php //comment_class(); ?> class="alt" id="comment-<?php comment_ID( ); ?>">
- <?php comment_author_link() ?> on <a href="#comment-<?php comment_ID() ?>" title=""><?php comment_date('F jS Y') ?> at <?php comment_time() ?></a>
- <?php edit_comment_link('(Edit)','',''); ?>
- <?php if ($comment->comment_approved == '0') : ?>
- <em>Your comment is awaiting moderation.</em>
- <?php endif; ?>
- <div class="commenttext">
- <div class="avatar_cont"><?php if ($args['avatar_size'] != 0) echo get_avatar( $comment, $args['avatar_size'] ); ?></div>
- <?php comment_text() ?>
- <div style="clear:both;"></div>
- <?php echo comment_reply_link(array('before' => '<div class="reply">', 'after' => '</div>', 'reply_text' => 'Reply to this comment', 'depth' => $depth, 'max_depth' => $args['max_depth'] )); ?>
- <div style="clear:both;"></div>
- </div>
- <?php
- // Do not close LI. WP will do it for you.
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement