diff --git a/config.php b/config.php index 40f9136..650950e 100644 --- a/config.php +++ b/config.php @@ -74,6 +74,7 @@ return [ "menus", ], + "excerpt_more_text" => "…", /** * disable 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 6c9e8f2..0bd54fb 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 @@ -34,6 +34,10 @@ class Site wp_dequeue_style('classic-theme-styles'); }, 20); + if (isset($config["excerpt_more_text"])) { + add_filter('excerpt_more', fn ($more) => ""); + } + // disable various things if (isset($this->config["disable"])) { $this->disable($this->config["disable"]);