• Hi All,
    Got an odd one. I’ve got a template file called reviews.php

    I’ve created page in WP and set reviews.php as the template. Then added:

    <?php if ( have_comments() ) : ?>
    		<ol id="commentlist">
    
    		<?php foreach ($comments as $comment) : ?>
    			<li <?php comment_class(); ?> id="comment-<?php comment_ID() ?>">
    			<?php echo get_avatar( $comment, 32 ); ?>
    			<?php comment_text() ?>
    			<p><cite><?php comment_type(_x('Comment', 'noun'), __('Trackback'), __('Pingback')); ?> <?php _e('by'); ?> <?php comment_author_link() ?> — <?php comment_date() ?> @ <a href="#comment-<?php comment_ID() ?>"><?php comment_time() ?></a></cite> <?php edit_comment_link(__("Edit This"), ' |'); ?></p>
    			</li>
    
    		<?php endforeach; ?>
    
    		</ol>
    
    		<?php else : // If there are no comments yet ?>
    			<p><?php _e('No comments yet.'); ?></p>
    		<?php endif; ?>

    Although I’ve added 2 comments, it still says No comments yet. But I can see them via the RSS feed,

    Am going mad trying to work this out. Where am I going wrong?
    TIA

  • The topic ‘comment show in RSS not on page’ is closed to new replies.