From f8e684bdfeb5c0ec900cd3399bce3763e08d382f Mon Sep 17 00:00:00 2001 From: Kurtis Holsapple Date: Tue, 6 May 2025 11:22:22 -0700 Subject: [PATCH] WIP --- config.php | 1 + .../open-function-computers-llc/rad-theme-engine/src/Site.php | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/config.php b/config.php index 40f9136..650950e 100644 --- a/config.php +++ b/config.php @@ -74,6 +74,7 @@ return [ "menus", ], + "excerpt_more_text" => "…", /** * disable diff --git a/vendor/open-function-computers-llc/rad-theme-engine/src/Site.php b/vendor/open-function-computers-llc/rad-theme-engine/src/Site.php index 6c9e8f2..0bd54fb 100644 --- a/vendor/open-function-computers-llc/rad-theme-engine/src/Site.php +++ b/vendor/open-function-computers-llc/rad-theme-engine/src/Site.php @@ -34,6 +34,10 @@ class Site wp_dequeue_style('classic-theme-styles'); }, 20); + if (isset($config["excerpt_more_text"])) { + add_filter('excerpt_more', fn ($more) => ""); + } + // disable various things if (isset($this->config["disable"])) { $this->disable($this->config["disable"]);