WordPress.org

Ready to get started?Download WordPress

Forums

Moving the "reply to comment" link (8 posts)

  1. Anna
    Member
    Posted 3 years ago #

    Wondering if it's possible to move the "reply to this comment" link as in this picture.

    My problem is that some people unfamiliar with WordPress don't know how to do threaded comments once the "reply" link disappears from the bottom most child comment.

    My settings are to limit the depth to 2. I don't want it to go any deeper and even if I did set it to any deeper, the problem would be the same.

    Any help would be awesome.

    My current comments code is like this:

    function mytheme_comment( $comment, $args, $depth ) {
       $GLOBALS['comment'] = $comment; ?>
       <li <?php comment_class(); ?> id="li-comment-<?php comment_ID() ?>">
         <div id="comment-<?php comment_ID(); ?>" class="toplevcomment">
             <div class="commentinfo"><?php comment_author_link(); ?> &mdash; <?php comment_date(); ?> <a href="#comment-<?php comment_ID(); ?>">&mdash;</a> <?php comment_time(); ?></div>
          <?php if ($comment->comment_approved == '0') : ?>
             <em><?php _e('Your comment is awaiting moderation.') ?></em>
             <br />
          <?php endif; ?>
          <?php comment_text() ?>
          <div class="commcomm">
           <?php comment_reply_link(array_merge($args,array('reply_text' => 'Reply to this comment thread?', 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ); ?>
          </div>
         </div>
    <?php
            }
  2. Anna
    Member
    Posted 3 years ago #

    Bump?

  3. Anna
    Member
    Posted 3 years ago #

    Bump? =/

  4. Anna
    Member
    Posted 3 years ago #

    Bump? D:

  5. Anna
    Member
    Posted 3 years ago #

    Bump? D8

  6. Anna
    Member
    Posted 3 years ago #

    Bump.

  7. Anna
    Member
    Posted 3 years ago #

    7th post.

  8. Anna
    Member
    Posted 3 years ago #

    8th post after a week D8

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags