Forums

[resolved] How to have an Avatar without a plugin? (9 posts)

  1. Alkorr
    Member
    Posted 1 year ago #

    Hi, as the Admin of my blog, when I post a comment, I want a specific avatar to show (I will be of course connected as an Admin). But I have no idea how to do that simple thing... I checked the Codex and I didn't find any information on how to show my avatar and where upload it... I'm lost...

    The code I'm currently using in my commets is:

    <?php echo get_avatar( $comment, 50 ); ?>

    So if someone can help me, I'd be very happy! Thanks!

  2. Alkorr
    Member
    Posted 1 year ago #

    Any idea how I can get my own avatar without using a plugin? Because of course it works fine with an avatar plugin, but I try not to use plugins when it is not necessary.

    Thanks for your help!

  3. sharecommons
    Member
    Posted 1 year ago #

    Are you talking about GRAVATAR avatars or the user uploaded avatars?

  4. Alkorr
    Member
    Posted 1 year ago #

    Hi sharecommons. I'm talking about the default configuration of WP. I simply want my own avatar to show when I comment on my blog, not a gravatar associated with my email nor a default avatar randomly generated...

    Any idea?

  5. sharecommons
    Member
    Posted 1 year ago #

    I really wish I could help you.
    But I don't think there is one-line solution to this, it would require writing your own functions.
    However, if you consider using plugins, this one can be really helpful http://wordpress.org/extend/plugins/user-photo/

    Sorry, I couldn't be of much help :(

  6. Alkorr
    Member
    Posted 1 year ago #

    Thanks sharecommons, this plugin is great and it's the one I will probably use in last resort, if there is no way to use WP default configation to get my own avatar ;)

  7. t-p
    Member
    Posted 1 year ago #

  8. Alkorr
    Member
    Posted 1 year ago #

    Thank you very much t-p, this is exactly what I was looking for!!

    Have a nice day :)

  9. t-p
    Member
    Posted 1 year ago #

    You are welcome :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags