The Code:

Add these snippets to comments.php and functions.php.