PK œqhYî¶J‚ßFßF)nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/ $#$#$#

Dir : /home/trave494/elintscleaningservices.co.uk/wp-content/themes/porto/
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
IP: 209.182.202.254
Choose File :

Url:
Dir : /home/trave494/elintscleaningservices.co.uk/wp-content/themes/porto/comments.php

<?php

global $porto_settings;

defined( 'ABSPATH' ) || exit;

if ( post_password_required() ) : ?>
	<p class="no-comments"><?php esc_html_e( 'This post is password protected. Enter the password to view comments.', 'porto' ); ?></p>
	<?php
	return;
endif;

if ( have_comments() ) :
	?>
	<div class="post-block post-comments clearfix" id="comments">
		<?php if ( isset( $porto_settings['post-title-style'] ) && 'without-icon' == $porto_settings['post-title-style'] ) : ?>
			<h4>
			<?php
				printf(
					_nx( 'Comment (1)', 'Comments (%1$s)', get_comments_number(), 'comments title', 'porto' ),
					number_format_i18n( get_comments_number() ),
					'<span>' . get_the_title() . '</span>'
				);
			?>
			</h4>
		<?php else : ?>
			<h3><i class="far fa-comments"></i>
			<?php
				printf(
					_nx( 'Comment (1)', 'Comments (%1$s)', get_comments_number(), 'comments title', 'porto' ),
					number_format_i18n( get_comments_number() ),
					'<span>' . get_the_title() . '</span>'
				);
			?>
			</h3>
		<?php endif; ?>

		<ul class="comments">
			<?php
				// Comments list
				wp_list_comments(
					array(
						'short_ping'  => true,
						'avatar_size' => 80,
						'callback'    => 'porto_comment',
					)
				);
			?>
		</ul>

		<?php
		// Are there comments to navigate through?
		if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) :
			?>
			<div class="clearfix">
				<div class="pagination" role="navigation">
					<?php paginate_comments_links(); ?>
				</div>
			</div>
		<?php endif; // Check for comment navigation ?>

		<?php if ( ! comments_open() && get_comments_number() ) : ?>
			<p class="no-comments"><?php esc_html_e( 'Comments are closed.', 'porto' ); ?></p>
		<?php endif; ?>
	</div>
<?php endif; // have_comments() ?>

<?php comment_form(); ?>