This commit is contained in:
2025-05-07 10:02:41 -07:00
parent 85d45b6a3a
commit 4a237f7d9c
4 changed files with 10 additions and 1 deletions

View File

@@ -72,7 +72,7 @@ class RadThemeEngine
continue;
}
$output .= site()->render($g["acf_fc_layout"], $g);
$output .= site()->render(site()->getFlexFilePrefix().$g["acf_fc_layout"], $g);
}
return $output;
};

View File

@@ -80,6 +80,14 @@ class Site
$this->processGuestAJAX();
}
public function getFlexFilePrefix(): string
{
if (!isset($this->config["flex-file-prefix"])) {
return "";
}
return $this->config["flex-file-prefix"]."_";
}
private function processGuestAJAX()
{
if (!isset($this->config["guest-ajax"])) {