HEX
Server: Apache/2.4.62 (Unix) OpenSSL/1.1.1k
System: Linux ns565604.ip-54-39-133.net 4.18.0-553.50.1.el8_10.x86_64 #1 SMP Tue Apr 15 08:09:22 EDT 2025 x86_64
User: greer489 (1034)
PHP: 8.3.19
Disabled: NONE
Upload Files
File: /home/greer489/public_html/Smart/wp-content/themes/betheme/comments.php
<?php
/**
 * The template for displaying Comments.
 *
 * @package Betheme
 * @author Muffin group
 * @link https://muffingroup.com
 */
?>

<div id="comments">
	<?php if (post_password_required()) : ?>
		<p class="nopassword"><?php esc_attr_e('This post is password protected. Enter the password to view any comments.', 'betheme'); ?></p>
		</div>
		<?php return;
	endif; ?>

	<?php if (have_comments()) : ?>
		<h4 id="comments-title">
			<?php printf( _n( '%d Comment', '%d Comments', get_comments_number(), 'betheme' ), get_comments_number() ); ?>
		</h4>

		<ol class="commentlist">
			<?php wp_list_comments('avatar_size=64'); ?>
		</ol>

		<?php if (get_comment_pages_count() > 1 && get_option('page_comments')) :?>
			<nav id="comment-nav">
				<div class="nav-previous"><?php previous_comments_link(__('&larr; Older Comments', 'betheme')); ?></div>
				<div class="nav-next"><?php next_comments_link(__('Newer Comments &rarr;', 'betheme')); ?></div>
			</nav>
		<?php endif; ?>

	<?php
		elseif (! comments_open() && ! is_page() && post_type_supports(get_post_type(), 'comments')) :
	?>
		<p class="nocomments"><?php esc_html_e('Comments are closed.', 'betheme'); ?></p>
	<?php endif; ?>

	<?php comment_form(); ?>

</div>