<?php
/**
 * Template Name:Page with Left Sidebar
 */

get_header(); ?>

<main id="main" role="main">
    <?php do_action( 'solar_power_pageleft_header' ); ?>
        <div class="container">
            <div class="wrapper row">       
        		<div id="sidebar" class="col-lg-4 col-md-4">
        			<?php dynamic_sidebar('sidebar-2'); ?>
        		</div>		 
        		<div class="col-lg-8 col-md-8" id="main-content" >
        			<?php while ( have_posts() ) : the_post(); ?>
                        <h1><?php the_title();?></h1>
                        <?php the_post_thumbnail(); ?>
                        <div class="entry-content"><?php the_content(); ?></div>
                        <?php    
                       	if ( comments_open() || '0' != get_comments_number() )
                            	comments_template();
                        ?>
                    <?php endwhile; // end of the loop. ?>
                </div>
                <div class="clearfix"></div>    
            </div>
        </div>
    <?php do_action( 'solar_power_pageleft_footer' ); ?>
</main>

<?php get_footer(); ?>