arc-hive-wordpress-theme/page-templates/page-sidebar-left.php

20 lines
462 B
PHP

<?php
/*
Template Name: Left Sidebar
*/
get_header(); ?>
<?php get_template_part( 'template-parts/featured-image' ); ?>
<div class="main-container">
<div class="main-grid sidebar-left">
<main class="main-content">
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'template-parts/content', 'page' ); ?>
<?php comments_template(); ?>
<?php endwhile; ?>
</main>
<?php get_sidebar(); ?>
</div>
</div>
<?php get_footer();