CoreFiles by mySites.guru
singular.php34 lines, 553 bytes, from wordpress-5.3.21.zip
Raw History Compare with 5.3.20
md5
5b4cd9cb93db831c1fdef0b9b211fd24
sha1
e09fc25cd2e9e40728734096a6b5366ec5d0d811
sha256
6ae723f37a3daff7f8cc02cd404c52ef7b22a8e245ac7ea2ec5820c1ab5631f4
<?php
/**
 * The template for displaying single posts and pages.
 *
 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
 *
 * @package WordPress
 * @subpackage Twenty_Twenty
 * @since 1.0.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 38 releases, WordPress 5.3-beta3 to 5.3.28. See them all, or every version of this file.