Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Forum: Fixing WordPress
    In reply to: comment handling
    Thread Starter swoopor

    (@swoopor)

    thanks that included the idea that I was looking for strange though, that the intended way per comments_popup_link does not work at all :/

    I now write smth like this to achieve this:

    <?php if (‘open’ == $post->comment_status) : ?>
    <?php comments_popup_link(‘No comments yet »’, ‘1 Comment so far »’, ‘% Comments »’); ?>
    <?php else : ?>
    Comments off
    <?php endif; ?>

    Forum: Fixing WordPress
    In reply to: comment handling
    Thread Starter swoopor

    (@swoopor)

    Yes podz, that seems about right but if I post smth without even allowing comments at all. I got displayed (with the code above) “zero”, which couldn´t be right?! Therefor I thought I got the “no comments” part in the comments_popup_link?!

    Forum: Fixing WordPress
    In reply to: comment handling
    Thread Starter swoopor

    (@swoopor)

    Zero is being displayed when I disable comments. If, for instance, I close comments after 37 comments have been written, 37 is displayed after disabling.

    I use the source of the kubrick theme but I completely adjusted it to my needs -> click

Viewing 3 replies - 1 through 3 (of 3 total)