Hello clegeard,
To add the self-hosted avatars to your template files just use the WordPress built-in get_avatar()
function. It’s output is changed once Avatar Manager is activated.
Please let me know if it helps.
Best regards,
Cătălin Dogaru
Hello,
I am using this function but it does not work.
The call in my author.php es this way:
<?php echo get_avatar( get_the_author_meta( ‘user_email’ ), apply_filters( ‘twentytwelve_author_bio_avatar_size’, 70 ) ); ?>
but I get the gravatar image and not that I have uploaded with your plugin.
However the images I see in the back office user list and in the AMR Users Directory are the correct ones.
Do you have an idea of the problem ?
Thanks
Hi clegeard,
Just tested your code snippet with Twenty Eleven and it works as intended. Have you tried disabling all plugins, except Avatar Manager? If the error persists, please contact me through this contact form. If you don’t mind, I would like to take a look.
Thank you,
Cătălin Dogaru
Hi Cătălin,
Thanks for your help, I’ve managed to make it work.
It was a problem of my coding
Thanks again.
Hi clegeard,
You’re welcome. Nice to hear you’ve finally managed to get things working.
Cheers,
Cătălin Dogaru