• Resolved clegeard

    (@clegeard)


    Hi,

    While I see correctly the custom avatar in the back office, I can manage to see it in the author page.
    I use a plugin “Amr Users” that lists my users, and here I can see them right, how can I call to the custom avatar from the author.php template.

    Thanks

    http://wordpress.org/extend/plugins/avatar-manager/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Cătălin Dogaru

    (@cdog)

    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

    Thread Starter clegeard

    (@clegeard)

    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

    Plugin Author Cătălin Dogaru

    (@cdog)

    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

    Thread Starter clegeard

    (@clegeard)

    Hi Cătălin,

    Thanks for your help, I’ve managed to make it work.
    It was a problem of my coding

    Thanks again.

    Plugin Author Cătălin Dogaru

    (@cdog)

    Hi clegeard,

    You’re welcome. Nice to hear you’ve finally managed to get things working.

    Cheers,
    Cătălin Dogaru

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Custom avatar does not appear in author page’ is closed to new replies.