Add PHPCS config, lint files
This commit is contained in:
parent
3c30f664b8
commit
c5a41ae9ea
24 changed files with 1686 additions and 1427 deletions
38
page.php
38
page.php
|
@ -1,32 +1,32 @@
|
|||
<?php
|
||||
/**
|
||||
* The template for displaying pages.
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Omphaloskepsis
|
||||
* @since Omphaloskepsis 1.0
|
||||
*/
|
||||
* The template for displaying pages.
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Omphaloskepsis
|
||||
* @since Omphaloskepsis 1.0
|
||||
*/
|
||||
?>
|
||||
|
||||
<?php get_header(); ?>
|
||||
|
||||
<main id="split-page" role="main">
|
||||
<?php
|
||||
// Start the loop.
|
||||
while (have_posts()):
|
||||
the_post();
|
||||
|
||||
// Include the page content template.
|
||||
get_template_part('template-parts/content', 'page');
|
||||
// Start the loop.
|
||||
while ( have_posts() ) :
|
||||
the_post();
|
||||
|
||||
// If comments are open or we have at least one comment, load up the comment template.
|
||||
if (comments_open() || get_comments_number()) {
|
||||
comments_template();
|
||||
}
|
||||
// Include the page content template.
|
||||
get_template_part( 'template-parts/content', 'page' );
|
||||
|
||||
// End of the loop.
|
||||
endwhile;
|
||||
?>
|
||||
// If comments are open or we have at least one comment, load up the comment template.
|
||||
if ( comments_open() || get_comments_number() ) {
|
||||
comments_template();
|
||||
}
|
||||
|
||||
// End of the loop.
|
||||
endwhile;
|
||||
?>
|
||||
</main>
|
||||
|
||||
<?php get_footer(); ?>
|
||||
|
|
Reference in a new issue