From 1646f147cf10ee6148963b657c87608f185c2997 Mon Sep 17 00:00:00 2001 From: Kurtis Holsapple Date: Tue, 13 May 2025 15:45:31 -0700 Subject: [PATCH] WIP --- .../rad-theme-engine/src/Site.php | 5 +++++ 1 file changed, 5 insertions(+) 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 0648162..af5ff13 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 @@ -544,6 +544,11 @@ class Site return in_array('logged-in', $classes) ? $classes : [$guestClass, ...$classes]; }); } + + // change excerpt langth + if (array_key_exists("excerpt-length", $this->config)) { + add_filter("excerpt-length", fn () => $this->config["excerpt-length"], 999); + } } private function registerMenuLocations()