Jump to content
Sign in to follow this  
david_noir

lost avatars

Recommended Posts

david_noir

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

It returned by reloading several times the page "discussions". Phew! Thank you anymay.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×