[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: comments.php
<?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://codex.wordpress.org/Template_Hierarchy * * @package Shopper */ /* * 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; } ?> <section id="comments" class="comments-area" aria-label="Post Comments"> <?php if ( have_comments() ) : ?> <h2 class="comments-title"> <?php printf( // WPCS: XSS OK. esc_html( _nx( 'One thought on “%2$s”', '%1$s thoughts on “%2$s”', get_comments_number(), 'comments title', 'shopper' ) ), number_format_i18n( get_comments_number() ), '<span>' . get_the_title() . '</span>' ); ?> </h2> <?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // Are there comments to navigate through. ?> <nav id="comment-nav-above" class="comment-navigation" role="navigation" aria-label="Comment Navigation Above"> <span class="screen-reader-text"><?php esc_html_e( 'Comment navigation', 'shopper' ); ?></span> <div class="nav-previous"><?php previous_comments_link( __( '← Older Comments', 'shopper' ) ); ?></div> <div class="nav-next"><?php next_comments_link( __( 'Newer Comments →', 'shopper' ) ); ?></div> </nav><!-- #comment-nav-above --> <?php endif; // Check for comment navigation. ?> <ol class="comment-list"> <?php wp_list_comments( array( 'style' => 'ol', 'max_depth' => '3', 'short_ping' => true, 'callback' => 'shopper_comment', ) ); ?> </ol><!-- .comment-list --> <?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // Are there comments to navigate through. ?> <nav id="comment-nav-below" class="comment-navigation" role="navigation" aria-label="Comment Navigation Below"> <span class="screen-reader-text"><?php esc_html_e( 'Comment navigation', 'shopper' ); ?></span> <div class="nav-previous"><?php previous_comments_link( __( '← Older Comments', 'shopper' ) ); ?></div> <div class="nav-next"><?php next_comments_link( __( 'Newer Comments →', 'shopper' ) ); ?></div> </nav><!-- #comment-nav-below --> <?php endif; // Check for comment navigation. endif; if ( ! comments_open() && '0' != get_comments_number() && post_type_supports( get_post_type(), 'comments' ) ) : ?> <p class="no-comments"><?php esc_html_e( 'Comments are closed.', 'shopper' ); ?></p> <?php endif; $args = apply_filters( 'shopper_comment_form_args', array( 'title_reply_before' => '<span id="reply-title" class="gamma comment-reply-title">', 'title_reply_after' => '</span>', ) ); comment_form( $args ); ?> </section><!-- #comments -->
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server05.hostinghome.co.in
Server IP: 192.168.74.40
PHP Version: 7.4.33
Server Software: Apache
System: Linux server05.hostinghome.co.in 3.10.0-962.3.2.lve1.5.81.el7.x86_64 #1 SMP Wed May 31 10:36:47 UTC 2023 x86_64
HDD Total: 1.95 TB
HDD Free: 691.84 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Disabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes
gcc:
Yes
pkexec:
No
git:
Yes
User Info
Username: itsweb
User ID (UID): 1619
Group ID (GID): 1621
Script Owner UID: 1619
Current Dir Owner: 1619