Need help? Check out our Support site, then

Remove Comment Status from PHP Code

  1. I've got this code that I'm trying to edit.

    <?php if ('open' == $post->comment_status) : ?>

    I'd like to remove the '$post->comment_status' part and replace it with basically nothing. (if open, then don't post comment status and continue).

    Does anyone have any idea what I can place here to avoid parse errors?

  2. You did not specify a blog address or reason for posting when you created this topic.

    This support forum is for blogs hosted at If your question is about a self-hosted WordPress blog then you'll find help at the forums.

    If you don't understand the difference between and, you may find this information helpful.

    If you forgot to include a link to your blog, you can reply and include it below. It'll help people to answer your question.

    This is an automated message.

  3. Nevermind, I had to remove this code:

    <p><?php _e('The comments are closed.'); ?></p>

  4. You were in the wrong forum as the supportbot said.

  5. Did you figure that out yourself?

Topic Closed

This topic has been closed to new replies.

About this Topic