Support » Fixing WordPress » Comments Not Appearing Under Post

  • Hi Everyone,

    I hope someone can help me as I’m rather stuck on this problem…

    I have installed cformsII to handle my comments as I need the captcha as have had problems with spam in the past.
    However now when I post a comment it appears in the admin panel, but does not appear under the post. Just “2 Responses so far ยป” is displayed but then no comments.

    An example of this problem can be seen here:

    The relevant section of my comments.php is shown below.

    Many Many thanks to anyone that can help ๐Ÿ™‚ ๐Ÿ™‚


    <?php if ($comments) : ?>
    	<ol id="commentlist" class="commentlist">
    	<?php $relax_comment_count=isset($commentcount)? $commentcount+0 : 1; //Comment counter ?>
    	<?php foreach ($comments as $comment) : ?>
    	<!-- A different style if comment author is blog owner -->
    	<li class="<?php if ($comment->comment_author_email == get_the_author_email()) { echo 'adminreply'; } ?> item" id="comment-<?php comment_ID() ?>" >
    		<!-- Comment Counter -->
    		<div class="commentcounter"><?php echo $relax_comment_count; ?></div>
    		<!-- Gravatar -->
    		<?php if (function_exists('gravatar')) { ?>
    		<div class="commentgravatar">
    			<a href="" title="<?php _e('What is this?'); ?>">
    				<img src="<?php gravatar('X', '38', ''); ?>" class="gravatar" alt="<?php _e('Gravatar'); ?>" />
    		<?php } ?>
    		<h3 class="commenttitle"><?php comment_author_link() ?> <?php _e('said'); ?>,</h3>
    		<p class="commentmeta">
    			<a href="#comment-<?php comment_ID() ?>">
    				<?php comment_date('F j, Y') ?> @ <?php comment_time() ?>
    			<!-- Quoter -->
    			<?php if (function_exists('quoter_comment')) { quoter_comment(); } ?>
    			<?php edit_comment_link(__("Edit"), ' · ', ''); ?>
    		<?php comment_text() ?>
            <!-- Comment Counter -->
    	<?php $relax_comment_count++; ?>
    	<?php endforeach; /* end for each comment */ ?>
    <?php else : // this is displayed if there are no comments so far ?>
    	<?php if ('open' == $post-> comment_status) : ?>
    		<?php /* No comments yet */ ?>
    	<?php else : // comments are closed ?>
    		<?php /* Comments are closed */ ?>
    		<p><?php _e('Comments are closed.'); ?></p>
    	<?php endif; ?>
    <?php endif; ?>
Viewing 3 replies - 1 through 3 (of 3 total)
  • Hmm,

    Still got the same problem – still have no idea how to make my comments appear.
    Uninstalled C-forms and they still are still missing.

    I’m really stumped on this one – can anyone give me any advice at all?


    Don’t know whether you’ve already done this but sometimes this may help: Tally it with the original comments file of your theme.
    Also see to it that the comments are in ‘approved’ status.

    Hello I am having a very similar problem, I cant make the previous comments appear under my post, I have read up on this greatly and one thing I did find was to insert

    <?php $withcomments = 1; ?>
    <?php comments_template(); ?>

    in the Main Index but this still doesnt seem to work, my sites would appreciate any help that I could get

    Thanks alot

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Comments Not Appearing Under Post’ is closed to new replies.