angelovcom.net

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

page.php (766B)


      1 <?php
      2 /**
      3  * The template for displaying all single posts
      4  *
      5  * @link https://developer.wordpress.org/themes/basics/template-hierarchy/#single-post
      6  *
      7  * @package WordPress
      8  * @subpackage Twenty_Nineteen
      9  * @since Twenty Nineteen 1.0
     10  */
     11 
     12 get_header();
     13 ?>
     14 
     15 	<div id="primary" class="content-area">
     16 		<main id="main" class="site-main">
     17 
     18 			<?php
     19 
     20 			// Start the Loop.
     21 			while ( have_posts() ) :
     22 				the_post();
     23 
     24 				get_template_part( 'template-parts/content/content', 'page' );
     25 
     26 				// If comments are open or we have at least one comment, load up the comment template.
     27 				if ( comments_open() || get_comments_number() ) {
     28 					comments_template();
     29 				}
     30 
     31 			endwhile; // End the loop.
     32 			?>
     33 
     34 		</main><!-- #main -->
     35 	</div><!-- #primary -->
     36 
     37 <?php
     38 get_footer();