CoreFiles by mySites.guru
excerpt-header.php22 lines, 531 bytes, from wordpress-5.6-beta1.zip
Raw History Compare with 5.5-beta4
md5
ca16cdf3b924e38b1b4c4db45fc0fd2f
sha1
78ddd815ce636a1a8779729c75a1c7f7f1b05319
sha256
da7ae6ec9f55c6828a6af6d766a0fa90424a80b51e86635d0e6a168e644db0ef
<?php
/**
 * Displays the post header
 *
 * @package WordPress
 * @subpackage Twenty_Twenty_One
 * @since 1.0.0
 */

// Don't show the title if the post-format is `aside` or `status`.
$post_format = get_post_format();
if ( 'aside' === $post_format || 'status' === $post_format ) {
	return;
}
?>

<header class="entry-header">
	<?php
	the_title( sprintf( '<h2 class="entry-title default-max-width"><a href="%s">', esc_url( get_permalink() ) ), '</a></h2>' );
	twenty_twenty_one_post_thumbnail();
	?>
</header><!-- .entry-header -->

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