From e2ca673b546f06fe94159ff52a648c15bce30fbb Mon Sep 17 00:00:00 2001 From: ren <18050944+renintw@users.noreply.github.com> Date: Tue, 20 Feb 2024 03:44:30 +0900 Subject: [PATCH 1/4] Move article-meta pattern above chapter-list. --- .../themes/wporg-developer-2023/src/chapter-list/block.php | 3 ++- .../themes/wporg-developer-2023/templates/single-handbook.html | 3 --- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/source/wp-content/themes/wporg-developer-2023/src/chapter-list/block.php b/source/wp-content/themes/wporg-developer-2023/src/chapter-list/block.php index b546790c5..69d0b9f46 100644 --- a/source/wp-content/themes/wporg-developer-2023/src/chapter-list/block.php +++ b/source/wp-content/themes/wporg-developer-2023/src/chapter-list/block.php @@ -70,8 +70,9 @@ function render( $attributes, $content, $block ) { $wrapper_attributes = get_block_wrapper_attributes(); return sprintf( - '', + '', $wrapper_attributes, + do_blocks( '' ), $header, $content ); diff --git a/source/wp-content/themes/wporg-developer-2023/templates/single-handbook.html b/source/wp-content/themes/wporg-developer-2023/templates/single-handbook.html index e285f8075..fecbfd28c 100644 --- a/source/wp-content/themes/wporg-developer-2023/templates/single-handbook.html +++ b/source/wp-content/themes/wporg-developer-2023/templates/single-handbook.html @@ -19,8 +19,6 @@ - - @@ -30,7 +28,6 @@ - From e7bf549709f0d774792d18a5df5652b744101067 Mon Sep 17 00:00:00 2001 From: ren <18050944+renintw@users.noreply.github.com> Date: Tue, 20 Feb 2024 03:54:16 +0900 Subject: [PATCH 2/4] Adjust article-meta styles. --- .../themes/wporg-developer-2023/patterns/article-meta.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/wp-content/themes/wporg-developer-2023/patterns/article-meta.php b/source/wp-content/themes/wporg-developer-2023/patterns/article-meta.php index f02b2c2b7..f7cb6cc05 100644 --- a/source/wp-content/themes/wporg-developer-2023/patterns/article-meta.php +++ b/source/wp-content/themes/wporg-developer-2023/patterns/article-meta.php @@ -7,8 +7,8 @@ ?> - -
+ +
From 8a1e90b09ff3e60df2c772c880f22d61b9c280be Mon Sep 17 00:00:00 2001 From: ren <18050944+renintw@users.noreply.github.com> Date: Tue, 20 Feb 2024 04:22:20 +0900 Subject: [PATCH 3/4] Adjust chapter-list styles. --- .../themes/wporg-developer-2023/patterns/article-meta.php | 2 +- .../themes/wporg-developer-2023/src/chapter-list/style.scss | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/source/wp-content/themes/wporg-developer-2023/patterns/article-meta.php b/source/wp-content/themes/wporg-developer-2023/patterns/article-meta.php index f7cb6cc05..c33921a0c 100644 --- a/source/wp-content/themes/wporg-developer-2023/patterns/article-meta.php +++ b/source/wp-content/themes/wporg-developer-2023/patterns/article-meta.php @@ -7,7 +7,7 @@ ?> - +