HEX
Server: Apache/2.4.65 (Debian)
System: Linux web6 5.10.0-36-amd64 #1 SMP Debian 5.10.244-1 (2025-09-29) x86_64
User: innocamp (1028)
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: //home/youtil/.Trash/public_html-workingold/wp-content/themes/Total/comments.php
 <?php
/**
 * The template for displaying Comments.
 *
 * The area of the page that contains both current comments and the comment
 * form. The actual display of comments is handled by a callback to
 * wpex_comment() which is located at functions/comments-callback.php
 *
 * @package Total WordPress Theme
 * @subpackage Templates
 * @version 5.0
 */

defined( 'ABSPATH' ) || exit;

// Return if password is required
if ( post_password_required() ) {
	return;
}

// Return if comments are disabled and there aren't any comments
if ( ! comments_open() && get_comments_number() < 1 ) {
	return;
}

// Add classes to the comments main wrapper
$classes = 'comments-area wpex-mb-40 wpex-clr';

// Add container for full screen layout
if ( 'full-screen' == wpex_content_area_layout() ) {
	$classes .= ' container';
}

?>

<section id="comments" class="<?php echo esc_attr( $classes ); ?>">

	<?php
	// Get comments title
	$comments_number = number_format_i18n( get_comments_number() );
	if ( '1' == $comments_number ) {
		$comments_title = esc_html__( 'This Post Has One Comment', 'total' );
	} else {
		$comments_title = sprintf( esc_html__( 'This Post Has %s Comments', 'total' ), $comments_number );
	}
	$comments_title = apply_filters( 'wpex_comments_title', $comments_title );

	// Display comments heading
	wpex_heading( array(
		'tag'           => 'h4',
		'content'		=> $comments_title,
		'classes'		=> array( 'comments-title' ) ,
		'apply_filters'	=> 'comments',
	) ); ?>

	<?php if ( have_comments() ) : ?>

		<ol class="comment-list"><?php

			wp_list_comments( array(
				'style'       => 'ol',
				'avatar_size' => 50,
				'format'      => 'html5',
			) );

		?></ol>

		<?php the_comments_navigation(); ?>

		<?php
		// Display comments closed message
		if ( ! comments_open() && get_comments_number() ) : ?>

			<p class="no-comments"><?php esc_html_e( 'Comments are closed.' , 'total' ); ?></p>

		<?php endif; ?>

	<?php endif; ?>

	<?php
	// The comment form
	comment_form(); ?>

</section>