<?php
wp_list_comments(
$args = array(
'post_author' => $current_user->ID,
'number' => $count, // how many comments to retrieve
'status' => 'approve',
'style' => 'ol',
'short_ping' => true,
)
);
?>
<?php
$args = array(
'post_author' => $current_user->ID,
'number' => 10, // how many comments to retrieve
'status' => 'approve'
);
$comments = get_comments( $args );
if ( $comments )
{
$output.= "<ul>\n";
foreach ( $comments as $c )
{
$output.= '<li>';
// $output.= '<a href="'.get_comment_link( $c->comment_ID ).'">';
$output.= get_comment_text($c->comment_ID);
$output.= '</a>, Posted on: '. mysql2date('m/d/Y', $c->comment_date, $translate);
$output.= "</li>\n";
}
$output.= '</ul>';
echo $output;
} else { echo "No comments made";}
?>