Uname:
Linux webm016.cluster127.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
Software:
Apache
PHP version:
7.4.33 [ PHP INFO ] PHP os:
Linux
Server Ip:
54.36.31.145
Your Ip:
216.73.216.182
User:
homesquasz (91404) | Group:
users (100)
Safe Mode:
OFF
Disable Function:
_dyuweyrj4,_dyuweyrj4r,dl
<?php
/**
* The template for displaying comments
*
* This is the template that displays the area of the page that contains both the current comments
* and the comment form.
*
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
*
* @package Cartify
*/
if ( post_password_required() ) {
return;
}
?>
<div id="comments" class="comments-area">
<?php
if ( have_comments() ) :
?>
<h2 class="comments-title">
<?php
$cartify_comment_count = get_comments_number();
if ( '1' === $cartify_comment_count ) {
printf(
esc_html__( 'One thought on “%1$s”', 'cartify' ),
'<span>' . get_the_title() . '</span>'
);
} else {
printf(
esc_html( _nx( '%1$s thought on “%2$s”', '%1$s thoughts on “%2$s”', $cartify_comment_count, 'comments title', 'cartify' ) ),
number_format_i18n( $cartify_comment_count ),
'<span>' . get_the_title() . '</span>'
);
}
?>
</h2>
<?php the_comments_navigation(); ?>
<ol class="comment-list">
<?php
wp_list_comments( array(
'style' => 'ol',
'short_ping' => true,
) );
?>
</ol>
<?php
the_comments_navigation();
if ( ! comments_open() ) :
?>
<p class="no-comments"><?php esc_html_e( 'Comments are closed.', 'cartify' ); ?></p>
<?php
endif;
endif;
comment_form();
?>
</div>