Created
October 23, 2014 10:41
-
-
Save willybahuaud/a5f74c5bf075f888454d to your computer and use it in GitHub Desktop.
avatar espace membre
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 | |
// a rajouter ligne 420 | |
echo '<div class="wem-avatar">' . get_avatar( $userdata->user_email, 100, get_option( 'avatar_default' ), $userdata->display_name ) . '<p class="wem-modif-avatar">' . sprintf( __( 'Utilisez <a href="%s" target="_blank">le service Gravatar</a> pour personnaliser votre image de profil.', 'wem' ), 'https://fr.gravatar.com/' ) . '</p></div>'; | |
// CSS à rajouter | |
/* | |
.wem-avatar{ | |
padding-bottom:1em; | |
overflow:hidden; | |
} | |
.wem-avatar .avatar{ | |
display:block; | |
width:177px; | |
height:177px; | |
margin-right:1em; | |
float:left; | |
-webkit-box-shadow: 0 5px 10px -5px #000; | |
box-shadow: 0 5px 10px -5px #000; | |
border:0; | |
border-radius:0; | |
} | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment