Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 42 lines (29 sloc) 1.571 kb
74eeed1 Importing the theme files and switching back to Hybrid Core trunk.
greenshady authored
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 Retro-fitted
10 * @subpackage Template
11 */
12
13 global $post, $comment;
14 ?>
15
16 <li id="comment-<?php comment_ID(); ?>" class="<?php hybrid_comment_class(); ?>">
17
18 <?php do_atomic( 'before_comment' ); // retro-fitted_before_comment ?>
19
20 <div class="comment-wrap">
21
22 <?php do_atomic( 'open_comment' ); // retro-fitted_open_comment ?>
23
24 <?php echo hybrid_avatar(); ?>
25
26 <?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>' ); ?>
27
28 <div class="comment-content comment-text">
29 <?php if ( '0' == $comment->comment_approved ) : ?>
2a48f90 @justintadlock Update text strings to use the 'retro-fitted' textdomain instead of hybr...
authored
30 <?php echo apply_atomic_shortcode( 'comment_moderation', '<p class="alert moderation">' . __( 'Your comment is awaiting moderation.', 'retro-fitted' ) . '</p>' ); ?>
74eeed1 Importing the theme files and switching back to Hybrid Core trunk.
greenshady authored
31 <?php endif; ?>
32
33 <?php comment_text( $comment->comment_ID ); ?>
34 </div><!-- .comment-content .comment-text -->
35
36 <?php do_atomic( 'close_comment' ); // retro-fitted_close_comment ?>
37
38 </div><!-- .comment-wrap -->
39
40 <?php do_atomic( 'after_comment' ); // retro-fitted_after_comment ?>
41
42 <?php /* No closing </li> is needed. WordPress will know where to add it. */ ?>
Something went wrong with that request. Please try again.