Support » Plugin: rtMedia for WordPress, BuddyPress and bbPress » There is no avatars on recent comments rtMedia

  • Hello,

    I use rtmedia + buddypress, when I use following standard loop for recent comments then there is only a default avatar of user is displayed. Avatar is displayed when somebody publish a comment on the blog section but it doesn’t work when somebody will comment photo.

    $args_comm = array( 'number' => 5, 'status' => 'approve' );
    $comments = get_comments($args_comm);
    foreach($comments as $comment) { 
    			echo my_get_comment_excerpt($comment->comment_ID, 22);
    			echo get_avatar($comment->comment_author_email, 30);
    					echo $comment->comment_author;
    					echo get_comment_link($comment->comment_ID);
    									$post_title = get_the_title($comment->comment_post_ID);
    											$post_title = mb_substr($post_title, 0, 40, 'utf-8');
    											$post_title = $post_title . '...';
    									echo $post_title;
Viewing 1 replies (of 1 total)
  • Plugin Contributor Bunty


    Hello @m1000,

    We have already replied you on our support forum for this query.

    Thank you.

    • This reply was modified 3 years, 11 months ago by Bunty.
Viewing 1 replies (of 1 total)
  • The topic ‘There is no avatars on recent comments rtMedia’ is closed to new replies.