<?php
/**
 * Template Name: Left &amp; Right Sidebar
 *
 * The template for displaying a full width page
 *
 * @package Layers
 * @since Layers 1.0.0
 */

get_header(); ?>

<div id="post-<?php the_ID(); ?>" <?php post_class( 'container content-main clearfix' ); ?>>
    <div class="grid">

        <?php get_sidebar( 'left' ); ?>

        <?php if( have_posts() ) : ?>

            <?php while( have_posts() ) : the_post(); ?>
                <article <?php layers_center_column_class(); ?>>
                    <?php get_template_part( 'partials/content', 'single' ); ?>
                </article>
            <?php endwhile; // while has_post(); ?>

        <?php endif; // if has_post() ?>

        <?php get_sidebar( 'right' ); ?>
    </div>
</div>

<?php get_footer();