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/bueno/comments.php
<?php
/**
 * @package WordPress
 * @subpackage Bueno
 */	
	// 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="nocomments"><?php _e('This post is password protected. Enter the password to view comments.', 'woothemes') ?></p>
	
	<?php return; } ?>

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

	<?php if ( have_comments() ) : ?>
		<?php if ( ! empty($comments_by_type['comment']) || ! empty($comments_by_type['pings'])  ) : ?>
		
		<div id="comments">

			<h3><?php comments_number(__('No Responses', 'woothemes'), __('One Response', 'woothemes'), __('% Responses', 'woothemes') );?> <?php _e('to', 'woothemes') ?> &#8220;<?php the_title(); ?>&#8221;</h3>

			<ol class="commentlist">
	
				<?php wp_list_comments('avatar_size=48&callback=custom_comment&type=comment'); ?>
		
			</ol>    

			<div class="navigation">
				<div class="fl"><?php previous_comments_link() ?></div>
				<div class="fr"><?php next_comments_link() ?></div>
				<div class="fix"></div>
			</div><!-- /.navigation -->
			
		</div> <!-- /#comments_wrap -->
		    
			<?php if ( ! empty($comments_by_type['pings']) ) : ?>
			
			<div id="pings">
			
				<h3><?php _e('Trackbacks/Pingbacks', 'woothemes') ?></h3>
			
				<ol class="pinglist">
					<?php wp_list_comments('type=pings&callback=list_pings'); ?>
				</ol>
				
			</div><!-- /#pings -->

			<?php endif; ?>	
    	
    	<?php endif; ?>
    	
	<?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. -->

			<div id="comments">
				
				<p><?php _e('No comments yet', 'woothemes') ?></p>
							
			</div><!-- /#comments -->			

		<?php else : // comments are closed ?>
			<?php if ( ! is_page() ) : ?>
			<!-- If comments are closed. -->
			
			<div id="comments">
			
				<p class="nocomments"><?php _e('Comments are closed.', 'woothemes') ?></p>
				
			</div><!-- /#comments -->
			<?php endif; ?>

		<?php endif; ?>

	<?php endif; ?>

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

<?php comment_form(); ?>

<?php endif; // if you delete this the sky will fall on your head ?>