angelovcom.net

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

singular.php (565B)


      1 <?php
      2 /**
      3  * The template for displaying single posts and pages.
      4  *
      5  * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
      6  *
      7  * @package WordPress
      8  * @subpackage Twenty_Twenty
      9  * @since Twenty Twenty 1.0
     10  */
     11 
     12 get_header();
     13 ?>
     14 
     15 <main id="site-content" role="main">
     16 
     17 	<?php
     18 
     19 	if ( have_posts() ) {
     20 
     21 		while ( have_posts() ) {
     22 			the_post();
     23 
     24 			get_template_part( 'template-parts/content', get_post_type() );
     25 		}
     26 	}
     27 
     28 	?>
     29 
     30 </main><!-- #site-content -->
     31 
     32 <?php get_template_part( 'template-parts/footer-menus-widgets' ); ?>
     33 
     34 <?php get_footer(); ?>