HEX
Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.2.34
System: Linux atalantini.com 3.10.0-1127.13.1.el7.x86_64 #1 SMP Tue Jun 23 15:46:38 UTC 2020 x86_64
User: root (0)
PHP: 7.2.34
Disabled: NONE
Upload Files
File: /var/www/html/maisonimmobiliare/wp-content/themes/maisonimmobiliare/page.php
<?php get_header(); 
$pageClass = "col-md-8";
//if (get_field("sidebar_attiva") == "NO") {
	$pageClass = "col-md-12";
//}
?>
    <section class="news-area container cwhite">
        <div class="container">
	<br>
	<div class="row">
	  <div class="<?= $pageClass ?>">
        <?php
        // Start the loop.
        while ( have_posts() ) : the_post();
 
            // Include the page content template.
            get_template_part( 'template-parts/content', 'page' );
 
            // If comments are open or we have at least one comment, load up the comment template.
            if ( comments_open() || get_comments_number() ) {
                comments_template();
            }
 
            // End of the loop.
        endwhile;
        ?>
        </div>
        <?php 
        if (get_field("sidebar_attiva") != "NO") {
	?>
        <div class="col-md-4">
	<?php 
		get_sidebar(); 
	?>
	</div>
	<?php
	}
	?>
  </div>
  <?php get_sidebar( 'content-bottom' ); ?>
</section><!-- .content-area -->

<?php get_footer(); ?>