Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function custom_comment33_w( $comment, $args, $depth ) {
- $GLOBALS['comment'] = $comment; $user_id = get_comment(get_comment_ID())->user_id; $user_info = get_userdata($user_id );
- ?>
- <li id="comment-<?php comment_ID(); ?>" <?php comment_class('comment-wrap'); ?>>
- <div id="div-comment-<?php comment_ID(); ?>" class="comment-body">
- <div class="comment-author vcard">
- <?php echo get_avatar( $comment, 32 ); ?>
- <?php echo '<a href="'.get_author_posts_url($user_id).'"><cite class="fn">'.$user_info->display_name.'</cite></a>'; ?>
- </div>
- <div class="comment-meta commentmetadata">
- <a href="<?php echo esc_url( get_comment_link( $comment->comment_ID ) ); ?>">
- <?php echo get_comment_date().' at '.get_comment_time(); ?>
- </a>
- <?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>
- </li>
- <?php
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement