From 7dbfede9d0c19177fd7866a0dc120eec63d149cf Mon Sep 17 00:00:00 2001 From: Alexander Bigga Date: Mon, 15 Jul 2024 18:40:16 +0200 Subject: [PATCH] Show "read-more" text again on latest post output (#659) --- template-parts/archive-event.php | 15 +-------------- template-parts/content-archive.php | 18 ++---------------- 2 files changed, 3 insertions(+), 30 deletions(-) diff --git a/template-parts/archive-event.php b/template-parts/archive-event.php index 882bfe37..d96a0d69 100644 --- a/template-parts/archive-event.php +++ b/template-parts/archive-event.php @@ -51,20 +51,7 @@
"%s"', 'sunflower' ), - array( - 'span' => array( - 'class' => array(), - ), - ) - ), - wp_kses_post( get_the_title() ) - ) - ); + the_excerpt(); ?>
diff --git a/template-parts/content-archive.php b/template-parts/content-archive.php index d482f929..82601465 100644 --- a/template-parts/content-archive.php +++ b/template-parts/content-archive.php @@ -47,21 +47,7 @@
"%s"', 'sunflower' ), - array( - 'span' => array( - 'class' => array(), - ), - ) - ), - wp_kses_post( get_the_title() ) - ) - ); - + the_excerpt(); wp_link_pages( array( 'before' => '