<?php
global $wpdb, $comments, $comment;
$comments = $wpdb->get_results("SELECT  comment_author, comment_ID, comment_post_ID, comment_date, SUBSTRING(comment_content,1,50) AS comment_excerpt FROM $wpdb->comments LEFT OUTER JOIN $wpdb->posts ON ($wpdb->comments.comment_post_ID = $wpdb->posts.ID) WHERE comment_approved = '1' AND comment_type = '' AND post_password = '' ORDER BY comment_date_gmt DESC LIMIT 5");
echo '<ul id="tab_content_comments" class="tab_content_list1">';
if ( $comments ) :
	foreach ($comments as $comment) :
		echo '<li class="latestcomment"><a href="'. get_permalink($comment->comment_post_ID) . '#comment-' . $comment->comment_ID . '" title="' . $comment->comment_author . ' - ' . get_the_title($comment->comment_post_ID) . '"><span class="meta">' . get_the_title($comment->comment_post_ID) . '</span></a></li>';
	endforeach;
endif;
echo '</ul>';
?>
bunu dener misin?