Remove Comment Status from PHP Code
-
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?
-
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.
-
-
-
- The topic ‘Remove Comment Status from PHP Code’ is closed to new replies.