Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php // Template for comments
- function custom_comment($comment, $args, $depth) {
- $GLOBALS['comment'] = $comment;
- ?>
- <li <?php comment_class(); ?> id="comment-<?php comment_ID(); ?>" >
- <div class="c-grav"><?php echo get_avatar( $comment, '40' ); ?></div>
- <div class="c-body">
- <div class="c-head">
- <?php comment_author_link(); ?> <span class="c-permalink"><a href="<?php echo get_permalink(); ?>#comment-<?php comment_ID(); ?>"><?php _e( 'permalink', 'titan' ); ?></a></span>
- </div>
- <?php if ( $comment->comment_approved == '0' ) : ?>
- <p><?php _e( '<em><strong>Please Note:</strong> Your comment is awaiting moderation.</em>', 'titan' ); ?></p>
- <?php endif; ?>
- <?php comment_text(); ?>
- <?php comment_type( ( '' ), __( 'Trackback', 'titan' ), __( 'Pingback', 'titan' ) ); ?>
- <div class="reply">
- <?php echo comment_reply_link(array( 'depth' => $depth, 'max_depth' => $args['max_depth'])); ?>
- </div>
- <?php edit_comment_link( __( 'Edit', 'titan' ) ); ?>
- </div><!--end c-body-->
- <?php } ?>
- <?php
- // Template for pingbacks/trackbacks
- function list_pings($comment, $args, $depth) {
- $GLOBALS['comment'] = $comment;
- ?>
- <li id="comment-<?php comment_ID(); ?>"><?php comment_author_link(); ?>
- <?php } ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement