• cscott5288

    (@cscott5288)


    I am trying to upload a theme I created to the wordpress free theme directory. Unfortunately, I need to have gravitars enabled on the thme before I can submit it.
    I read this: http://codex.wordpress.org/Using_Gravatars#Theme_Support_for_WordPress_2.5

    But I am a little clueless.

    Do I have to add the if (function_exists(‘get_avatar’)) { (and the rest of that chunk of code) to my functions.php? When I add it, I get one of those php parse errors. Also, what exactly do I put in the comments template and where? I understand this:

    <?php
    echo get_avatar( $id_or_email, $size = ’96’, $default = ‘<path_to_url>’ );
    ?>

    renders the little html gravitar image but where do I put it exactly in my comments.php?

    Here is my comments.php by the way:
    http://pastebin.com/9JhgcQKJ

    Hope someone can help …

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter cscott5288

    (@cscott5288)

    anyone?

    Thread Starter cscott5288

    (@cscott5288)

    *cricket sounds*

    Thread Starter cscott5288

    (@cscott5288)

    I’m still stuck on this … I would appreciate any help. Just need to figure out how to enable gravitars so my free theme can be uploaded to the directory.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘getting gravitar to work’ is closed to new replies.