From 510c9118a5c9862661c49cea2969f069193e0868 Mon Sep 17 00:00:00 2001 From: Kurtis Holsapple Date: Tue, 13 May 2025 10:46:18 -0700 Subject: [PATCH] WIP --- config.php | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) 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"] ?? "";