HEX
Server: nginx/1.29.3
System: Linux mail.sarafai.ru 6.1.0-40-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.153-1 (2025-09-20) x86_64
User: www-data (33)
PHP: 7.4.33
Disabled: dl,exec,passthru,shell_exec,system,proc_open,popen,parse_ini_file,show_source
Upload Files
File: /var/www/levasheva.ru/public/wp-content/themes/levasheva/single.php
<?php
/*
 *  The template for displaying a Blog Post.
 * 
 *
*/
get_header(); 
$sidebar = get_post_meta( get_the_ID(), 'be_themes_page_layout', true );
if( empty( $sidebar ) ) {
	$sidebar = 'right';
}
while ( have_posts() ) : the_post(); ?>
	<section id="content" class="<?php echo $sidebar; ?>-sidebar-page">
		<div id="content-wrap" class="be-wrap clearfix">
			<section id="page-content" class="content-single-sidebar">
				<div class="clearfix">
					<?php get_template_part( 'loop' ); ?>
				</div> <!--  End Page Content -->
                <?php /* ?>
				<div class="be-themes-comments">
					<?php comments_template( '', true ); ?>
				</div> <!--  End Optional Page Comments -->
                <?php */ ?>
			</section>
			<section id="<?php echo $sidebar; ?>-sidebar" class="sidebar-widgets">
				<?php get_sidebar(); ?>
			</section>
		</div>
	</section> <?php 
endwhile;
get_footer(); 
?>