May 23, 2006
7:13 pm | Last updated: May 23, 2006 at: 7:43 pm

You have left a comment…

You have enabled comments moderation feature in your WordPress blog. When people leave comments you want to show them a small message letting them know the comment is in moderation so that they don’t repost. All you have to do is, in your comment loop, add something like this:

<?php if ( $comment->comment_approved == '0' ) { ?>
<p class="alert">Thanks for your comment. It is currently in the moderation cue and will be visible for everyone to read as soon as I have verified it</p>
<?php } ?>

Comments, Moderation, Message

Loading

Contextual Related Posts:

1 Response | RSS comments on this post | Leave a comment»

  1. 1
    TwinkleMom says#1 | August 2nd, 2008 at 6:46 pm

    I was curious where in the comment loop is the best place to put the notification in?

No Pingback yet

PingBack URI

Leave a Response

Comment Preview
« Seperating Trackbacks and Comments in WordPressquery_posts »
Feed Icon

Subscribe via RSS or email: