Guest User

Untitled

a guest
Jan 2nd, 2013
422
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.20 KB | None | 0 0
  1. function comments_template($comment, $args, $depth) {
  2. $GLOBALS['comment'] = $comment; ?>
  3. <div <?php comment_class(); ?> id="comment-<?php comment_ID() ?>">
  4. <div id="comment-<?php comment_ID(); ?>">
  5. <div class="comment-author vcard">
  6. <?php echo get_avatar($comment,$size='48',$default='<path_to_url>' ); ?>
  7.  
  8. <?php printf(__('<cite class="fn">%s</cite> <span class="says">says:</span>'), get_comment_author_link()) ?>
  9. </div>
  10. <?php if ($comment->comment_approved == '0') : ?>
  11. <em><?php _e('Your comment is awaiting moderation.') ?></em>
  12. <br />
  13. <?php endif; ?>
  14.  
  15. <div class="comment-meta commentmetadata"><a href="<?php echo htmlspecialchars( get_comment_link( $comment->comment_ID ) ) ?>"><?php printf(__('%1$s at %2$s'), get_comment_date(), get_comment_time()) ?></a><?php edit_comment_link(__('(Edit)'),' ','') ?></div>
  16.  
  17. <?php comment_text() ?>
  18.  
  19. <div class="reply">
  20. <?php comment_reply_link(array_merge( $args, array('depth' => $depth, 'max_depth' => $args['max_depth']))) ?>
  21. </div>
  22. </div>
  23. <?php
  24. }
Advertisement
Add Comment
Please, Sign In to add comment