Code:
<?php $comment_array = array_reverse(get_approved_comments($wp_query->post->ID)); $count = 1; ?> <?php if ($comment_array) { ?> <div id="main-page-comment-<?php the_id(); ?>" class="main-page-comment"> <ul class="commentlist"> <?php foreach($comment_array as $comment){ ?> <li><span class="comment-author"><?php comment_author_link(); ?></span>: <?php comment_text(); ?> </li> <?php } ?> </ul> <?php } else { ?> <!-- if there was no comment in that post,yet --> <div id="main-page-comment-<?php the_id(); ?>" class="main-page-comment">No comments so far <?php } ?> </div> </div> <!-- end recent comment--> <div class="clear"></div>
I checked out this post: http://forum.bytesforall.com/showthread.php?t=2423
Which results in the ENTIRE comments template showing up, which is not what I want.