Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?php
// Example Comment Repeater Template
?>
<li <?php comment_class(); ?> id="comment-<?php comment_ID(); ?>">
<div id="comment-<?php comment_ID(); ?>" class="comment">
<div class="comment-meta comment-author vcard">
<?php echo get_avatar( $comment, 120 ); ?>
<h3>
<a href="<?php comment_author_url(); ?>">
<?php comment_author(); ?>
</a>
</h3>
<p class="comment-date"><?php comment_date(); ?> @ <?php echo comment_time(); ?></p>
</div>
<div class="comment-content post-content">
<?php comment_text(); ?>
<div class="comment-actions">
<?php edit_comment_link( __( 'Edit' ), '', '' ); ?>
<?php comment_reply_link( array_merge( $args, array( 'reply_text' => __( 'Reply'), 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ); ?>
</div>
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment