Good Day... I would REALLY appreciate any help here. My comments are not posting.. I can see them in administration side of the wordpress application but they will not appear on my pages under 'comments' - IT IS DRIVING ME NUTS! :)
I have been working on this for three days strait and can not resolve it...
PLEASE HELP ME!
<?php
if ('comments.php' == basename($_SERVER['SCRIPT_FILENAME'])) die ('Access denied.');
if (!empty($post->post_password))
{
if ($_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password) { ?>
<p class="nocomments"><?php _e('Enter your password to view comments.'); ?></p>
<?php
return;
}
}
?>
<h2 id="comments"><?php comments_number(__('No Comments'), __('1 Comment'), __('% Comments')); ?></h2>
<?php if ($comments) : ?>
<ol class="commentlist">
<?php foreach ($comments as $comment) : ?>
<li id="comment-<?php comment_ID() ?>">
<big><?php comment_author_link() ?></big>
<?php if ($comment->comment_approved == '0') : ?>
<span class="await_mod">Await Moderation</span>
<?php endif; ?>
<span class="comment_data"><a href="#comment-<?php comment_ID() ?>" title=""><?php comment_date('F j, Y') ?> @ <?php comment_time() ?></a></span>
<?php comment_text() ?>
</li>
<?php endforeach; ?>
</ol>
<?php endif; ?>