File "comment.php"
Full Path: /var/www/bvnghean.vn/save_bvnghean.vn/wp-content/themes/publisher/views/general/comments/comment.php
File size: 1.21 KB
MIME-type: text/x-php
Charset: utf-8
<?php
/**
* comment.php
*---------------------------
* Simple comment template
*
*/
?>
<li <?php publisher_attr( 'comment', 'clearfix' ); ?>>
<article class="clearfix">
<div class="comment-avatar">
<?php echo get_avatar( $comment, 60 ); // escaped before ?>
</div><!-- .comment-avatar -->
<header class="comment-meta">
<cite <?php publisher_attr( 'comment-author' ); ?>><?php comment_author_link(); ?> <span
class="says"><?php publisher_translation_echo( 'comment_says' ); ?></span></cite>
<time <?php publisher_attr( 'comment-published' ); ?>><i
class="fa fa-calendar"></i> <?php echo sprintf( publisher_translation_get( 'readable_time_ago' ), human_time_diff( get_comment_time( 'U' ) ) ); // escaped before?>
</time>
</header><!-- .comment-meta -->
<div <?php publisher_attr( 'comment-content' ); ?>>
<?php comment_text(); ?>
</div><!-- .comment-content -->
<footer class="comment-footer clearfix">
<?php edit_comment_link( ' <i class="fa fa-edit"></i> ' . publisher_translation_get( 'comments_edit' ) ); ?>
<?php publisher_echo_comment_reply_link(); ?>
</footer><!-- .comment-footer -->
</article>
<?php /* No closing </li> is needed. */ ?>