Title: Threaded Comments
Last modified: August 19, 2016

---

# Threaded Comments

 *  [theimben](https://wordpress.org/support/users/theimben/)
 * (@theimben)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/threaded-comments-6/)
 * I’m trying to use threaded comments on my theme. This is my loop to display the
   comments
 *     ```
       <ul class="commentlist">
       <?php foreach ($comments as $comment) : ?>
       <li id="comment-<?php comment_ID() ?>">
   
       <div class="comment">
       	<div class="commenter">
       	<span class="gravatar"><?php echo get_avatar($comment); ?></span>
       <br />
       		<span class="cm_author"><?php comment_author_link() ?></span> <br />
       		<span class="cm_date"><?php comment_time('d F y') ?></span> <br />
       		<span class="cm_edit"><?php edit_comment_link('edit','&nbsp;&nbsp;',''); ?></span> <br />
       	</div>
       	<div class="comment_content"><?php comment_text() ?></div>
       	<?php comment_reply_link(array('depth' => $depth, 'max_depth' => $args['max_depth'])) ?>
       </div>
       <hr class="spacer" />
   
       <?php if ($comment->comment_approved == '0') : ?>
       <em>Your comment is awaiting moderation.</em>
       <?php endif; ?>
       </li>
       <?php endforeach; /* end for each comment */ ?>
       </ul>
       ```
   
 * The reply link doesn’t show up. I’ve also got wp_enqueue_script(‘comment-reply’);
   in my header but nothing happens.
 * The reply link doesn’t even show up on the comments.

The topic ‘Threaded Comments’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [theimben](https://wordpress.org/support/users/theimben/)
 * Last activity: [16 years, 6 months ago](https://wordpress.org/support/topic/threaded-comments-6/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
