Make WordPress Core

Ticket #52938: 52938.diff

File 52938.diff, 586 bytes (added by justinahinon, 4 years ago)

This patch adds the page header to the blog posts page

  • 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..3425342e73 100644
    a b  
    1414 * @since Twenty Twenty-One 1.0
    1515 */
    1616
    17 get_header();
     17get_header(); ?>
    1818
    19 if ( have_posts() ) {
     19<header class="page-header alignwide">
     20        <h1 class="page-title"><?php single_post_title(); ?></h1>
     21</header><!-- .page-header -->
     22
     23<?php if ( have_posts() ) {
    2024
    2125        // Load posts loop.
    2226        while ( have_posts() ) {