WIP
This commit is contained in:
25
config.php
25
config.php
@@ -97,6 +97,29 @@ return [
|
|||||||
"vc_roww" => function ($attr) {
|
"vc_roww" => function ($attr) {
|
||||||
$text = $attr["text"] ?? "";
|
$text = $attr["text"] ?? "";
|
||||||
return "<div class='row'>".$text."</div>";
|
return "<div class='row'>".$text."</div>";
|
||||||
}
|
},
|
||||||
|
"vc_column" => function ($attr) {
|
||||||
|
$text = $attr["text"] ?? "";
|
||||||
|
return "<div class='col'>".$text."</div>";
|
||||||
|
},
|
||||||
|
"vc_column_text" => function ($attr) {
|
||||||
|
$text = $attr["text"] ?? "";
|
||||||
|
return "<div>".$text."</div>";
|
||||||
|
},
|
||||||
|
"vc_single_image" => function ($attr) {
|
||||||
|
$imageID = $attr["image"] ?? "";
|
||||||
|
return "<div>".$imageID."</div>";
|
||||||
|
},
|
||||||
|
"vc_empty_space" => function () {
|
||||||
|
return "";
|
||||||
|
},
|
||||||
|
"vc_raw_html" => function ($attr) {
|
||||||
|
$text = $attr["text"] ?? "";
|
||||||
|
$raw = "";
|
||||||
|
if (strlen($text) > 0) {
|
||||||
|
$raw = base64_decode($text);
|
||||||
|
}
|
||||||
|
return $raw;
|
||||||
|
},
|
||||||
]
|
]
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user