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.553 kb
7c50385 Adding the initial Prototype 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 *
839713b Updates galore for the Prototype theme.
greenshady authored
9 * @package Prototype
7c50385 Adding the initial Prototype files and folders.
greenshady authored
10 * @subpackage Template
11 */
12
13 global $post, $comment;
14 ?>
15
16 <li id="comment-<?php comment_ID(); ?>" class="<?php hybrid_comment_class(); ?>">
17
b65aeaf Tons of updates to get Prototype ready for release.
greenshady authored
18 <?php do_atomic( 'before_comment' ); // prototype_before_comment ?>
7c50385 Adding the initial Prototype files and folders.
greenshady authored
19
20 <div class="comment-wrap">
21
b65aeaf Tons of updates to get Prototype ready for release.
greenshady authored
22 <?php do_atomic( 'open_comment' ); // prototype_open_comment ?>
7c50385 Adding the initial Prototype files and folders.
greenshady authored
23
24 <?php echo hybrid_avatar(); ?>
25
b65aeaf Tons of updates to get Prototype ready for release.
greenshady authored
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>' ); ?>
7c50385 Adding the initial Prototype files and folders.
greenshady authored
27
28 <div class="comment-content comment-text">
29 <?php if ( '0' == $comment->comment_approved ) : ?>
f11b428 @justintadlock Change all instances of hybrid_get_textdomain() to 'prototype'.
authored
30 <?php echo apply_atomic_shortcode( 'comment_moderation', '<p class="alert moderation">' . __( 'Your comment is awaiting moderation.', 'prototype' ) . '</p>' ); ?>
7c50385 Adding the initial Prototype files and folders.
greenshady authored
31 <?php endif; ?>
32
33 <?php comment_text( $comment->comment_ID ); ?>
34 </div><!-- .comment-content .comment-text -->
35
b65aeaf Tons of updates to get Prototype ready for release.
greenshady authored
36 <?php do_atomic( 'close_comment' ); // prototype_close_comment ?>
7c50385 Adding the initial Prototype files and folders.
greenshady authored
37
38 </div><!-- .comment-wrap -->
39
b65aeaf Tons of updates to get Prototype ready for release.
greenshady authored
40 <?php do_atomic( 'after_comment' ); // prototype_after_comment ?>
7c50385 Adding the initial Prototype files and folders.
greenshady authored
41
42 <?php /* No closing </li> is needed. WordPress will know where to add it. */ ?>
Something went wrong with that request. Please try again.