WIP
This commit is contained in:
12
config.php
12
config.php
@@ -94,16 +94,14 @@ return [
|
||||
],
|
||||
|
||||
"shortcodes" => [
|
||||
"vc_roww" => function ($attr) {
|
||||
$text = $attr["text"] ?? "";
|
||||
return "<div class='row'>".$text."</div>";
|
||||
"vc_row" => function ($attr, $content) {
|
||||
return "<div class='row'>".$content."</div>".PHP_EOL;
|
||||
},
|
||||
"vc_column" => function ($attr, $content) {
|
||||
return "<div class='col'>".$content."</div>";
|
||||
return "<div class='col'>".$content."</div>".PHP_EOL;
|
||||
},
|
||||
"vc_column_text" => function ($attr) {
|
||||
$text = $attr["text"] ?? "";
|
||||
return "<div>".$text."</div>";
|
||||
"vc_column_text" => function ($attr, $content) {
|
||||
return "<div>".$content."</div>".PHP_EOL;
|
||||
},
|
||||
"vc_single_image" => function ($attr) {
|
||||
$imageID = $attr["image"] ?? "";
|
||||
|
||||
Reference in New Issue
Block a user