Skip to:
Content
Pages
Categories
Search
Top
Bottom

Adding BP Avatars to Comments — HELP!


  • Anthony
    Participant

    @anmith88

    I am having a hell of a time getting my buddypress avatars to show in some themes im trying to use. Ive found the code to add the avatars, but I cant seem to find where to add it to comments.php… can anyone help. The current code looks like this:

      <?php
      if ($comments && count($comments) – count($trackbacks) > 0) {
      // for WordPress 2.7 or higher
      if (function_exists(‘wp_list_comments’)) {
      wp_list_comments(‘type=comment&callback=custom_comments’);
      // for WordPress 2.6.3 or lower
      } else {
      foreach ($comments as $comment) {
      if($comment->comment_type != ‘pingback’ && $comment->comment_type != ‘trackback’) {
      custom_comments($comment, null, null);
      }
      }
      }
      } else {
      ?>

    1. <?php
      }
      ?>

    The theme is the Plano-Black theme found on the wordpress.org site. Any help is greatly appreciated.

  • The topic ‘Adding BP Avatars to Comments — HELP!’ is closed to new replies.
Skip to toolbar