en WordPress.com Forums › Support Remove Comment Status from PHP Code Author Posts July 12, 2010 at 10:29 pm #497983 jessemuirMember 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? July 12, 2010 at 10:29 pm #498193 supportbotMember You did not specify a blog address or reason for posting when you created this topic. This support forum is for blogs hosted at WordPress.com. If your question is about a self-hosted WordPress blog then you’ll find help at the WordPress.org forums. If you don’t understand the difference between WordPress.com and WordPress.org, 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. July 12, 2010 at 10:44 pm #498196 jessemuirMember Nevermind, I had to remove this code: <p><?php _e(‘The comments are closed.’); ?></p> July 12, 2010 at 10:53 pm #498201 thesacredpathStaff You were in the wrong forum as the supportbot said. July 12, 2010 at 11:16 pm #498203 jessemuirMember Did you figure that out yourself? Author Posts The topic ‘Remove Comment Status from PHP Code’ is closed to new replies.