diff --git a/config.php b/config.php index 81db53a..c9ed4d9 100644 --- a/config.php +++ b/config.php @@ -13,7 +13,7 @@ return [ * * how many words should the wordpress excerpt be */ - "excerpt-length" => 50, + "excerpt-length" => 60, /** 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 af5ff13..376ce13 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 @@ -547,7 +547,7 @@ class Site // change excerpt langth if (array_key_exists("excerpt-length", $this->config)) { - add_filter("excerpt-length", fn () => $this->config["excerpt-length"], 999); + add_filter("excerpt-length", fn () => (int) $this->config["excerpt-length"], 999); } }