Server IP : 172.67.157.199 / Your IP : 18.191.108.13 [ 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/www/wp-content/themes/fdesign/ |
Upload File : |
<?php /** * The template for displaying comments * * The area of the page that contains both current comments * and the comment form. * */ if ( post_password_required() ) { return; } ?> <?php if ( have_comments() ) : ?> <h3 id="comments"> <?php $comments_number = get_comments_number(); if ( '1' === $comments_number ) { /* translators: %s: post title */ printf( _x( 'One Reply to “%s”', 'comments title', 'fdesign' ), get_the_title() ); } else { printf( /* translators: 1: number of comments, 2: post title */ _nx( '%1$s Reply to “%2$s”', '%1$s Replies to “%2$s”', $comments_number, 'comments title', 'fdesign' ), esc_html( number_format_i18n( $comments_number ) ), get_the_title() ); } ?> </h3><!-- #comments --> <ol class="commentlist"> <?php wp_list_comments( array( 'style' => 'ol', 'short_ping' => true, 'avatar_size' => 56, ) ); ?> </ol><!-- .commentlist --> <div class="comment-navigation"> <div class="alignleft"><?php previous_comments_link(); ?> </div><!-- .alignleft --> <div class="alignright"><?php next_comments_link(); ?> </div><!-- .alignright --> </div><!-- .comment-navigation --> <?php endif; // have_comments() ?> <?php // If comments are closed and there are comments, let's leave a little note, shall we? if ( ! comments_open() && get_comments_number() && post_type_supports( get_post_type(), 'comments' ) ) : ?> <p class="no-comments"><?php esc_html_e( 'Comments are closed.', 'fdesign' ); ?></p> <?php endif; ?> <?php comment_form(); ?>