How to make comment invisible until APPROVED
Hello! I have an issue here, I dont know how to make the comments invisble for EVERYONE (including the person who wrote the comment) until it is approved? On my blog, the comment is visible for the person who just wrote it with a following text that says: “This will not be published until it is approved”. But I dont want that either, I want it to be invisible for EVERYONE? how is that done? PLEASE SOMEONE HELP ME OUT!
Heres a sample of the code from comments.php:
<?php if ($comments) : ?>
<img src=”/saniaclaus/wp-content/themes/hotairballoons/images/commentbreak.gif” />
<!–<h2 id=”comments”><?php comments_number(‘No Responses’, ‘One Response’, ‘% Responses’ );?> to “<?php the_title(); ?>”</h2>–>
<?php foreach ($comments as $comment) : ?>
<b>” target=”_blank”><?php comment_author() ?></b>
<?php if ($comment->comment_approved == ‘0’) : ?>
YOUR COMMENT WILL NOT BE PUBLISHED UNTIL APPROVED
<?php endif; ?>
thanks a lot!!
- The topic ‘How to make comment invisible until APPROVED’ is closed to new replies.