CoreFiles by mySites.guru
singular.php34 lines, 553 bytes, from wordpress-5.9.21.zip
Raw History Compare with 5.9.20
md5
3d8047fd7b88e499551bcf30619c9634
sha1
fa3defd9234d1ba1acc4b1aace2e51825a692eb8
sha256
b174514f18e1cb6d60a0cbc4de93a3d280e97a768394ea875cae876536e598e7
<?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">

	<?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 62 releases, WordPress 5.9-beta1 to 6.0.19. See them all, or every version of this file.