or
  • tag $comments_output .= "<" . $tag . $comment_class . $comment_id . ">"; if( $args['style'] != 'div' ) { $comments_output .= "
    "; } // if( $args['style'] != 'div' ) { // -------------------------------------- // creating the comments head part // -------------------------------------- $comments_output .= "
    "; // getting the author image avatar $comments_output .= "
    "; $comments_output .= "
    "; if( $args['avatar_size'] != 0 ) { $comments_output .= get_avatar( $comment, $args['avatar_size'] ); } // if( $args['avatar_size'] != 0 ) { $comments_output .= "
    "; $comments_output .= "
    "; // getting the author name and date $comments_output .= "
    "; // author name and link $comments_output .= ""; $comments_output .= get_comment_author_link(); $comments_output .= ""; // date and comment link $comments_output .= ""; $comments_output .= "
    "; $comments_output .= "
    "; $comments_output .= "
    "; // if the comments wasn't approve automatically we will // show message saying the comment will be approve by admin if( $comment->comment_approved == '0' ) { $comments_output .= "" . __('Your comment is pending admin approval before it will appears on the site', 'yydevelopment-basic') . ""; $comments_output .= "
    "; } // if( $comment->comment_approved == '0' ) { // creating the comment text body $comments_output .= "
    "; $comments_output .= "

    " . get_comment_text() . "
    "; // comments reply link $comments_output .= "

    "; $comments_output .= get_comment_reply_link( array_merge( $args, array( 'add_below' => $add_below, 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ); $comments_output .= "
    "; $comments_output .= "
    "; if( $args['style'] != 'div' ) { $comments_output .= "
    "; } // if( $args['style'] != 'div' ) { // -------------------------------------- // echoing the comments output to the page // -------------------------------------- echo $comments_output; } // function mytheme_comment($comment, $args, $depth) { ?>