Skip to content

Instantly share code, notes, and snippets.

@dcooney
Last active December 1, 2015 21:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dcooney/f7582bb594e5a660f293 to your computer and use it in GitHub Desktop.
Save dcooney/f7582bb594e5a660f293 to your computer and use it in GitHub Desktop.
<?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