WordPress.org

Make WordPress Core

Ticket #52938: 52938-1.diff

File 52938-1.diff, 569 bytes (added by justinahinon, 6 months ago)
  • src/wp-content/themes/twentytwentyone/index.php

    diff --git a/src/wp-content/themes/twentytwentyone/index.php b/src/wp-content/themes/twentytwentyone/index.php
    index 2a4b1291ac..9143dea442 100644
    a b  
    1414 * @since Twenty Twenty-One 1.0
    1515 */
    1616
    17 get_header();
     17get_header(); ?>
     18
     19<?php if ( is_home() && !is_front_page() ) { ?>
     20        <header class="page-header alignwide">
     21                <h1 class="page-title"><?php single_post_title(); ?></h1>
     22        </header><!-- .page-header -->
     23<?php }
    1824
    1925if ( have_posts() ) {
    2026