• 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.