• Resolved benjamin_sp

    (@benjamin_sp)


    I have my blog set so that all comments need to be approved before appearing on the site. When using the default theme, if a user makes a comment they get a message saying “your comment is being held for moderation”. But when I user a different theme, this message does not show up.

    What do I need to add to the comments.php file for this to happen?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,

    Make sure that you have disable the comment moderation from the wordpress admin area -> settings section.

    Disable all the plugins and refer this article:

    https://codex.www.ads-software.com/Combating_Comment_Spam#Moderate_All_Comments

    Thanks,

    Shane G.

    Thread Starter benjamin_sp

    (@benjamin_sp)

    Thanks for answering, but I figuered it out. My theme used a custom list comments function. I just had to grab:

    <?php if ($comment->comment_approved == '0') : ?>
    		<em><?php _e('Your comment is awaiting moderation.') ?></em>
    		<br />
    <?php endif; ?>

    from wp-includes/comment-template.php and added it to my custom comment code that was in functions.php and now it works.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Your comment is awaiting moderation – how to make this appear’ is closed to new replies.