HEX
Server: Apache
System: Linux digivps 5.15.0-163-generic #173-Ubuntu SMP Tue Oct 14 17:51:00 UTC 2025 x86_64
User: www (1000)
PHP: 8.3.15
Disabled: passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,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_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
Upload Files
File: /www/wwwroot/healthyton.com/wp-content/themes/bimber/comments.php
<?php
/**
 * The Template Part for displaying Comments.
 *
 * @license For the full license information, please view the Licensing folder
 * that was distributed with this source code.
 *
 * @package Bimber_Theme 5.4
 */

// Prevent direct script access.
if ( ! defined( 'ABSPATH' ) ) {
	die( 'No direct script access allowed' );
}

if ( post_password_required() ) {
	return;
}
?>

<?php if ( get_comments_number() || comments_open() ) : ?>
	<section id="comments-wp" class="g1-comment-type g1-comment-type-wp comments-area" itemscope itemtype="http://schema.org/UserComments">
		<?php
		$bimber_comments_count = get_comments_number();

		// Pingbacks & Trackbacks.
		$comments_by_type = separate_comments( $comments );

		$bimber_pings_count = count( $comments_by_type['pings'] );
		?>
		<?php if ( $bimber_comments_count ) : ?>

			<?php if ( 1 === count( bimber_get_comment_types() ) ) : ?>
					<?php bimber_render_section_title( esc_html( sprintf( _n( 'One Comment', '%1$s Comments', $bimber_comments_count, 'bimber' ), number_format_i18n( $bimber_comments_count ) ) ) ); ?>
			<?php endif ?>

			<?php if ( comments_open() ) : ?>
				<a class="g1-button g1-button-s g1-button-solid g1-comment-form-anchor" href="#respond"><?php esc_html_e( 'Leave a Reply', 'bimber' ); ?></a>
			<?php endif; ?>

			<ol class="comment-list">
				<?php
				wp_list_comments( array(
					'type'     => 'comment',
					'callback' => 'bimber_wp_list_comments_callback',
				) );
				?>
			</ol>
			<?php if ( get_comment_pages_count() > 1 ) : ?>
				<nav class="g1-comment-pagination">
					<p>
						<strong><?php esc_html_e( 'Pages', 'bimber' ); ?></strong>
						<?php paginate_comments_links(); ?>
					</p>
				</nav>
			<?php endif; ?>

		<?php endif; ?>

		<?php if ( $bimber_pings_count ) : ?>

			<?php bimber_render_section_title( esc_html( sprintf( _n( 'One Ping', '%1$s Pings & Trackbacks', $bimber_pings_count, 'bimber' ), number_format_i18n( $bimber_pings_count ) ) ) ); ?>

			<ol class="comment-list">
				<?php
				wp_list_comments( array(
					'type'     => 'pings',
					'page'     => 1,
					'per_page' => $bimber_pings_count,
					'callback' => 'bimber_wp_list_comments_callback',
				) );
				?>
			</ol>
		<?php endif; ?>

		<?php
		if ( comments_open() ) :
			$section_title_args = bimber_get_section_title_args();
			$before_title = $section_title_args['before_with_class'];
			$before_title = str_replace( 'h2', 'h2 id="reply-title"', $before_title );
			$after_title = $section_title_args['after'];

			$bimber_card_style = bimber_get_theme_option( 'cards', 'single_content' );
			$bimber_class_form = array( 'comment-form' );
			if ( 'none' !== $bimber_card_style ) {
				$bimber_class_form[] = 'g1-card';
				$bimber_class_form[] = 'g1-card-' . $bimber_card_style;
				$bimber_class_form[] = 'g1-card-l';
			}
			$bimber_class_form = implode( ' ', array_map( 'sanitize_html_class', $bimber_class_form ) );

			comment_form( array(
				'title_reply_before'    => $before_title,
				'title_reply_after'     => $after_title,
				'class_form'            => $bimber_class_form,
			) );
		endif;
		?>
	</section><!-- #comments -->
<?php endif;