|
Server : Apache System : Linux s1230 5.15.0-139-generic #149~20.04.1 SMP Tue Jul 14 11:21:49 UTC 2026 x86_64 User : p141464 ( 418825) PHP Version : 7.4.33.12 Disable Function : NONE Directory : /home/www/p141464/html/wordpress-old/wp-content/themes/Evolution/includes/functions/ |
Upload File : |
<?php if ( ! function_exists( 'et_custom_comments_display' ) ) :
function et_custom_comments_display($comment, $args, $depth) {
$GLOBALS['comment'] = $comment; ?>
<li <?php comment_class(); ?> id="li-comment-<?php comment_ID() ?>">
<div id="comment-<?php comment_ID(); ?>" class="comment-body clearfix">
<div class="avatar-box">
<?php echo get_avatar($comment,$size='62'); ?>
<span class="avatar-overlay"></span>
</div> <!-- end .avatar-box -->
<div class="comment-wrap clearfix">
<div class="comment-meta commentmetadata"><?php printf('<span class="fn">%s</span>', get_comment_author_link()) ?>
<span class="comment_date">
<?php
/* translators: 1: date, 2: time */
printf( __( '%1$s at %2$s', 'Evolution' ), get_comment_date(), get_comment_time() );
?>
</span>
<?php edit_comment_link( esc_html__( '(Edit)', 'Evolution' ), ' ' ); ?>
</div><!-- .comment-meta .commentmetadata -->
<?php if ($comment->comment_approved == '0') : ?>
<em class="moderation"><?php esc_html_e('Your comment is awaiting moderation.','Evolution') ?></em>
<br />
<?php endif; ?>
<div class="comment-content"><?php comment_text() ?></div> <!-- end comment-content-->
<?php
$et_comment_reply_link = get_comment_reply_link( array_merge( $args, array('reply_text' => esc_attr__('Reply','Evolution'),'depth' => $depth, 'max_depth' => $args['max_depth'])) );
if ( $et_comment_reply_link ) echo '<div class="reply-container">' . $et_comment_reply_link . '</div>';
?>
</div> <!-- end comment-wrap -->
</div> <!-- end comment-body -->
<?php }
endif; ?>