mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-04-22 11:03:43 +03:00
Single Pledge: Make contributor avatar link to profile to improve UX.
This commit is contained in:
parent
33d3bc1933
commit
22cb761c57
|
@ -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(
|
||||||
|
|
Loading…
Reference in a new issue