SHARE
TWEET

Nicki

a guest Dec 15th, 2008 280 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function custom_comment($comment, $args, $depth) {
  2.        $GLOBALS['comment'] = $comment; ?>
  3.         <li <?php //comment_class(); ?> class="alt" id="comment-<?php comment_ID( ); ?>">
  4.                 <?php comment_author_link() ?> on <a href="#comment-<?php comment_ID() ?>" title=""><?php comment_date('F jS Y') ?> at <?php comment_time() ?></a>
  5.             <?php edit_comment_link('(Edit)','',''); ?>
  6.            
  7.             <?php if ($comment->comment_approved == '0') : ?>
  8.             <em>Your comment is awaiting moderation.</em>
  9.             <?php endif; ?>
  10.            
  11.                         <div class="commenttext">
  12.                                 <div class="avatar_cont"><?php if ($args['avatar_size'] != 0) echo get_avatar( $comment, $args['avatar_size'] ); ?></div>
  13.                                
  14.                                 <?php comment_text() ?>
  15.                
  16.                 <div style="clear:both;"></div>
  17.                         <?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'] ));  ?>
  18.                 <div style="clear:both;"></div>
  19.                
  20.                         </div>
  21.                 <?php
  22.                 // Do not close LI.  WP will do it for you.
  23. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top