Server IP : 104.21.14.48 / Your IP : 18.188.181.248 [ Web Server : Apache System : Linux b70eb322-3aee-0c53-7c82-0db91281f2c6.secureserver.net 6.1.90-1.el9.elrepo.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 2 12:09:22 EDT 2024 x86_64 User : root ( 0) PHP Version : 8.0.30.2 Disable Function : NONE Domains : 0 Domains MySQL : ON | cURL : ON | WGET : ON | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/chroot/var/www/wp-content/themes/sammy/ |
Upload File : |
<?php if (post_password_required()) return; ?> <div id="comments" class="comments"> <?php if(have_comments()): ?> <h3 class="title-comments"> <?php $comments_number = get_comments_number(); if ( '1' === $comments_number ) { printf( esc_html_x( 'One Comment', 'comments title', 'podover' ) ); } else { printf( esc_html( /* translators: 1: number of comments */ _nx( '%1$s Comment', '%1$s Comments', $comments_number, 'comments title', 'podover' ) ), esc_html( number_format_i18n( $comments_number ) ) ); } ?> </h3> <?php the_comments_navigation(); ?> <ul class="comment-lists"> <?php wp_list_comments( array( 'style' => 'ul', 'short_ping' => true, 'avatar_size' => 42, 'callback' => function($comment, $args, $depth){ include get_theme_file_path('template-parts/parts/comment.php'); }, ) ); ?> </ul> <?php the_comments_navigation(); ?> <?php endif; ?> <?php if ( ! comments_open() && get_comments_number() && post_type_supports( get_post_type(), 'comments' ) ) : ?> <p class="no-comments"> <?php esc_html_e( 'Comments are closed.', 'podover' ); ?> </p> <?php endif; ?> <?php comment_form( array( 'title_reply_before' => '<h3 id="reply-title" class="comment-reply-title">', 'title_reply_after' => '</h3>', ) ); ?> </div><!-- end comments -->