WIP
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
return [
|
return [
|
||||||
"debug" => true,
|
"debug" => true,
|
||||||
|
"flex-file-prefix" => "flex",
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* excerpt-length
|
* excerpt-length
|
||||||
|
|||||||
0
tpl/intro_block.tpl
Normal file
0
tpl/intro_block.tpl
Normal file
@@ -72,7 +72,7 @@ class RadThemeEngine
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
$output .= site()->render($g["acf_fc_layout"], $g);
|
$output .= site()->render(site()->getFlexFilePrefix().$g["acf_fc_layout"], $g);
|
||||||
}
|
}
|
||||||
return $output;
|
return $output;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -80,6 +80,14 @@ class Site
|
|||||||
$this->processGuestAJAX();
|
$this->processGuestAJAX();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getFlexFilePrefix(): string
|
||||||
|
{
|
||||||
|
if (!isset($this->config["flex-file-prefix"])) {
|
||||||
|
return "";
|
||||||
|
}
|
||||||
|
return $this->config["flex-file-prefix"]."_";
|
||||||
|
}
|
||||||
|
|
||||||
private function processGuestAJAX()
|
private function processGuestAJAX()
|
||||||
{
|
{
|
||||||
if (!isset($this->config["guest-ajax"])) {
|
if (!isset($this->config["guest-ajax"])) {
|
||||||
|
|||||||
Reference in New Issue
Block a user