hey,
i found a code snippet for last comments on a static page:
but i use comments only with a pop-up.
<?php comments_popup_link('0 Comments', '1 Comment',
'% Comments', 'comment-link-top', 'Comments closed.'); ?>
could anyone help me to use the pop-up-link above in the code?
that would be great :-)
<?php
$comments = get_comments('status=approve&number=5');
foreach($comments as $comment) :?>
<?php $my_id = $comment->comment_post_ID ; $post_id_comms = get_post($my_id); $title = $post_id_comms->post_title;?>
Who: <?php echo($comment->comment_author);?><br />
About: <a href="<?php echo get_permalink($my_id) ?>#comment-<?php echo $comment->comment_post_ID?>" title="on <?php echo $title ?>"><?php echo $title ?></a><br />
What they said: <?php echo($comment->comment_content);?><br />
When they said it: <?php echo($comment->comment_date);?><br />
<?php endforeach;?>