I\'m currently building a niche Q+A site using wordpress with which users can either log in and post questions or log in and answer questions.
Questions are currentl
The query for the comments is the normal wordpress way, but you need to include it in the conditionals linked and pointed above.
Usage example:
'approve',
'order' => 'DESC',
'user_id' => $user_id
);
$comments = get_comments($args);
foreach($comments as $comment) :
echo '';
echo($comment->comment_author . '
' . $comment->comment_content);
echo '
';
endforeach;
}
?>