Current Path : /storage/v11800/affypharma/public_html/wp-content/themes/amberd-online-store/ |
Linux v11800 5.3.0-1023-aws #25~18.04.1-Ubuntu SMP Fri Jun 5 15:19:18 UTC 2020 aarch64
|
Current File : /storage/v11800/affypharma/public_html/wp-content/themes/amberd-online-store/comments.php |
<?php
if ( post_password_required() ) {
return;
}
?>
<div id="comments" class="comments-area">
<?php if ( have_comments() ) : ?>
<h2 class="comments-title">
<?php
printf(
_nx(
'One thought on "%2$s"',
'%1$s thoughts on "%2$s"',
get_comments_number(),
'comments title',
'amberd-online-store'
),
number_format_i18n( get_comments_number() ),
'<span>' . esc_html(get_the_title()) . '</span>'
);
?>
</h2>
<ol class="comment-list">
<?php
wp_list_comments( array(
'style' => 'ol',
'short_ping' => true,
'avatar_size' => 74,
) );
?>
</ol>
<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : ?>
<nav class="navigation comment-navigation" role="navigation">
<h2 class="amberd-comment-navigation-title"><?php esc_html_e( 'Comment navigation', 'amberd-online-store' ); ?></h2>
<div class="amberd-comment-navigation-links">
<div class="nav-previous"><?php previous_comments_link( esc_html__( '← Older Comments', 'amberd-online-store' ) ); ?></div>
<div class="nav-next"><?php next_comments_link( esc_html__( 'Newer Comments →', 'amberd-online-store' ) ); ?></div>
</div>
</nav>
<?php endif; ?>
<?php if ( ! comments_open() && get_comments_number() ) : ?>
<p class="no-comments"><?php echo esc_html_e( 'Comments are closed.', 'amberd-online-store' ); ?></p>
<?php endif; ?>
<?php endif; ?>
<?php comment_form(); ?>
</div>