| Server IP : 88.99.149.37 / Your IP : 216.73.216.141 Web Server : nginx/1.31.2 System : Linux server-88-99-149-37 6.12.0-124.56.5.el10_1.x86_64 #1 SMP PREEMPT_DYNAMIC Fri May 15 06:12:08 EDT 2026 x86_64 User : muralimurth ( 1015) PHP Version : 8.4.23 Disable Function : 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 MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /proc/self/cwd/wp-content/themes/webion/ |
Upload File : |
<?php
/**
* The template for displaying comments
*
* This is the template that displays the area of the page that contains both the current comments
* and the comment form.
*
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
*
* @package Webion
*/
/*
* If the current post is protected by a password and
* the visitor has not yet entered the password we will
* return early without loading the comments.
*/
if ( post_password_required() ) {
return;
}
?>
<?php do_action( 'webion-theme/comments/comments-area-before' ); ?>
<div id="comments" class="comments-area"><?php
// You can start editing here -- including this comment!
if ( have_comments() ) : ?>
<?php do_action( 'webion-theme/comments/title-before' ); ?>
<h2 class="comments-title">
<?php
printf( // WPCS: XSS OK.
esc_html( _nx( 'One Comment', '%1$s Comments', get_comments_number(), 'comments title', 'webion' ) ),
number_format_i18n( get_comments_number() )
);
?>
</h2><!-- .comments-title -->
<?php do_action( 'webion-theme/comments/comment-list-before' ); ?>
<ol class="comment-list">
<?php
wp_list_comments( array(
'style' => 'ol',
'avatar_size' => 100,
'short_ping' => true,
'callback' => 'webion_rewrite_comment_item',
) );
?>
</ol><!-- .comment-list -->
<?php do_action( 'webion-theme/comments/comments-navigation-before' ); ?>
<?php the_comments_navigation();
// If comments are closed and there are comments, let's leave a little note, shall we?
if ( ! comments_open() ) : ?>
<p class="no-comments"><?php esc_html_e( 'Comments are closed.', 'webion' ); ?></p>
<?php
endif;
endif; // Check for have_comments().
do_action( 'webion-theme/comments/comment-form-before' );
comment_form();
?></div><!-- #comments -->
<?php do_action( 'webion-theme/comments/comments-area-after' ); ?>