• Using the twenty eleven comment template and it does not display when there are no comments on a post. The posts require you register to post a comment, but otherwise I’ve changed nothing that should alter this, help?

    <?php
    		/* If there are no comments and comments are closed, let's leave a little note, shall we?
    		 * But we don't want the note on pages or post types that do not support comments.
    		 */
    		elseif ( ! comments_open() && ! is_page() && post_type_supports( get_post_type(), 'comments' ) ) :
    	?>
    		<p class="nocomments"><?php _e( 'There are currently no comments.', 'blueandgreen' ); ?></p>
    	<?php endif; ?>
  • The topic ‘Comments not displaying 'no comments'’ is closed to new replies.