diff --git a/config.php b/config.php index ef195a6..3738f5c 100644 --- a/config.php +++ b/config.php @@ -94,16 +94,14 @@ return [ ], "shortcodes" => [ - "vc_roww" => function ($attr) { - $text = $attr["text"] ?? ""; - return "
".$text."
"; + "vc_row" => function ($attr, $content) { + return "
".$content."
".PHP_EOL; }, "vc_column" => function ($attr, $content) { - return "
".$content."
"; + return "
".$content."
".PHP_EOL; }, - "vc_column_text" => function ($attr) { - $text = $attr["text"] ?? ""; - return "
".$text."
"; + "vc_column_text" => function ($attr, $content) { + return "
".$content."
".PHP_EOL; }, "vc_single_image" => function ($attr) { $imageID = $attr["image"] ?? "";