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()