<?php

/**
*
* Custom comment template
* Show comments template on posts
*
*/

if( ! function_exists( 'luxuryconceptfree_comments' ) ):
function luxuryconceptfree_comments($comment, $args, $depth) { ?>

   <li <?php comment_class('comment'); ?> id="li-comment-<?php comment_ID() ?>">

        <div class="comment-thumbnail">
            <div class="container-thumbnail"><?php echo get_avatar($comment,$size='64'); ?></div>
        </div>
        <div class="comment-block">
            <div class="comment-arrow"></div>
                <?php if ($comment->comment_approved == '0') : ?>
                    <em><?php esc_html_e('Your comment is awaiting moderation.','luxuryconceptfree') ?></em>
                    <br /><br />
                <?php endif; ?>
                <div class="comment-meta">
                    <div class="comment-author"><?php echo get_comment_author_link(); ?><span class="bypostauthor-label"></span></div>
                    <div class="comment-reply comment-edit">
						
					    <span><?php edit_comment_link('<i class="icon-edit"></i>&hairsp;');?></span><span class="comment-edit-link-text"><?php edit_comment_link(); ?></span> 
					    <span><?php comment_reply_link(array_merge( $args, array('depth' => $depth, 'max_depth' => $args['max_depth'], 'reply_text' => '<i class="icon-reply"></i>&hairsp;'))) ?></span><span class="comment-reply-link-text"><?php comment_reply_link(array_merge( $args, array('depth' => $depth, 'max_depth' => $args['max_depth']))) ?></span>
                       
					</div>
                </div>
            <div class="comment-text"> <?php comment_text() ?></div>
            <div class="comment-datetime"><?php printf(/* translators: 1: date and time(s). */ esc_html__( '%1$s - %2$s' , 'luxuryconceptfree'), esc_attr( get_comment_date() ),  esc_attr( get_comment_time() ) ) ?></div>
        </div>

	</li>
<?php
        }
endif;