Forums

Adding gravatar to output of wp_list_authors() (5 posts)

  1. chriskjennings
    Member
    Posted 3 years ago #

    For my first attempt at modifying a function, I want to show a gravatar beside of the name generated with wp_list_authors

    Where can I find this function in the code? Is there a better way to achieve this besides copying the function, pasting it in functions.php, renaming it and modifying the output?

  2. TapeBoy929
    Member
    Posted 3 years ago #

    Check out this article which will tell you how to get going with gravatars-

    http://codex.wordpress.org/Using_Gravatars

    Essentially, you need a gravatar-friendly theme first. Then you can go about customizing that. Have fun.

    [signature moderated Please read the Forum Rules]

  3. Arash
    Member
    Posted 2 years ago #

    I know it has been 8 months, but the gravatars codex does not explain how to add a gravatar to the authors list.

    Does anyone know how to add this?

  4. MichaelH
    Volunteer
    Posted 2 years ago #

  5. anu
    Member
    Posted 2 years ago #

    I'm not sure there is a way of doing it with wp_list_authors. You probably need to skip using wp_list_authors and do it all yourself.

Topic Closed

This topic has been closed to new replies.

About this Topic