Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*-----------------------------------------------------------------------------------*/
- /* Custom Comments template
- /*-----------------------------------------------------------------------------------*/
- function mytheme_comment($comment, $args, $depth) {
- $GLOBALS['comment'] = $comment; ?>
- <li <?php comment_class(); ?> id="li-comment-<?php comment_ID() ?>">
- <div id="comment-<?php comment_ID(); ?>">
- <div class="comment-author vcard">
- <?php echo get_avatar( $comment->comment_author_email, 75 ); ?>
- <?php printf(__('<span class="fn">%s</span>'), get_comment_author_link()) ?>
- <time><?php the_time('F j, Y'); ?></time>
- </div>
- <?php if ($comment->comment_approved == '0') : ?>
- <em><?php _e('Your comment is awaiting moderation.') ?></em>
- <br />
- <?php endif; ?>
- <div class="comment-meta commentmetadata">
- <?php edit_comment_link(__('(Edit)'),' ','') ?></div>
- <?php comment_text() ?>
- <div class="reply">
- <?php comment_reply_link(array_merge( $args, array('depth' => $depth, 'max_depth' => $args['max_depth']))) ?>
- </div>
- </div>
- <?php
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement