• Resolved inworship

    (@inworship)


    Can anybody suggest a good tutorial on making this happen? My theme isn’t set up for it and I would love to make this happen.

    brentinworship.com/blog

Viewing 7 replies - 1 through 7 (of 7 total)
  • I just visited your site, and I saw you already have some gravatars there. What tutorial do you actually need? Sadish’s free themes such as Mistylook that I used in my site already have gravatar in sidebar. I wrote my experience setting up gravatar using Sadish Mistylook theme at this posting. At least it gives my visitors the link to gravatar site. I came across this one, Is your avatar a gravatar? through the links on gravatar site.

    Thread Starter inworship

    (@inworship)

    Well, I kept hunting and hunting and eventually found the get recent comments plug in. I installed that code and then tweaked it and I ma good to go now. Thanks!

    If you are using Lester Chan’s plugin. Use this

    <?php echo get_avatar('get_recent_comments','35','' ); ?> <?php get_recent_comments(); ?>

    Here is the full of it, if you have added nothing to the sidebar.
    `<?php if (function_exists(‘get_recent_comments’)) { ?>

    • <h2><?php _e(‘Recent Comments’); ?></h2>
      <?php echo get_avatar(‘get_recent_comments’,’35’,” ); ?> <?php get_recent_comments(); ?>

    <?php } ?>

    <?php if (function_exists('get_recent_comments')) { ?>
       <li>
    <h2><?php _e('Recent Comments'); ?></h2>
            <ul>
            <?php echo get_avatar('get_recent_comments','35','' ); ?> <?php get_recent_comments(); ?>
            </ul>
       </li>
    
       <?php } ?>

    What file is this supposed to be in, functions.php? I have added the code to comments.php and I have it showing on the page but not in my sidebar. What am I doing wrong? Any help would be greatly appreciated.

    @magcrossin – You’ll need to add it to your sidebar.php file to get it in your sidebar.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Avatars in sidebar with Recent Comments’ is closed to new replies.