comments.php broken post – urgent :(
-
I tweaked the comments.php code, and have somehow hidden the contents of my post, but all the comments still show…
post: https://earleyedition.com/2009/04/22/australias-top-100-journalists-and-news-media-people-on-twitter/This is the current code in comments.php that I think is the problem.
<?php if ( have_comments() ) : ?> <h4>Comments</h4> <b><?php comments_number('No Responses', 'One Response', '% Responses' );?> to “<?php the_title(); ?>”</b> <ol class="commentlist"> <?php wp_list_comments('type=comment&avatar_size=48'); ?> </ol> <div class="navigation"> <div class="alignleft"><?php previous_comments_link() ?></div> <div class="alignright"><?php next_comments_link() ?></div> </div>
I had been trying to remove paged comments, to make all comments appear on post page, but created the problem mentioned, and seen on post in link above. I thought the code above was the restored original, but the post remains hidden.
I haven’t altered any other of the theme files.
I’m not a code monkey, but there must be something blindingly obvious I’m just not getting. On another post the opposite has happened; the content is there, but the comments have disappeared.
Thanks very much for your help.
- The topic ‘comments.php broken post – urgent :(’ is closed to new replies.