This repository has been archived on 2023-08-16. You can view files and clone it, but cannot push or open issues or pull requests.
Omphaloskepsis/page.php

33 lines
583 B
PHP
Raw Permalink Normal View History

2018-03-21 18:19:20 +00:00
<?php
2021-01-23 14:41:19 +00:00
/**
* The template for displaying pages.
*
* @package Omphaloskepsis
* @since Omphaloskepsis 1.0
*/
2018-03-21 18:19:20 +00:00
?>
<?php get_header(); ?>
<main id="split-page" role="main">
2021-01-23 14:41:19 +00:00
<?php
// Start the loop.
2021-01-09 11:13:06 +00:00
while ( have_posts() ) :
the_post();
2018-03-21 18:19:20 +00:00
2021-01-09 11:13:06 +00:00
// Include the page content template.
get_template_part( 'template-parts/content', 'page' );
2018-03-21 18:19:20 +00:00
2021-01-09 11:13:06 +00:00
// If comments are open or we have at least one comment, load up the comment template.
if ( comments_open() || get_comments_number() ) {
comments_template();
}
2021-01-23 14:41:19 +00:00
// End of the loop.
endwhile;
2021-01-09 11:13:06 +00:00
?>
2018-03-21 18:19:20 +00:00
</main>
<?php get_footer(); ?>