HEX
Server: Apache
System: Linux smartwebfx.com 5.4.0-211-generic #231-Ubuntu SMP Tue Mar 11 17:06:58 UTC 2025 x86_64
User: fastshipsa (1010)
PHP: 8.3.20
Disabled: NONE
Upload Files
File: /home/fastshipsa/public_html/wp-content/themes/fastrans/comments.php
<?php
/**
 * Comments Main File.
 *
 * @package FASTRANS
 * @author  Themexriver
 * @version 1.0
 */
?>
<?php
if ( post_password_required() ) {
	return;
}
?>
<?php $count = wp_count_comments(get_the_ID()); ?>

<div class="ft-blog-comment headline">

	<?php if ( have_comments() ) : ?>
        
    <div class="comment-box post-comments" id="comments">
        
        <h3><?php $comments_number = get_comments_number();
			if ( '1' === $comments_number ) {
				/* translators: %s: post title */
				printf( _x( 'One Reply to &ldquo;%s&rdquo;', 'comments title', 'fastrans' ), get_the_title() );
			} else {
				printf(
					/* translators: 1: number of comments, 2: post title */
					_nx(
						'%1$s Reply to &ldquo;%2$s&rdquo;',
						'%1$s Replies to &ldquo;%2$s&rdquo;',
						$comments_number,
						'comments title',
						'fastrans'
					),
					number_format_i18n( $comments_number ),
					get_the_title()
				);
			} ?>
		</h3>
        <div class="ft-blog-comment-block-wrapper">
			<?php
                wp_list_comments( array(
                    'style'       => 'div',
                    'short_ping'  => true,
                    'avatar_size' => 90,
                    'callback'    => 'fastrans_list_comments',
                ) );
            ?>
        </div>		
        
        <?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : ?>
        <nav class="navigation comment-navigation" role="navigation">
            <h1 class="screen-reader-text section-heading">
                <?php esc_html_e( 'Comment navigation', 'fastrans' ); ?>
            </h1>
            <div class="nav-previous">
                <?php previous_comments_link( esc_html__( '&larr; Older Comments', 'fastrans' ) ); ?>
            </div>
            <div class="nav-next">
                <?php next_comments_link( esc_html__( 'Newer Comments &rarr;', 'fastrans' ) ); ?>
            </div>
        </nav><!-- .comment-navigation -->
        <?php endif; ?>
        
        <?php if ( ! comments_open() && get_comments_number() ) : ?>
        <p class="no-comments">
            <?php esc_html_e( 'Comments are closed.', 'fastrans' ); ?>
        </p>
        <?php endif; ?>
    
    </div>
    <?php endif; ?>
    
    <?php if(fastrans_comment_form()): ?>
        <?php fastrans_comment_form(); ?>
    <?php endif; ?>

</div>