WordPress.org

Ready to get started?Download WordPress

Forums

Gravatars in my posts (2 posts)

  1. NickieS
    Member
    Posted 8 years ago #

    I would like to have the gravatar image for whoever writes the post to appear in the posts. At this time, I do not want to have gravatars in my comments.

    I have downloaded Skippy's Gravatar plugin, activated it and inserted the code '<img src="<?php gravatar(); ?>" alt="test" />' into my index.php. On the options menu, I have uploaded the photo that I would like to be used.

    Does anyone know how to edit the code so that it will automatically pull up the author's gravatar photo?

    Any help that you can give would be appreciated.

    Here is the site: http://www.johnsonteamrealestate.com/blog

    Thanks!

  2. Kafkaesqui

    Posted 8 years ago #

    This bit of code (inserted into your templates where you want the author's gravatar to appear) should work:

    http://paste.uni.cc/8583

Topic Closed

This topic has been closed to new replies.

About this Topic