WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Getting the Avatar URL for use in a post.

[Resolved] Getting the Avatar URL for use in a post.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Jake Goldman
    Member

    @jakemgold

    It works exactly like WordPress’s native avatar feature (via Gravatar) works: you need to put a “get_avatar( USER_ID OR E-MAIL )” call in your template files.

    get_avatar

    This plug-in does not add any new features for embedding avatars in your content or anywhere else. It’s purely a replacement for requiring Gravatar. If you’re looking for a plug-in that makes it easy to embed an avatar in the editor, you might want to consider Gravatar Shortcode – it should be compatible.

    kirkward
    Participant

    @kirkward

    Thanks. I got it doing what I need with the get_avatar call, and have adjusted the size to give me what I wanted.

    I have to say, the get avatar thing is sort of confusing. I was also able to get the URL, with a regex statement, but found it wasn’t necessary. I just the avatar as a picture or image.

    radianceLux
    Member

    @radiancelux

    Thanks. I got it doing what I need with the get_avatar call, and have adjusted the size to give me what I wanted.

    I have to say, the get avatar thing is sort of confusing. I was also able to get the URL, with a regex statement, but found it wasn’t necessary. I just the avatar as a picture or image.

    I am currently trying to get just the URL for the avatar how did you do it?

    I am also looking to get a plain avatar url from the plugin. Can anyone shine some light on this?

    I am also looking to get a plain avatar url from the plugin. Can anyone shine some light on this?

    Currently, there is no function to retrieve just a plain avatar url.
    A bug has been filed, and is currently waiting for review.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] Getting the Avatar URL for use in a post.’ is closed to new replies.