I’m trying to build my comment section and calling the comment_reply_link function to generate a ‘Reply’ link.
However, I’m getting no output. The comment-reply.js loads up properly and the comments appear, but no link is found and nothing is echoed where the function was placed. I have threaded comments enabled in the “Discussion” options. Did I miss anything?
Have you added this to your comment form. <?php comment_id_fields(); ?>
This is needed for the reply link to now where to move the form up to. Also make sure that your comment reply depth is set to more than 1 in the discussion options.
I am having the same problem.<?php echo comment_reply_link(array('depth' => $depth, 'max_depth' => $args['max_depth'])); ?> this code shows nothing. No link appears for “Reply”. Searched through the net but could not find the solution. Any help is appreciated.
I’m also having the same problem as SteelFrog and kcssm. The code provided by jeremyclark13 provides no output and I simply have an empty <p></p> where I have in my template:<p><?php echo comment_reply_link(array('depth' => $depth, 'max_depth' => $args['max_depth'])); ?></p>