Support » Themes and Templates » Guests not seeing comments

  • Resolved beatle


    Version: WordPress 2.0.7
    Theme: Blue Zinfandel 2.0 (widgetized)

    There’s something that I would like to change regarding the behaviour of comments. I have my WordPress configured so that only registered members can comment. However, in this theme, guests are not shown the comments! I want to prevent guests from commenting but it’s ok that they read the comments. I’ve checked with other themes with the same configuration and that’s what happens.

    I’m not a PHP programer but I believe there is something in the “IF’s” statements in the comments.php file of the template that is causing this.

    Thanks in advance for all the help.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Try commenting out lines 21,22,23 in comments.php (i.e. put two // in front of each line).

    Make a backup of your files before changing things just in case.


    Thanks for your help. I had to comment the end if statement as well but, unfortunately, that way anyone could make a comment. The problem is that I want guests to be able to read the comments although they are not allowed to comment.

    I solved this by moving the condition down the comments.php code. I put it after the comments loop and before the new comment form. Thanks Michael for trying to help.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Guests not seeing comments’ is closed to new replies.