CoreFiles by mySites.guru
singular.php34 lines, 565 bytes, from wordpress-5.7.21.zip
Raw History Compare with 5.7.20
md5
15e3199aa039d90b261d2965ed6bb169
sha1
09fbab7d96560176d4f46420d285de92974279c7
sha256
394dfa0031592b6aa5c61327144ad8cad2bf8f321e5db44cb557314b416a491f
<?php
/**
 * The template for displaying single posts and pages.
 *
 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
 *
 * @package WordPress
 * @subpackage Twenty_Twenty
 * @since Twenty Twenty 1.0
 */

get_header();
?>

<main id="site-content" role="main">

	<?php

	if ( have_posts() ) {

		while ( have_posts() ) {
			the_post();

			get_template_part( 'template-parts/content', get_post_type() );
		}
	}

	?>

</main><!-- #site-content -->

<?php get_template_part( 'template-parts/footer-menus-widgets' ); ?>

<?php get_footer(); ?>

The same content is in 170 releases, WordPress 5.4-beta1 to 5.8.20. See them all, or every version of this file.