WordPress.org

Ready to get started?Download WordPress

Forums

Gravatar (6 posts)

  1. dudez12
    Member
    Posted 8 years ago #

    Where do I place the gravatar code??

  2. katie1
    Member
    Posted 8 years ago #

    I'll edit this in light of the next post...

  3. petit
    Member
    Posted 8 years ago #

    That's up to you!

    If you want a Gravatar with each comment, you'll have to find the page in your template that generates the comments.
    In the default theme it is comments.php.
    You will find the loop that loops through and presents all comments for a post. It starts like this:

    <?php foreach ($comments as $comment) : ?>
    Identify where you want the Gravatar to appear inside the loop.

    ( Someone else may give better instructions )

  4. Personally, I use Skippy's Gravatars plugin.

    Works nicely :-)

  5. petit
    Member
    Posted 8 years ago #

    Hmm..thanks, good advice!

  6. dudez12
    Member
    Posted 8 years ago #

    So i add it under this??:
    <?php foreach ($comments as $comment) : ?>

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags