WPUM - Cover template for the profile which doesn't show the cover image but does show the avatar
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* The Template for displaying the profile cover. | |
*/ | |
// Exit if accessed directly | |
if ( ! defined( 'ABSPATH' ) ) { | |
exit; | |
} | |
?> | |
<div> | |
<div id="header-avatar-container"> | |
<a href="<?php echo esc_url( wpum_get_profile_url( $data->user ) ); ?>"> | |
<?php echo get_avatar( $data->user->ID, 128 ); ?> | |
</a> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment