Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter keysuuh

    (@keysuuh)

    Please!

    Here’s the php:

    <ul class="nadtytul">
    <?php
    $comment_count = get_comment_count($post->ID);
    if ($comment_count['approved'] > 0) :
    ?>
    <li class="odpowiedzi"><a href="<?php echo get_permalink(); ?>#comments"><?php comments_number('Comment', '1<span> comment</span>', '%<span> comments</span>'); ?></a></li>
    <?php endif; ?>
    <li><?php the_time('j M Y') ?></li>
    </ul>

    It displays the comment box only if there are comments.

    The styling of the box is done with CSS. If you want to know how, look into the CSS file on the page.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘can anyone tell me how to get my comments link this way ?!?!!!!!!!!!’ is closed to new replies.