Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function ttrust_comments($comment, $args, $depth) {
- $GLOBALS['comment'] = $comment; ?>
- <li id="li-comment-<?php comment_ID() ?>">
- <div class="comment <?php echo get_comment_type(); ?>" id="comment-<?php comment_ID() ?>">
- <?php echo get_avatar($comment,'70',get_bloginfo('template_url').'/images/default_avatar.png'); ?>
- <h5><?php comment_author_link(); ?></h5>
- <span class="date"><?php comment_date(); ?></span>
- <?php if ($comment->comment_approved == '0') : ?>
- <p><span class="message"><?php _e('Your comment is awaiting moderation.', 'themetrust'); ?></span></p>
- <?php endif; ?>
- <?php comment_text() ?>
- <?php
- if(get_comment_type() != "trackback")
- 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'])))
- ?>
- </div><!-- end comment -->
- <?php
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement