HEX
Server: Apache
System: Linux pars3.abtinweb.com 4.18.0-553.83.1.lve.el8.x86_64 #1 SMP Wed Nov 12 10:04:12 UTC 2025 x86_64
User: parsata2 (1091)
PHP: 8.2.31
Disabled: show_source, system, shell_exec, passthru, exec, popen, proc_open
Upload Files
File: /home/parsata2/.trash/Tajhiz/comments.php
<?php
if ( post_password_required() ) { return; }
?>

<section class="o-section__wrapper o-section__wrapper--comments">
  <div id="comments" class="comments-area c-comments">

    <?php if ( have_comments() ) : ?>
      <h2 class="comments-title">
        <?php
        $starter_theme_comment_count = get_comments_number();
        if ( '1' === $starter_theme_comment_count ) {
          printf(
            esc_html__( 'One thought on &ldquo;%1$s&rdquo;', 'starter-theme' ),
            '<span>' . wp_kses_post( get_the_title() ) . '</span>'
          );
        } else {
          printf(
            esc_html( _nx( '%1$s thought on &ldquo;%2$s&rdquo;', '%1$s thoughts on &ldquo;%2$s&rdquo;', $starter_theme_comment_count, 'comments title', 'starter-theme' ) ),
            number_format_i18n( $starter_theme_comment_count ),
            '<span>' . wp_kses_post( get_the_title() ) . '</span>'
          );
        }
        ?>
      </h2>

      <?php the_comments_navigation(); ?>

      <ol class="comment-list">
        <?php
        wp_list_comments([
          'style'      => 'ol',
          'short_ping' => true,
        ]);
        ?>
      </ol>

      <?php the_comments_navigation(); ?>

      <?php if ( ! comments_open() ) : ?>
        <p class="no-comments"><?php esc_html_e( 'Comments are closed.', 'starter-theme' ); ?></p>
      <?php endif; ?>
    <?php endif; ?>

    <?php comment_form(); ?>

  </div>
</section>