Single Pledge: Make contributor avatar link to profile to improve UX.

This commit is contained in:
Ian Dunn 2019-10-31 16:26:37 -05:00
parent 33d3bc1933
commit 22cb761c57
No known key found for this signature in database
GPG key ID: 99B971B50343CBCB

View file

@ -95,7 +95,9 @@ get_header(); ?>
<?php foreach ( $contributors as $contributor ) : ?> <?php foreach ( $contributors as $contributor ) : ?>
<li class="pledge-contributor"> <li class="pledge-contributor">
<span class="pledge-contributor__avatar"> <span class="pledge-contributor__avatar">
<?php echo get_avatar( $contributor->user_email, 280 ); ?> <a href="<?php echo esc_url( 'https://profiles.wordpress.org/' . $contributor->user_nicename ); ?> ">
<?php echo get_avatar( $contributor->user_email, 280 ); ?>
</a>
</span> </span>
<?php <?php
printf( printf(