This commit is contained in:
2025-05-13 15:46:37 -07:00
parent 1646f147cf
commit b4e2d28290
2 changed files with 2 additions and 2 deletions

View File

@@ -13,7 +13,7 @@ return [
* *
* how many words should the wordpress excerpt be * how many words should the wordpress excerpt be
*/ */
"excerpt-length" => 50, "excerpt-length" => 60,
/** /**

View File

@@ -547,7 +547,7 @@ class Site
// change excerpt langth // change excerpt langth
if (array_key_exists("excerpt-length", $this->config)) { 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);
} }
} }