47 lines
865 B
PHP
47 lines
865 B
PHP
<?php
|
|
/*
|
|
Template Name: Page Without Footer
|
|
*/
|
|
|
|
get_header();
|
|
?>
|
|
|
|
<div id="primary" class="content-area">
|
|
<main id="main" class="site-main">
|
|
|
|
|
|
<div class="single-page">
|
|
<?php
|
|
while ( have_posts() ) :
|
|
the_post();
|
|
?>
|
|
<div class="page-header medium-container">
|
|
<h1 class="page-title"><?= get_the_title(); ?></h1>
|
|
</div>
|
|
|
|
<div class="entry-content fullwidth-container">
|
|
<?php the_content(); ?>
|
|
</div>
|
|
|
|
<?php
|
|
// If comments are open or we have at least one comment, load up the comment template.
|
|
if ( comments_open() || get_comments_number() ) :
|
|
?>
|
|
<div class="comments-section">
|
|
<?php
|
|
comments_template();
|
|
?>
|
|
</div>
|
|
<?php
|
|
endif;
|
|
|
|
endwhile; // End of the loop.
|
|
?>
|
|
</div>
|
|
|
|
</main><!-- #main -->
|
|
</div><!-- #primary -->
|
|
|
|
<?php
|
|
get_footer('without-widgets');
|