• Hello, I’m trying to add a reply button to the comments on my theme, personalized by me.
    Actually the theme is working on local on my pc, is not online.

    I changed the comment.php and customized the loop with this :

    <?php if($comments) : ?>
        <ol class="commentlist">
        <?php foreach($comments as $comment) : ?>
            <li id="comment-<?php comment_ID(); ?>">
            <div class="UserAvatar"><?php echo get_avatar($comment,'50','' ); ?></div>
            <div class="comment-arrow"></div>
                  <div class="userSay"><?php comment_author_link(); ?> says :</div>
                  <div class="userCommentdate">On <?php comment_date('n-j-Y'); ?> at <?php comment_time(); ?></div>
                <?php if ($comment->comment_approved == '0') : ?>
                    <p class="waitingApproval">Your comment is awaiting approval</p>
                <?php endif; ?>
                <p class="comment-text">
                <?php comment_text(); ?>
                </p> 
    
            </li>
            <div class="comment-bottom"></div>
        <?php endforeach; ?>
        </ol>
    <?php else : ?>
        <p>No comments yet</p>
    <?php endif; ?>

    In the discussion option page I have allowed the thread comments until 5 depth but the link reply still not appear, can you help me to understand whhy?

    thanks in advantage-

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘reply button in comment’ is closed to new replies.