Code added to functions.php to customize BP loop