From 955df634d1b4899008bd5900d99c02f773d76e66 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 1 May 2021 18:12:22 +0000 Subject: [PATCH] Twenty Twenty-One: Display page title as the H1 heading when a static page is selected as the "Posts page". This ensures that the heading represents the content of the page. Previously, the site title was displayed instead. Props sabernhardt, justinahinon, rianrietveld, mukesh27, francina, audrasjb, Boniu91. Fixes #52938. git-svn-id: https://develop.svn.wordpress.org/trunk@50802 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-content/themes/twentytwentyone/index.php | 8 +++++++- .../template-parts/header/site-branding.php | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/wp-content/themes/twentytwentyone/index.php b/src/wp-content/themes/twentytwentyone/index.php index 2a4b1291ac..6829eeed9f 100644 --- a/src/wp-content/themes/twentytwentyone/index.php +++ b/src/wp-content/themes/twentytwentyone/index.php @@ -14,7 +14,13 @@ * @since Twenty Twenty-One 1.0 */ -get_header(); +get_header(); ?> + + + +

- +