Ready to get started?Download WordPress


reply button in comment (2 posts)

  1. Antonio.f
    Posted 4 years ago #

    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(); ?>
            <div class="comment-bottom"></div>
        <?php endforeach; ?>
    <?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-

  2. alexstudio
    Posted 4 years ago #

    I have this same problem. 7months. really no one can answer this?

Topic Closed

This topic has been closed to new replies.

About this Topic