I'm trying to use WordPress as a CMS and I've set up a feedback form using comments. We will then log in and look at the comments awaiting moderation . There is no need for them to ever be approved.
That said I need a thank you for your feedback message, and I can't seem to get it to work.
I've tried this on my page.php before an if(is_page('my_feedback'))
<?php foreach ($comments as $comment) : ?> <?php if ($comment->comment_approved == 0) : ?> <h1>Thanks for your question!</h1> <?php endif; ?> <?php endforeach; ?>
Does anyone have any idea how I could post a thank you message after the user posts?