Advertisement
Guest User

Untitled

a guest
Nov 16th, 2011
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.24 KB | None | 0 0
  1. <?php // Template for comments
  2. function custom_comment($comment, $args, $depth) {
  3. $GLOBALS['comment'] = $comment;
  4. ?>
  5. <li <?php comment_class(); ?> id="comment-<?php comment_ID(); ?>" >
  6. <div class="c-grav"><?php echo get_avatar( $comment, '40' ); ?></div>
  7. <div class="c-body">
  8. <div class="c-head">
  9. <?php comment_author_link(); ?> <span class="c-permalink"><a href="<?php echo get_permalink(); ?>#comment-<?php comment_ID(); ?>"><?php _e( 'permalink', 'titan' ); ?></a></span>
  10. </div>
  11. <?php if ( $comment->comment_approved == '0' ) : ?>
  12. <p><?php _e( '<em><strong>Please Note:</strong> Your comment is awaiting moderation.</em>', 'titan' ); ?></p>
  13. <?php endif; ?>
  14. <?php comment_text(); ?>
  15. <?php comment_type( ( '' ), __( 'Trackback', 'titan' ), __( 'Pingback', 'titan' ) ); ?>
  16. <div class="reply">
  17. <?php echo comment_reply_link(array( 'depth' => $depth, 'max_depth' => $args['max_depth'])); ?>
  18. </div>
  19. <?php edit_comment_link( __( 'Edit', 'titan' ) ); ?>
  20. </div><!--end c-body-->
  21. <?php } ?>
  22. <?php
  23. // Template for pingbacks/trackbacks
  24. function list_pings($comment, $args, $depth) {
  25. $GLOBALS['comment'] = $comment;
  26. ?>
  27. <li id="comment-<?php comment_ID(); ?>"><?php comment_author_link(); ?>
  28. <?php } ?>
  29.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement