From 3f8dcc4ed9c7cbd996b5360b38e4ab4e8a564727 Mon Sep 17 00:00:00 2001 From: Walker Date: Tue, 9 Apr 2019 10:36:34 -0300 Subject: [PATCH] add legend --- shortcodes/ic-enfold-vslider.php | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/shortcodes/ic-enfold-vslider.php b/shortcodes/ic-enfold-vslider.php index 1a50f27..09a7cd8 100644 --- a/shortcodes/ic-enfold-vslider.php +++ b/shortcodes/ic-enfold-vslider.php @@ -126,7 +126,15 @@ function popup_elements() "std" => __("Slide Content goes here", 'avia_framework' ) , ), ) - ), + ), + + array( + "name" => __("Legend", 'avia_framework' ), + "desc" => __("Enter the number legend", 'avia_framework' ) , + "id" => "legend", + "std" => "", + "type" => "input" + ), array( "type" => "close_div", @@ -198,6 +206,7 @@ function shortcode_handler($atts, $content = "", $shortcodename = "", $meta = "" 'custom_class' => '', 'custom_markup' => $meta['custom_markup'], 'content' => ShortcodeHelper::shortcode2array($content, 1), + 'legend' => '', 'av-desktop-hide'=>'', 'av-medium-hide'=>'', 'av-small-hide'=>'', @@ -219,6 +228,10 @@ function shortcode_handler($atts, $content = "", $shortcodename = "", $meta = "" ?>