david_noir 0 Report post Posted February 25, 2011 Hello, I wanted to add a code to change my avatar in the functions.php page, I erased it later, but no adversity is more shown. Thank you for your help. Here is the code : dd_filter( 'avatar_defaults', 'newgravatar' ); function newgravatar ($avatar_defaults) { $myavatar = get_bloginfo('template_directory') . '/images/votre_avatar.jpg'; $avatar_defaults[$myavatar] = "Avatar perso"; return $avatar_defaults; } Share this post Link to post Share on other sites
david_noir 0 Report post Posted February 25, 2011 It returned by reloading several times the page "discussions". Phew! Thank you anymay. Share this post Link to post Share on other sites