File "comments-ajaxified.php"

Full Path: /var/www/bvnghean.vn/save_bvnghean.vn/wp-content/themes/publisher/comments-ajaxified.php
File size: 906 bytes
MIME-type: text/x-php
Charset: utf-8

<?php
/**
 * comments-ajaxified.php
 *---------------------------
 * The template for displaying ajaxified comments.
 *
 * Content of each comment will be output with the type of comment.
 * You can view and/or edit the comment file in "views/general/comments"
 *
 */

/* If a post password is required, return. */
if ( post_password_required() ) {
	return;
}

?>
<section id="comments-template-<?php the_ID() ?>" class="comments-template ajaxified-comments-container">
	<a href="#" class="comment-ajaxified-placeholder" data-comment-post-id="<?php the_ID() ?>">
		<i class="fa fa-comments"></i> <?php

		// Comments Number
		$num_comments = get_comments_number();

		if ( $num_comments <= 0 ) {
			publisher_translation_echo( 'comment_show_comment' );
		} else {
			printf( publisher_translation_get( 'comment_show_comments' ), $num_comments );
		}

		?>
	</a>
</section>