From 80b006cbae885a7b377fd3e4ace4b1916b5b3ae4 Mon Sep 17 00:00:00 2001 From: Ren <18050944+renintw@users.noreply.github.com> Date: Fri, 6 Sep 2024 06:38:46 +0800 Subject: [PATCH] Theme: Fix the first query item doesn't display except (#2875) --- .../pub/wporg-learn-2024/patterns/archive-lessons-content.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wp-content/themes/pub/wporg-learn-2024/patterns/archive-lessons-content.php b/wp-content/themes/pub/wporg-learn-2024/patterns/archive-lessons-content.php index bc3318f5b..da4327143 100644 --- a/wp-content/themes/pub/wporg-learn-2024/patterns/archive-lessons-content.php +++ b/wp-content/themes/pub/wporg-learn-2024/patterns/archive-lessons-content.php @@ -5,6 +5,9 @@ * Inserter: no */ +// Workaround for the first lesson in the grid not having an automatic excerpt generated. +get_the_excerpt(); + ?>