This commit is contained in:
2025-05-13 15:45:31 -07:00
parent 0fd117fd15
commit 1646f147cf

View File

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