HEX
Server: Apache
System: Linux p3plzcpnl503801.prod.phx3.secureserver.net 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
User: aqo14e2iyyd9 (9667755)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: /home/aqo14e2iyyd9/public_html/wp-content/themes/redlight/single.php
<?php
/**
 * The template for displaying all single posts
 *
 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/#single-post
 *
 * @package redlight
 */
$blog_column = is_active_sidebar( 'right-sidebar' ) ? 8 : 12 ;
get_header();
?>
	<div id="primary" class="content-area redlight-page-containerr redlight-blog-details">
		<main id="main" class="site-main">
		 	<div class="blog-details-area">
		 		<div class="container">
            		<div class="row custom-gutter">
						<div class="col-lg-<?php print esc_attr($blog_column); ?>">
							<?php
							while ( have_posts() ) :
								the_post();
								get_template_part( 'template-parts/content', get_post_format() );

								?>

								<?php 
								if( get_previous_post_link() AND get_next_post_link() ) : ?>

								<?php 
								endif; ?>


								<?php get_template_part( 'template-parts/biography'); ?>	


								<div class="blog-details-comment">
									<?php
									// If comments are open or we have at least one comment, load up the comment template.
									if ( comments_open() || get_comments_number() ) :
										comments_template(); 
									endif;
									?>
								</div>
							<?php 	
							endwhile; ?>
						</div>
					 	<?php if ( is_active_sidebar( 'right-sidebar' ) ) { ?>
					        <div class="col-lg-4 sidebar-blog right-side">
								<?php get_sidebar(); ?>
				            </div>
						<?php } ?>
		  			</div>
               </div>
            </div>
        </main><!-- #main -->
    </div><!-- #primary -->
<?php 
get_footer();