Clean up loop.php to reflect WP coding standards