File: /home/slyfwmm/studiomilighetti/wp-content/themes/domik/page-leftsidebar.php
<?php
/* banner-php */
/**
* Template Name: Page Left Sidebar
*/
$sb_w = domik_get_option('blog-sidebar-width') ? domik_get_option('blog-sidebar-width') : 3;
get_header();
get_header('inner');
?>
<?php domik_inner_head_page_single(); ?>
<div class="domik_container domik-page">
<section>
<div class="row">
<div class="col-md-<?php echo esc_attr($sb_w );?> page-sidebar-column sidebar-left">
<div class="blog-sidebar">
<?php get_sidebar( 'page' ); ?>
</div>
</div>
<div class="col-md-<?php echo (12 - $sb_w);?> hassidebar page-content-column">
<?php if(have_posts()) :
?>
<?php while(have_posts()) : the_post(); ?>
<?php get_template_part( 'template-parts/post/content', 'page'); ?>
<?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;
?>
<?php endwhile; ?>
<?php endif; ?>
</div>
</div>
</section>
</div>
<?php
get_footer('inner');
get_footer();
?>