Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 43 lines (30 sloc) 1.498 kb
789a1c89 »
2012-06-27 Commit all files.
1 <?php
2 /**
3 * Comment Template
4 *
5 * The comment template displays an individual comment. This can be overwritten by templates specific
6 * to the comment type (comment.php, comment-{$comment_type}.php, comment-pingback.php,
7 * comment-trackback.php) in a child theme.
8 *
9 * @package Path
10 * @subpackage Template
11 * @since 0.1.0
12 */
13
14 global $post, $comment;
15 ?>
16
17 <li id="comment-<?php comment_ID(); ?>" class="<?php hybrid_comment_class(); ?>">
18
19 <?php do_atomic( 'before_comment' ); // path_before_comment ?>
20
21 <div class="comment-wrap">
22
23 <?php do_atomic( 'open_comment' ); // path_open_comment ?>
24
25 <?php echo hybrid_avatar(); ?>
26
27 <?php echo apply_atomic_shortcode( 'comment_meta', '<div class="comment-meta">[comment-author] [comment-published] [comment-permalink before="| "] [comment-edit-link before="| "] [comment-reply-link before="| "]</div>' ); ?>
28
29 <div class="comment-content comment-text">
30 <?php if ( '0' == $comment->comment_approved ) : ?>
31 <?php echo apply_atomic_shortcode( 'comment_moderation', '<p class="alert moderation">' . __( 'Your comment is awaiting moderation.', 'path' ) . '</p>' ); ?>
32 <?php endif; ?>
33
34 <?php comment_text( $comment->comment_ID ); ?>
35 </div><!-- .comment-content .comment-text -->
36
37 <?php do_atomic( 'close_comment' ); // path_close_comment ?>
38
39 </div><!-- .comment-wrap -->
40
41 <?php do_atomic( 'after_comment' ); // path_after_comment ?>
42
43 <?php /* No closing </li> is needed. WordPress will know where to add it. */ ?>
Something went wrong with that request. Please try again.