Guest User

Untitled

a guest
Jun 8th, 2014
301
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function ttrust_comments($comment, $args, $depth) {
  2. $GLOBALS['comment'] = $comment; ?>
  3. <li id="li-comment-<?php comment_ID() ?>">
  4.  
  5. <div class="comment <?php echo get_comment_type(); ?>" id="comment-<?php comment_ID() ?>">
  6.  
  7. <?php echo get_avatar($comment,'70',get_bloginfo('template_url').'/images/default_avatar.png'); ?>
  8.  
  9. <h5><?php comment_author_link(); ?></h5>
  10. <span class="date"><?php comment_date(); ?></span>
  11.  
  12. <?php if ($comment->comment_approved == '0') : ?>
  13. <p><span class="message"><?php _e('Your comment is awaiting moderation.', 'themetrust'); ?></span></p>
  14. <?php endif; ?>
  15.  
  16. <?php comment_text() ?>
  17.  
  18. <?php
  19. if(get_comment_type() != "trackback")
  20. comment_reply_link(array_merge( $args, array('add_below' => 'comment','reply_text' => '<span>'. __('Reply', 'themetrust') .'</span>', 'login_text' => '<span>'. __('Log in to reply', 'themetrust') .'</span>', 'depth' => $depth, 'max_depth' => $args['max_depth'])))
  21.  
  22. ?>
  23.  
  24. </div><!-- end comment -->
  25.  
  26. <?php
  27. }
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×