Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/hessa.corals.io/wp-content/themes/mauer-essentialist/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/hessa.corals.io/wp-content/themes/mauer-essentialist/comments.php
<?php
/*
 * Comments and Comment form template
 */

/*
 * 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
	if (!have_comments() && !comments_open()) {$class_to_add = " empty-comments-area";} else {$class_to_add = "";}
?>

<div id="comments" class="comments-area<?php echo esc_html($class_to_add); ?>">

	<?php if ( have_comments() ) : ?>
		<h2 class="comments-title">
			<?php echo esc_html__('تعليقات', 'mauer-essentialist') . " (" . number_format_i18n( get_comments_number() ) . "):"; ?>
		</h2>

		<ol class="commentlist">
			<?php wp_list_comments('callback=mauer_essentialist_comments'); ?>
		</ol><!-- .commentlist -->

		<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // are there comments to navigate through ?>
		<nav id="comment-nav-below" class="navigation" role="navigation">
			<div class="nav-previous"><?php previous_comments_link( '&larr; ' .  esc_html__('Older Comments', 'mauer-essentialist' ) ); ?></div>
			<div class="nav-next"><?php next_comments_link( esc_html__( 'Newer Comments', 'mauer-essentialist' )  . ' &rarr;' ); ?></div>
		</nav>
		<?php endif; // check for comment navigation ?>

		<?php
		/* If there are no comments and comments are closed, let's leave a note.
		 * But we only want the note on posts and pages that had comments in the first place.
		 */
		if ( ! comments_open() && get_comments_number() ) : ?>
			<p class="nocomments"><?php esc_html_e( 'Comments are closed' , 'mauer-essentialist' ); ?>.</p>
		<?php endif; ?>

	<?php endif; // have_comments() ?>


	<?php if ( class_exists( 'Jetpack' ) && in_array( 'sharedaddy', Jetpack::get_active_modules()) ) {$sharedaddy_active = true;} else {$sharedaddy_active = false;} ?>
	<?php if ( !$sharedaddy_active && !get_the_tags() && comments_open(get_the_id()) ) : ?>
		<div class="entry-content-special-separator type-2"></div>
	<?php endif ?>
	
	<?php 
	    $replace_comment = 'التعليق';
	comment_form([
    'title_reply' => 'اكتب تعليقاً',
	'comment_field' => '<p class="comment-form-comment"><textarea required="" placeholder="التعليق*" id="comment" name="comment" cols="25" rows="4" aria-required="true" style="overflow: hidden; overflow-wrap: break-word; resize: horizontal; height: 139px;" class=""></textarea></p>'
]
); ?>

</div><!-- #comments .comments-area -->

Spamworldpro Mini