46 lines
797 B
PHP
46 lines
797 B
PHP
|
<?php
|
||
|
/**
|
||
|
* Template Name: Full Width
|
||
|
*
|
||
|
* @link https://codex.wordpress.org/Template_Hierarchy
|
||
|
*
|
||
|
* @package themotion
|
||
|
*/
|
||
|
|
||
|
get_header();
|
||
|
?>
|
||
|
|
||
|
</div><!-- .container -->
|
||
|
|
||
|
<?php
|
||
|
themotion_page_header(); ?>
|
||
|
|
||
|
|
||
|
<div class="container">
|
||
|
|
||
|
<div class="content-wrap">
|
||
|
|
||
|
<div id="primary" class="content-area full-width">
|
||
|
<main id="main" class="site-main">
|
||
|
|
||
|
<?php
|
||
|
while ( have_posts() ) : the_post();
|
||
|
|
||
|
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();
|
||
|
endif;
|
||
|
|
||
|
endwhile; // End of the loop.
|
||
|
?>
|
||
|
|
||
|
</main><!-- #main -->
|
||
|
</div><!-- #primary -->
|
||
|
|
||
|
</div>
|
||
|
|
||
|
<?php
|
||
|
get_footer();
|