HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: /home/mmickelson/theflexguys.com/baronconstruct/wp-content/themes/spectrum/comments.php
<?php
/**
 * @package WordPress
 * @subpackage Spectrum
 */

// Do not delete these lines
	if ( !empty( $_SERVER[ 'SCRIPT_FILENAME' ] ) && 'comments.php' == basename( $_SERVER[ 'SCRIPT_FILENAME' ] ) )
		die ( 'Please do not load this page directly. Thanks!' );

	if ( post_password_required() ) { ?>
		<p class="alert"><?php _e( 'This post is password protected. Enter the password to view comments.', 'spectrum' ); ?></p>
	<?php
		return;
	}
?>

<!-- You can start editing here. -->

<?php if ( have_comments() ) : ?>

<div id="comment-list">
	<div class="sub-title" id="comments">
		<h4><strong><?php _e( 'Comments on:', 'spectrum' ); ?></strong> "<?php the_title(); ?>" (<?php comments_number( '0', '1', '%' ); ?>)</h4>
	</div>
	<ol class="commentlist">
		<?php wp_list_comments('avatar_size=48&callback=spectrum_comments'); ?>
	</ol>
</div>

<?php else : // this is displayed if there are no comments so far ?>

	<?php if ( comments_open() ) : ?>
		<!-- If comments are open, but there are no comments. -->

	 <?php else : // comments are closed ?>
		<!-- If comments are closed. -->
		<p class="nocomments"><?php _e( 'Comments are closed.', 'spectrum' ); ?></p>

	<?php endif; ?>
<?php endif; ?>


<?php if ( comments_open() ) : ?>

<?php comment_form(); ?>

<?php endif; ?>