Skip to content
Newer
Older
100644 49 lines (33 sloc) 1.68 KB
98a8e4e @jayj updated
authored
1 <?php
2 /**
3 * Comment Template
4 *
5 * The comment template displays an individual comment. This can be overwritten by templates specific
30f9e0d @jayj Code cleanup
authored
6 * to the comment type (comment.php, comment-{$comment_type}.php, comment-pingback.php,
98a8e4e @jayj updated
authored
7 * comment-trackback.php) in a child theme.
8 *
bda9730 @jayj PHPDoc changes. You can browse the documentation on http://wpthemes.j…
authored
9 * @package Cakifo
10 * @subpackage Template
98a8e4e @jayj updated
authored
11 */
12
13 global $post, $comment;
14 ?>
15
6370274 @jayj more HTML5
authored
16 <li id="li-comment-<?php comment_ID(); ?>" class="<?php hybrid_comment_class(); ?>">
20b33e4 @jayj Print style, Slides 1.1.8 and clean up
authored
17
0116328 @jayj Spacing clean ups
authored
18 <article id="comment-<?php comment_ID(); ?>" class="comment">
98a8e4e @jayj updated
authored
19
20 <?php do_atomic( 'before_comment' ); // cakifo_before_comment ?>
21
0116328 @jayj Spacing clean ups
authored
22 <div class="comment-wrap">
20b33e4 @jayj Print style, Slides 1.1.8 and clean up
authored
23
0116328 @jayj Spacing clean ups
authored
24 <?php do_atomic( 'open_comment' ); // cakifo_open_comment ?>
20b33e4 @jayj Print style, Slides 1.1.8 and clean up
authored
25
0116328 @jayj Spacing clean ups
authored
26 <footer class="comment-meta">
6370274 @jayj more HTML5
authored
27 <?php echo hybrid_avatar(); ?>
20b33e4 @jayj Print style, Slides 1.1.8 and clean up
authored
28
0116328 @jayj Spacing clean ups
authored
29 <?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>' ); ?>
30 </footer> <!-- .comment-meta -->
20b33e4 @jayj Print style, Slides 1.1.8 and clean up
authored
31
0116328 @jayj Spacing clean ups
authored
32 <div class="comment-content comment-text">
33 <?php if ( '0' == $comment->comment_approved ) : ?>
34 <?php echo apply_atomic_shortcode( 'comment_moderation', '<p class="alert comment-awaiting-moderation">' . __( 'Your comment is awaiting moderation.', 'cakifo' ) . '</p>' ); ?>
35 <?php endif; ?>
20b33e4 @jayj Print style, Slides 1.1.8 and clean up
authored
36
0116328 @jayj Spacing clean ups
authored
37 <?php comment_text( $comment->comment_ID ); ?>
38 </div> <!-- .comment-content .comment-text -->
20b33e4 @jayj Print style, Slides 1.1.8 and clean up
authored
39
0116328 @jayj Spacing clean ups
authored
40 <?php do_atomic( 'close_comment' ); // cakifo_close_comment ?>
20b33e4 @jayj Print style, Slides 1.1.8 and clean up
authored
41
0116328 @jayj Spacing clean ups
authored
42 </div> <!-- .comment-wrap -->
98a8e4e @jayj updated
authored
43
44 <?php do_atomic( 'after_comment' ); // cakifo_after_comment ?>
20b33e4 @jayj Print style, Slides 1.1.8 and clean up
authored
45
0116328 @jayj Spacing clean ups
authored
46 </article> <!-- #comment-<?php comment_ID(); ?> -->
98a8e4e @jayj updated
authored
47
30f9e0d @jayj Code cleanup
authored
48 <?php /* No closing </li> is needed. WordPress will know where to add it. */ ?>
Something went wrong with that request. Please try again.