HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux WebLive 5.15.0-79-generic #86-Ubuntu SMP Mon Jul 10 16:07:21 UTC 2023 x86_64
User: ubuntu (1000)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/html/wptrinityconsulting/wp-content/themes/finbuzz/comments.php
<?php
if ( post_password_required() ) {
    return;
}
?>
<div id="comments" class="comments-area single-blog-bottom">
    <?php
		if ( have_comments() ):
		$finbuzz_comment_count = get_comments_number();
		$finbuzz_comments_text = number_format_i18n( $finbuzz_comment_count ) . ' ';
		if ( $finbuzz_comment_count > 1 && $finbuzz_comment_count != 0 ) {
			$finbuzz_comments_text .= esc_html__( 'Comments', 'finbuzz' );
		} else if ( $finbuzz_comment_count == 0 ) {
			$finbuzz_comments_text .= esc_html__( 'Comment', 'finbuzz' );
		} else {
			$finbuzz_comments_text .= esc_html__( 'Comment', 'finbuzz' );
		}
	?>
		<h4><?php echo esc_html( $finbuzz_comments_text );?></h4>
	<?php
		$finbuzz_avatar = get_option( 'show_avatars' );
	?>
		<ul class="comment-list<?php echo empty( $finbuzz_avatar ) ? ' avatar-disabled' : '';?>">
		<?php
			wp_list_comments(
				array(
					'style'             => 'ul',
					'callback'          => 'FinbuzzTheme_Helper::comments_callback',
					'reply_text'        => esc_html__( 'Reply', 'finbuzz' ),
					'avatar_size'       => 105,
					'format'            => 'html5',
					)
				);
		?>
		</ul>
		<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // Are there comments to navigate through? ?>
			<nav class="pagination-area comment-navigation">
				<ul>
					<li><?php previous_comments_link( esc_html__( 'Older Comments', 'finbuzz' ) ); ?></li>
					<li><?php next_comments_link( esc_html__( 'Newer Comments', 'finbuzz' ) ); ?></li>
				</ul>
			</nav><!-- #comment-nav-below -->
		<?php endif; // Check for comment 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.', 'finbuzz' ); ?></p>
	<?php endif;?>
	<div>
	<?php
		$finbuzz_commenter = wp_get_current_commenter();
		$finbuzz_req = get_option( 'require_name_email' );
		$finbuzz_aria_req = ( $finbuzz_req ? " required" : '' );

		$finbuzz_fields =  array(
			'author' =>
			'<div class="row"><div class="col-sm-6"><div class="form-group comment-form-author"><label>Name*</label><input type="text" id="author" name="author" value="' . esc_attr( $finbuzz_commenter['comment_author'] ) . '" placeholder="'. esc_attr__( 'Name', 'finbuzz' ).( $finbuzz_req ? ' *' : '' ).'" class="form-control"' . $finbuzz_aria_req . '></div></div>',

			'email' =>
			'<div class="col-sm-6 comment-form-email"><div class="form-group"><label>Email*</label><input id="email" name="email" type="email" value="' . esc_attr(  $finbuzz_commenter['comment_author_email'] ) . '" class="form-control" placeholder="'. esc_attr__( 'Email', 'finbuzz' ).( $finbuzz_req ? ' *' : '' ).'"' . $finbuzz_aria_req . '></div></div></div>',
			);

		$finbuzz_args = array(
			'class_submit'      => 'submit btn-send ghost-on-hover-btn',
			'submit_field'         => '<div class="form-group form-submit">%1$s %2$s</div>',
			'comment_field' =>  '<div class="form-group comment-form-comment"><textarea id="comment" name="comment" required placeholder="'.esc_attr__( 'Comment *', 'finbuzz' ).'" class="textarea form-control" rows="10" cols="40"></textarea></div>',
			'title_reply_before' => '<h4 id="reply-title" class="comment-reply-title">',
			'title_reply_after' => '</h4>',
			'fields' => apply_filters( 'comment_form_default_fields', $finbuzz_fields ),
			);

	?>
	<?php comment_form( $finbuzz_args );?>
	</div>
</div>