Edit File by line
/home/barbar84/www/wp-conte.../themes/twentytw.../template.../header
File: excerpt-header.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Displays the post header
[2] Fix | Delete
*
[3] Fix | Delete
* @package WordPress
[4] Fix | Delete
* @subpackage Twenty_Twenty_One
[5] Fix | Delete
* @since Twenty Twenty-One 1.0
[6] Fix | Delete
*/
[7] Fix | Delete
[8] Fix | Delete
// Don't show the title if the post-format is `aside` or `status`.
[9] Fix | Delete
$post_format = get_post_format();
[10] Fix | Delete
if ( 'aside' === $post_format || 'status' === $post_format ) {
[11] Fix | Delete
return;
[12] Fix | Delete
}
[13] Fix | Delete
?>
[14] Fix | Delete
[15] Fix | Delete
<header class="entry-header">
[16] Fix | Delete
<?php
[17] Fix | Delete
the_title( sprintf( '<h2 class="entry-title default-max-width"><a href="%s">', esc_url( get_permalink() ) ), '</a></h2>' );
[18] Fix | Delete
twenty_twenty_one_post_thumbnail();
[19] Fix | Delete
?>
[20] Fix | Delete
</header><!-- .entry-header -->
[21] Fix | Delete
[22] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function