Sign up ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I'm calling my comments the ol' fashion way:

<?php wp_list_comments('avatar_size=60'); ?>

I would like to be able to position the 'Reply" link where I choose. Right now, it defaults to the bottom of the comment. Sure, I can move it via CSS - but what if I want to place it after the dater or username?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

Use a custom callback to render the comment content. Inside of the callback function call comment_reply_link() wherever you need it:

        array (
            'add_below' => 'comment-body',
            'depth'     => $reply_depth,
            // + 1 to offer always a reply link for a consistent UI
            'max_depth' => $args['max_depth'] + 1,
            'before'    => '<p class="reply-line">',
            'after'     => '</p>'
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.