diff --git a/templates/shortcode-donor-wall.php b/templates/shortcode-donor-wall.php index b54a5a4c37..7b360a17f8 100644 --- a/templates/shortcode-donor-wall.php +++ b/templates/shortcode-donor-wall.php @@ -38,6 +38,17 @@ $alt "; + } elseif (($avatar = $donor->get_meta('_give_donor_avatar_id', true))) { + // Donor has an avatar + $imageUrl = wp_get_attachment_image_url($avatar, 'thumbnail'); + $alt = __('Donor Avatar', 'give'); + + echo " +
+ $alt +
+ "; + } elseif ($donation['_give_payment_donor_email'] && give_validate_gravatar( $donation['_give_payment_donor_email'] )) {