Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 49 lines (35 sloc) 1.845 kb
2aa8890 Importing the initial My Life theme files and folders.
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 MyLife
10 * @subpackage Template
11 * @since 0.1.0
12 * @author Justin Tadlock <justin@justintadlock.com>
877f5cf Justin Tadlock Update copyright and theme info.
authored
13 * @copyright Copyright (c) 2011 - 2012, Justin Tadlock
2aa8890 Importing the initial My Life theme files and folders.
greenshady authored
14 * @link http://themehybrid.com/themes/my-life
15 * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
16 */
17
18 global $post, $comment;
19 ?>
20
21 <li id="comment-<?php comment_ID(); ?>" class="<?php hybrid_comment_class(); ?>">
22
23 <?php do_atomic( 'before_comment' ); // my-life_before_comment ?>
24
25 <div class="comment-wrap">
26
27 <?php do_atomic( 'open_comment' ); // my-life_open_comment ?>
28
29 <?php echo hybrid_avatar(); ?>
30
31 <?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>' ); ?>
32
33 <div class="comment-content comment-text">
34 <?php if ( '0' == $comment->comment_approved ) : ?>
35 <?php echo apply_atomic_shortcode( 'comment_moderation', '<p class="alert moderation">' . __( 'Your comment is awaiting moderation.', 'my-life' ) . '</p>' ); ?>
36 <?php endif; ?>
37
38 <?php comment_text( $comment->comment_ID ); ?>
39 </div><!-- .comment-content .comment-text -->
40
41 <?php //echo do_shortcode( '[comment-reply-link]' ); ?>
42
43 <?php do_atomic( 'close_comment' ); // my-life_close_comment ?>
44
45 </div><!-- .comment-wrap -->
46
47 <?php do_atomic( 'after_comment' ); // my-life_after_comment ?>
48
49 <?php /* No closing </li> is needed. WordPress will know where to add it. */ ?>
Something went wrong with that request. Please try again.