Adjust aam_backend_login-2
-
Hi,
I use the AAM widget. Unluckily there is a large gap:
<div style="display:table-cell; width: 30%; text-align: center; vertical-align: middle;"></div>
and it seems the following function is not able to retrieve the picture.
echo get_avatar(AAM::getUser()->ID, 50);
Can we have a hook there for custom implementation?
$gravatar_image = get_avatar_url( get_current_user_id(), $args = null ); $profile_picture_url = get_user_meta( get_current_user_id(), 'user_registration_profile_pic_url', true ); $image = ( ! empty( $profile_picture_url ) ) ? $profile_picture_url : $gravatar_image;?> <img class="profile-preview" alt="profile-picture" src="<?php echo $image; ?>">
Kind regards
Jo
- The topic ‘Adjust aam_backend_login-2’ is closed to new replies.