HEX
Server: LiteSpeed
System: Linux s184 4.18.0-553.27.1.lve.1.el8.x86_64 #1 SMP Wed Nov 20 15:58:00 UTC 2024 x86_64
User: unirie (1147)
PHP: 7.4.33
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: /home/unirie/domains/uni.rierco.net/public_html/wp-content/themes/xtra/comments.php
<?php 

/**
 * 
 * Please note:
 * 
 * Core codes included in the functions.php file and you 
 * can find "generate_page" function inside functions.php
 * ---------
 * If you want to edit codes and also get automatic future updates, 
 * We recommend you first install both parent and child theme,
 * then activate child theme, then use WordPress or theme actions and filters
 * In this case your customization will remain on each theme or plugin updates.
 * 
 * WordPress Hooks: https://developer.wordpress.org/plugins/hooks/
 * 
 */

if ( post_password_required() ) {
	return;
}

if ( comments_open() ) {

	echo '<h3 class="cz_cm_ttl">';

		echo '<i class="fa fa-comments mr8" aria-hidden="true"></i>';

		comments_number( 
			do_shortcode( Codevz_Core_Theme::option( 'no_comment', Codevz_Core_Strings::get( 'no_comment' ) ) ), 
			'1 ' . do_shortcode( Codevz_Core_Theme::option( 'comment', Codevz_Core_Strings::get( 'comment' ) ) ), 
			'% ' . do_shortcode( Codevz_Core_Theme::option( 'comments', Codevz_Core_Strings::get( 'comments' ) )  )
		);

	echo '</h3>';

	if ( have_comments() ) {

		echo '<div id="commentlist-container">';

		echo '<ul class="commentlist">';
		wp_list_comments( [ 'avatar_size' => 40 ] );
		echo '</ul>';

		if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) {

			echo '<ul class="page-numbers">';
				echo '<li>' . wp_kses_post( previous_comments_link() ) . '</li>';
				echo '<li>' . wp_kses_post( next_comments_link() ) . '</li>';
			echo '</ul>';

		}

		echo '</div>';

	}

	comment_form();

}