Sindbad~EG File Manager

Current Path : /home/copmadinaarea/thecopmadinaarea.org/wp-content/themes/deeds/
Upload File :
Current File : /home/copmadinaarea/thecopmadinaarea.org/wp-content/themes/deeds/comments.php

<?php
/**
 * Comments Main File.
 *
 * @package deeds
 * @author  Webinane
 * @version 1.0
 */
?>
<?php
if ( post_password_required() ) {
	return;
}
?>
<?php $count = wp_count_comments(get_the_ID()); ?>
<?php if ( have_comments() ) : ?>
<div class="comment-area post-comments" id="comments">
		<?php if (deeds_set($count, 'total_comments') > 0): ?>
			<h4 class="comments-title"><?php echo deeds_set($count, 'total_comments'); ?>
				<?php if ( deeds_set($count, 'total_comments') > 1 ) : ?>
					<?php esc_html_e('Comments', 'deeds'); ?>
				<?php else : ?>
					<?php esc_html_e('Comment', 'deeds'); ?>
				<?php endif; ?>
			</h4>
			
			<ul class="comments">
				<?php
				wp_list_comments( array(
					'style'       => 'ul',
					'short_ping'  => true,
					'avatar_size' => 74,
					'callback'    => 'deeds_list_comments',
				) );
				?>
			</ul><!-- .comment-list -->
			<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : ?>
				<nav class="navigation comment-navigation" role="navigation">
					<h1 class="screen-reader-text section-heading">
						<?php esc_html_e( 'Comment navigation', 'deeds' ); ?>
					</h1>
					<div class="nav-previous">
						<?php previous_comments_link( esc_html__( '&larr; Older Comments', 'deeds' ) ); ?>
					</div>
					<div class="nav-next">
						<?php next_comments_link( esc_html__( 'Newer Comments &rarr;', 'deeds' ) ); ?>
					</div>
				</nav><!-- .comment-navigation -->
			<?php endif; ?>
		<?php endif; ?>
		<?php if ( ! comments_open() && get_comments_number() ) : ?>
			<p class="no-comments">
				<?php esc_html_e( 'Comments are closed.', 'deeds' ); ?>
			</p>
		<?php endif; ?>
	
</div>
<?php endif; ?>
<?php deeds_comment_form(); ?>

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists