ru-se.com

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

page.php (590B)


      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_Twenty_One
      9  * @since Twenty Twenty-One 1.0
     10  */
     11 
     12 get_header();
     13 
     14 /* Start the Loop */
     15 while ( have_posts() ) :
     16 	the_post();
     17 	get_template_part( 'template-parts/content/content-page' );
     18 
     19 	// If comments are open or there is at least one comment, load up the comment template.
     20 	if ( comments_open() || get_comments_number() ) {
     21 		comments_template();
     22 	}
     23 endwhile; // End of the loop.
     24 
     25 get_footer();