Exemple #1
0
 function venedor_vc_shortcode_bootstrap()
 {
     $animation_type = venedor_vc_animation_type();
     $animation_duration = venedor_vc_animation_duration();
     $animation_delay = venedor_vc_animation_delay();
     $custom_class = venedor_vc_custom_class();
     // Row / Column
     $vc_icon = venedor_vc_icon() . 'bs_columns.png';
     vc_map(array("name" => "Row", "base" => "row", "category" => "Venedor", "icon" => $vc_icon, 'is_container' => true, 'js_view' => 'VcColumnView', "as_parent" => array('only' => 'column'), "params" => array($custom_class)));
     $vc_icon = venedor_vc_icon() . 'bs_columns.png';
     vc_map(array("name" => "Column", "base" => "column", "category" => "Venedor", "icon" => $vc_icon, 'is_container' => true, 'js_view' => 'VcColumnView', "as_child" => array('only' => 'row'), "params" => array(array("type" => "label", "heading" => "Large Screen (window width >= 1200)", "param_name" => "label"), array("type" => "yes_no", "heading" => "Hide", "param_name" => "lghide", "value" => "no"), array("type" => "textfield", "heading" => "Columns", "param_name" => "lg", "value" => "12", "admin_label" => true), array("type" => "yes_no", "heading" => "Clear Left", "param_name" => "lgclear", "value" => "no"), array("type" => "textfield", "heading" => "Offset", "param_name" => "lgoffset", "value" => "0", "admin_label" => true), array("type" => "label", "heading" => "Medium Screen (992 <= window width < 1200)", "param_name" => "label"), array("type" => "yes_no", "heading" => "Hide", "param_name" => "mdhide", "value" => "no"), array("type" => "textfield", "heading" => "Columns", "param_name" => "md", "value" => "12", "admin_label" => true), array("type" => "yes_no", "heading" => "Clear Left", "param_name" => "mdclear", "value" => "no"), array("type" => "textfield", "heading" => "Offset", "param_name" => "mdoffset", "value" => "0", "admin_label" => true), array("type" => "label", "heading" => "Small Screen (768 <= window width < 991)", "param_name" => "label"), array("type" => "yes_no", "heading" => "Hide", "param_name" => "smhide", "value" => "no"), array("type" => "textfield", "heading" => "Columns", "param_name" => "sm", "value" => "12", "admin_label" => true), array("type" => "yes_no", "heading" => "Clear Left", "param_name" => "smclear", "value" => "no"), array("type" => "textfield", "heading" => "Offset", "param_name" => "smoffset", "value" => "0", "admin_label" => true), array("type" => "label", "heading" => "X-small Screen (480 <= window width < 768)", "param_name" => "label"), array("type" => "yes_no", "heading" => "Hide", "param_name" => "xshide", "value" => "no"), array("type" => "textfield", "heading" => "Columns", "param_name" => "xs", "value" => "12", "admin_label" => true), array("type" => "yes_no", "heading" => "Clear Left", "param_name" => "xsclear", "value" => "no"), array("type" => "textfield", "heading" => "Offset", "param_name" => "xsoffset", "value" => "0", "admin_label" => true))));
     if (class_exists('WPBakeryShortCodesContainer')) {
         class WPBakeryShortCode_Row extends WPBakeryShortCodesContainer
         {
         }
         class WPBakeryShortCode_Column extends WPBakeryShortCodesContainer
         {
         }
     }
     // Toggles/Accordion
     $vc_icon = venedor_vc_icon() . 'bs_toggles.png';
     vc_map(array("name" => "Toggles/Accordions", "base" => "toggles", "category" => "Venedor", "icon" => $vc_icon, 'is_container' => true, 'js_view' => 'VcColumnView', "as_parent" => array('only' => 'toggle'), "params" => array($custom_class)));
     $vc_icon = venedor_vc_icon() . 'bs_toggles.png';
     vc_map(array("name" => "Toggle/Accordion", "base" => "toggle", "category" => "Venedor", "icon" => $vc_icon, 'is_container' => true, 'js_view' => 'VcColumnView', "as_child" => array('only' => 'toggles'), "params" => array(array("type" => "textfield", "heading" => "Title", "param_name" => "title", "admin_label" => true), $custom_class)));
     if (class_exists('WPBakeryShortCodesContainer')) {
         class WPBakeryShortCode_Toggles extends WPBakeryShortCodesContainer
         {
         }
         class WPBakeryShortCode_Toggle extends WPBakeryShortCodesContainer
         {
         }
     }
     // Tabs
     $vc_icon = venedor_vc_icon() . 'bs_tabs.png';
     vc_map(array("name" => "Tabs", "base" => "tabs", "category" => "Venedor", "icon" => $vc_icon, 'is_container' => true, 'js_view' => 'VcColumnView', "as_parent" => array('only' => 'tab'), "params" => array($custom_class)));
     $vc_icon = venedor_vc_icon() . 'bs_tabs.png';
     vc_map(array("name" => "Tab", "base" => "tab", "category" => "Venedor", "icon" => $vc_icon, 'is_container' => true, 'js_view' => 'VcColumnView', "as_child" => array('only' => 'toggles'), "params" => array(array("type" => "textfield", "heading" => "Title", "param_name" => "title", "admin_label" => true), array('type' => 'dropdown', 'heading' => "Active", 'param_name' => 'active', 'value' => array("" => '', "Active" => "active"), "admin_label" => true))));
     if (class_exists('WPBakeryShortCodesContainer')) {
         class WPBakeryShortCode_Tabs extends WPBakeryShortCodesContainer
         {
         }
         class WPBakeryShortCode_Tab extends WPBakeryShortCodesContainer
         {
         }
     }
     // Progressbar
     $vc_icon = venedor_vc_icon() . 'bs_progressbar.png';
     vc_map(array("name" => "Progress Bar", "base" => "progressbar", "category" => "Venedor", "icon" => $vc_icon, "params" => array(array('type' => 'dropdown', 'heading' => "Bar Type", 'param_name' => 'bartype', 'value' => array("" => "", "Success" => "progress-bar-success", "Info" => "progress-bar-info", "Warning" => "progress-bar-warning", "Danger" => "progress-bar-danger")), array('type' => 'textfield', 'heading' => "Label", 'param_name' => 'label', "admin_label" => true), array("type" => "textfield", "heading" => "Value", "param_name" => "value", "value" => "50", "admin_label" => true), array('type' => 'dropdown', 'heading' => "Bar Style", 'param_name' => 'barstyle', 'value' => array("" => "", "Striped" => "progress-striped", "Striped and Active" => "progress-striped active")), $custom_class)));
     if (class_exists('WPBakeryShortCodes')) {
         class WPBakeryShortCode_Progressbar extends WPBakeryShortCodes
         {
         }
     }
 }
Exemple #2
0
 function venedor_vc_shortcode_container()
 {
     $vc_icon = venedor_vc_icon() . 'container.png';
     $animation_type = venedor_vc_animation_type();
     $animation_duration = venedor_vc_animation_duration();
     $animation_delay = venedor_vc_animation_delay();
     $custom_class = venedor_vc_custom_class();
     vc_map(array("name" => "Container", "base" => "container", "category" => "Venedor", "icon" => $vc_icon, 'is_container' => true, "show_settings_on_create" => false, 'js_view' => 'VcColumnView', "params" => array($animation_type, $animation_duration, $animation_delay, $custom_class)));
     if (class_exists('WPBakeryShortCodesContainer')) {
         class WPBakeryShortCode_Container extends WPBakeryShortCodesContainer
         {
         }
     }
 }
Exemple #3
0
 function venedor_vc_shortcode_fontawesome()
 {
     $vc_icon = venedor_vc_icon() . 'fontawesome.png';
     $animation_type = venedor_vc_animation_type();
     $animation_duration = venedor_vc_animation_duration();
     $animation_delay = venedor_vc_animation_delay();
     $custom_class = venedor_vc_custom_class();
     vc_map(array("name" => "Fontawesome Icon", "base" => "fontawesome", "category" => "Venedor", "icon" => $vc_icon, "params" => array(array("type" => "fontawesome_icon", "heading" => "Icon Name", "param_name" => "icon", "admin_label" => true), array("type" => "fontawesome_size", "heading" => "Icon Size", "param_name" => "size"), array("type" => "textfield", "heading" => "Icon Font Size", "param_name" => "fontsize"), array("type" => "colorpicker", "heading" => "Icon Color", "param_name" => "color"), $animation_type, $animation_duration, $animation_delay, $custom_class)));
     if (class_exists('WPBakeryShortCodes')) {
         class WPBakeryShortCode_Fontawesome extends WPBakeryShortCodes
         {
         }
     }
 }
Exemple #4
0
 function venedor_vc_shortcode_content_box()
 {
     $vc_icon = venedor_vc_icon() . 'content_box.png';
     $animation_type = venedor_vc_animation_type();
     $animation_duration = venedor_vc_animation_duration();
     $animation_delay = venedor_vc_animation_delay();
     $custom_class = venedor_vc_custom_class();
     vc_map(array("name" => "Content Box", "base" => "content_box", "category" => "Venedor", "icon" => $vc_icon, 'is_container' => true, 'js_view' => 'VcColumnView', "params" => array(array("type" => "textfield", "heading" => "Title", "param_name" => "title", "admin_label" => true), array("type" => "textarea", "heading" => "Description", "param_name" => "desc"), $animation_type, $animation_duration, $animation_delay, $custom_class)));
     if (class_exists('WPBakeryShortCodesContainer')) {
         class WPBakeryShortCode_Content_Box extends WPBakeryShortCodesContainer
         {
         }
     }
 }
Exemple #5
0
 function venedor_vc_shortcode_block()
 {
     $vc_icon = venedor_vc_icon() . 'block.png';
     $animation_type = venedor_vc_animation_type();
     $animation_duration = venedor_vc_animation_duration();
     $animation_delay = venedor_vc_animation_delay();
     $custom_class = venedor_vc_custom_class();
     vc_map(array("name" => "Block", "base" => "block", "category" => "Venedor", "icon" => $vc_icon, "params" => array(array("type" => "label", "heading" => "Input block id & name", "param_name" => "label"), array("type" => "textfield", "heading" => "Block ID", "param_name" => "id", "admin_label" => true), array("type" => "textfield", "heading" => "Block Name", "param_name" => "name", "admin_label" => true), $animation_type, $animation_duration, $animation_delay, $custom_class)));
     if (class_exists('WPBakeryShortCodes')) {
         class WPBakeryShortCode_Block extends WPBakeryShortCodes
         {
         }
     }
 }
Exemple #6
0
 function venedor_vc_shortcode_google_map()
 {
     $vc_icon = venedor_vc_icon() . 'google_map.png';
     $animation_type = venedor_vc_animation_type();
     $animation_duration = venedor_vc_animation_duration();
     $animation_delay = venedor_vc_animation_delay();
     $custom_class = venedor_vc_custom_class();
     vc_map(array("name" => "Google Map", "base" => "map", "category" => "Venedor", "icon" => $vc_icon, "params" => array(array("type" => "textarea", "heading" => "Address", "param_name" => "address", "description" => '"|" separated list of google map addresses.', "admin_label" => true), array("type" => "gmap_type", "heading" => "Type", "param_name" => "type", "admin_label" => true), array("type" => "textfield", "heading" => "Width", "param_name" => "width", "value" => "100%"), array("type" => "textfield", "heading" => "Height", "param_name" => "height", "value" => "300px"), array("type" => "textfield", "heading" => "Zoom Level", "param_name" => "zoom", "value" => "14"), array("type" => "boolean", "heading" => "Scroll Wheel", "param_name" => "scrollwheel", "value" => "true"), array("type" => "boolean", "heading" => "Show Scale", "param_name" => "scale", "value" => "true"), array("type" => "boolean", "heading" => "Show Zoom Pan Control", "param_name" => "zoom_pancontrol", "value" => "true"), $animation_type, $animation_duration, $animation_delay, $custom_class)));
     if (class_exists('WPBakeryShortCodes')) {
         class WPBakeryShortCode_Google_Map extends WPBakeryShortCodes
         {
         }
     }
 }
Exemple #7
0
 function venedor_vc_shortcode_counter_box()
 {
     $vc_icon = venedor_vc_icon() . "counter_box.png";
     $animation_type = venedor_vc_animation_type();
     $animation_duration = venedor_vc_animation_duration();
     $animation_delay = venedor_vc_animation_delay();
     $custom_class = venedor_vc_custom_class();
     vc_map(array("name" => "Counter Box", "base" => "counter_box", "category" => "Venedor", "icon" => $vc_icon, 'is_container' => true, 'js_view' => 'VcColumnView', "params" => array(array("type" => "textfield", "heading" => "Counter Value", "param_name" => "value", "value" => "1000", "admin_label" => true), array("type" => "textfield", "heading" => "Counter Unit", "param_name" => "unit", "admin_label" => true), array("type" => "colorpicker", "heading" => "Counter Color", "param_name" => "color"), array("type" => "textfield", "heading" => "Link URL", "param_name" => "link"), $custom_class)));
     if (class_exists('WPBakeryShortCodesContainer')) {
         class WPBakeryShortCode_Counter_Box extends WPBakeryShortCodesContainer
         {
         }
     }
 }
Exemple #8
0
 function venedor_vc_shortcode_background()
 {
     $vc_icon = venedor_vc_icon() . 'background.png';
     $animation_type = venedor_vc_animation_type();
     $animation_duration = venedor_vc_animation_duration();
     $animation_delay = venedor_vc_animation_delay();
     $custom_class = venedor_vc_custom_class();
     vc_map(array("name" => "Background", "base" => "background", "category" => "Venedor", "icon" => $vc_icon, 'is_container' => true, 'js_view' => 'VcColumnView', "params" => array(array("type" => "colorpicker", "heading" => "Background Color", "param_name" => "bg_color"), array("type" => "label", "heading" => "Input Image URL or Select Image.", "param_name" => "label"), array("type" => "textfield", "heading" => "Image URL", "param_name" => "image", "admin_label" => true), array("type" => "attach_image", "heading" => "Background Image", "param_name" => "image_id", "admin_label" => true), array("type" => "colorpicker", "heading" => "Text Color", "param_name" => "color"), array("type" => "colorpicker", "heading" => "Link Color", "param_name" => "link_color"), array("type" => "textfield", "heading" => "Padding", "param_name" => "padding", "value" => "30px 30px 30px 30px"), array("type" => "textfield", "heading" => "Parallax", "param_name" => "parallax", "value" => "0", "description" => "numerical value", "admin_label" => true), $animation_type, $animation_duration, $animation_delay, $custom_class)));
     if (class_exists('WPBakeryShortCodesContainer')) {
         class WPBakeryShortCode_Background extends WPBakeryShortCodesContainer
         {
         }
     }
 }
Exemple #9
0
 function venedor_vc_shortcode_grid()
 {
     $animation_type = venedor_vc_animation_type();
     $animation_duration = venedor_vc_animation_duration();
     $animation_delay = venedor_vc_animation_delay();
     $custom_class = venedor_vc_custom_class();
     $vc_icon = venedor_vc_icon() . 'grid_container.png';
     vc_map(array("name" => __("Grid Container", "venedor"), "base" => "grid_container", "category" => "Venedor", "icon" => $vc_icon, 'is_container' => true, 'js_view' => 'VcColumnView', "as_parent" => array('only' => 'grid_item'), "params" => array(array("type" => "textfield", "heading" => __("Grid Size", "venedor"), "param_name" => "grid_size", "value" => "0px"), array("type" => "textfield", "heading" => __("Gutter Size", "venedor"), "param_name" => "gutter_size", "value" => "5px"), array("type" => "textfield", "heading" => __("Max Width", "venedor"), "param_name" => "max_width", "description" => "Will be show as grid only when window width > max width.", "value" => "767px"), $custom_class)));
     if (class_exists('WPBakeryShortCodesContainer')) {
         class WPBakeryShortCode_Grid_Container extends WPBakeryShortCodesContainer
         {
         }
     }
     $vc_icon = venedor_vc_icon() . 'grid_item.png';
     vc_map(array("name" => __("Grid Item", "venedor"), "base" => "grid_item", "category" => "Venedor", "icon" => $vc_icon, 'is_container' => true, 'js_view' => 'VcColumnView', "as_child" => array('only' => 'grid_container'), "params" => array(array("type" => "textfield", "heading" => __("Width", "venedor"), "param_name" => "width", "value" => "200px"), $custom_class)));
     if (class_exists('WPBakeryShortCodesContainer')) {
         class WPBakeryShortCode_Grid_Item extends WPBakeryShortCodesContainer
         {
         }
     }
 }
 function venedor_vc_shortcode_recent_posts()
 {
     $vc_icon = venedor_vc_icon() . 'recent_posts.png';
     $animation_type = venedor_vc_animation_type();
     $animation_duration = venedor_vc_animation_duration();
     $animation_delay = venedor_vc_animation_delay();
     $custom_class = venedor_vc_custom_class();
     vc_map(array("name" => __("Recent Posts", "venedor"), "base" => "recent_posts", "category" => "Venedor", "icon" => $vc_icon, "params" => array(array("type" => "textfield", "heading" => __("Title", "venedor"), "param_name" => "title", "admin_label" => true), array("type" => "textarea", "heading" => __("Description", "venedor"), "param_name" => "desc"), array("type" => "boolean", "heading" => __("Show Post Title", "venedor"), "param_name" => "show_title", "value" => "true"), array("type" => "boolean", "heading" => __("Show Post Excerpt", "venedor"), "param_name" => "show_excerpt", "value" => "true"), array("type" => "boolean", "heading" => __("Show Post Meta", "venedor"), "param_name" => "show_meta", "value" => "true"), array("type" => "textfield", "heading" => __("Posts Count", "venedor"), "param_name" => "items", "value" => "6", "admin_label" => true), array("type" => "textfield", "heading" => __("Category IDs", "venedor"), "param_name" => "cat", "value" => "", "admin_label" => true), array('type' => 'dropdown', 'heading' => "Arrow Position", 'param_name' => 'arrow_pos', 'value' => array("" => "", "Top" => "arrow-top", "Bottom" => "arrow-bottom"), 'description' => ''), $animation_type, $animation_duration, $animation_delay, $custom_class)));
     if (class_exists('WPBakeryShortCodes')) {
         class WPBakeryShortCode_Recent_Posts extends WPBakeryShortCodes
         {
         }
     }
 }
Exemple #11
0
 function venedor_vc_shortcode_title()
 {
     $vc_icon = venedor_vc_icon() . 'title.png';
     $animation_type = venedor_vc_animation_type();
     $animation_duration = venedor_vc_animation_duration();
     $animation_delay = venedor_vc_animation_delay();
     $custom_class = venedor_vc_custom_class();
     vc_map(array("name" => "Title", "base" => "title", "category" => "Venedor", "icon" => $vc_icon, "params" => array(array("type" => "textfield", "heading" => "Title", "param_name" => "title", "admin_label" => true), array("type" => "text_transform", "heading" => "Title Text Transform", "param_name" => "title_transform"), array("type" => "textfield", "heading" => "Title Font Size", "param_name" => "title_fontsize"), array("type" => "textarea", "heading" => "Description", "param_name" => "desc"), array("type" => "textfield", "heading" => "Desc Font Size", "param_name" => "desc_fontsize"), array("type" => "title_size", "heading" => "Title Size", "param_name" => "size"), array("type" => "boolean", "heading" => "Show Line", "param_name" => "show_line", "value" => "true"), array("type" => "line_pos", "heading" => "Line Position", "param_name" => "line_pos", "value" => "middle"), array("type" => "textfield", "heading" => "Line Width", "param_name" => "line_width", "value" => "40px"), array("type" => "colorpicker", "heading" => "Line Color", "param_name" => "line_color"), array("type" => "align", "heading" => "Align", "param_name" => "align", "value" => "center"), array("type" => "colorpicker", "heading" => "Text Color", "param_name" => "color"), array("type" => "textfield", "heading" => "Text Shadow", "param_name" => "shadow"), $animation_type, $animation_duration, $animation_delay, $custom_class)));
     if (class_exists('WPBakeryShortCode')) {
         class WPBakeryShortCode_Title extends WPBakeryShortCode
         {
         }
     }
 }
Exemple #12
0
 function venedor_vc_shortcode_feature_box()
 {
     $vc_icon = venedor_vc_icon() . 'feature_box.png';
     $animation_type = venedor_vc_animation_type();
     $animation_duration = venedor_vc_animation_duration();
     $animation_delay = venedor_vc_animation_delay();
     $custom_class = venedor_vc_custom_class();
     vc_map(array("name" => "Feature Box", "base" => "feature_box", "category" => "Venedor", "icon" => $vc_icon, 'is_container' => true, 'js_view' => 'VcColumnView', "params" => array(array("type" => "colorpicker", "heading" => "Text Color", "param_name" => "color"), array("type" => "colorpicker", "heading" => "Text Hover Color", "param_name" => "hcolor"), array("type" => "label", "heading" => "Configure with image or icon options", "param_name" => "label"), array("type" => "textfield", "heading" => "Image or Icon Wrapper Size", "param_name" => "size", "value" => "124"), array('type' => 'dropdown', 'heading' => "Image or Icon Wrapper Type", 'param_name' => 'type', 'value' => array("Circle" => "circle", "Rect" => "rect"), 'description' => '', "admin_label" => true), array("type" => "label", "heading" => "Input Image URL or Select Image.", "param_name" => "label"), array("type" => "textfield", "heading" => "Image URL", "param_name" => "image", "admin_label" => true), array("type" => "attach_image", "heading" => "Image", "param_name" => "image_id", "admin_label" => true), array("type" => "colorpicker", "heading" => "Image Border Color", "param_name" => "image_bordercolor"), array("type" => "colorpicker", "heading" => "Image Hover Border Color", "param_name" => "image_hbordercolor"), array("type" => "fontawesome_icon", "heading" => "FontAwesome Icon Name", "param_name" => "icon", "admin_label" => true), array("type" => "colorpicker", "heading" => "Icon Background Color", "param_name" => "icon_bg"), array("type" => "colorpicker", "heading" => "Icon Hover Background Color", "param_name" => "icon_hbg"), array("type" => "colorpicker", "heading" => "Icon Color", "param_name" => "icon_color"), array("type" => "colorpicker", "heading" => "Icon Hover Color", "param_name" => "icon_hcolor"), array("type" => "colorpicker", "heading" => "Icon Border Color", "param_name" => "icon_bordercolor"), array("type" => "colorpicker", "heading" => "Icon Hover Border Color", "param_name" => "icon_hbordercolor"), array("type" => "textfield", "heading" => "Title", "param_name" => "title", "admin_label" => true), array("type" => "textfield", "heading" => "Link", "param_name" => "link"), array("type" => "align", "heading" => "Align", "param_name" => "align", "value" => "center"), array("type" => "colorpicker", "heading" => "Background Color", "param_name" => "bg_color"), array("type" => "colorpicker", "heading" => "Hover Background Color", "param_name" => "hbg_color"), array("type" => "colorpicker", "heading" => "Line Color", "param_name" => "line_color"), array("type" => "colorpicker", "heading" => "Line Hover Color", "param_name" => "line_hcolor"), array("type" => "boolean", "heading" => "Hover Effect, Show Image or Icon Wrapper", "param_name" => "border", "value" => "true"), array("type" => "boolean", "heading" => "Show Background", "param_name" => "show_bg", "value" => "false"), $animation_type, $animation_duration, $animation_delay, $custom_class)));
     if (class_exists('WPBakeryShortCodesContainer')) {
         class WPBakeryShortCode_Feature_Box extends WPBakeryShortCodesContainer
         {
         }
     }
 }
Exemple #13
0
 function venedor_vc_shortcode_sw_latest_products()
 {
     $vc_icon = venedor_vc_icon() . 'product.png';
     $animation_type = venedor_vc_animation_type();
     $animation_duration = venedor_vc_animation_duration();
     $animation_delay = venedor_vc_animation_delay();
     $custom_class = venedor_vc_custom_class();
     vc_map(array("name" => "SW Latest Products", "base" => "sw_latest_products", "category" => "Venedor", "icon" => $vc_icon, "params" => array(array("type" => "textfield", "heading" => "Title", "param_name" => "title", "admin_label" => true), array("type" => "textarea", "heading" => "Description", "param_name" => "desc"), array("type" => "textfield", "heading" => "Products Count", "param_name" => "products", "value" => "8", "admin_label" => true), array("type" => "textfield", "heading" => "Category IDs", "param_name" => "cats", "value" => "", "admin_label" => true), array("type" => "view_mode", "heading" => "View Mode", "param_name" => "view", "value" => "grid", "admin_label" => true), array("type" => "orderby", "heading" => "Order By", "param_name" => "orderby"), array("type" => "order", "heading" => "Order", "param_name" => "order"), array("type" => "boolean", "heading" => "Single View", "param_name" => "single", "value" => "false"), array('type' => 'dropdown', 'heading' => "Arrow Position", 'param_name' => 'arrow_pos', 'value' => array("" => "", "Top" => "arrow-top", "Bottom" => "arrow-bottom"), 'description' => ''), $animation_type, $animation_duration, $animation_delay, $custom_class)));
     if (class_exists('WPBakeryShortCodes')) {
         class WPBakeryShortCode_Sw_Latest_Products extends WPBakeryShortCodes
         {
         }
     }
 }
Exemple #14
0
 function venedor_vc_shortcode_faq()
 {
     $vc_icon = venedor_vc_icon() . 'faq.png';
     $animation_type = venedor_vc_animation_type();
     $animation_duration = venedor_vc_animation_duration();
     $animation_delay = venedor_vc_animation_delay();
     $custom_class = venedor_vc_custom_class();
     vc_map(array("name" => "FAQ", "base" => "faq", "category" => "Venedor", "icon" => $vc_icon, "params" => array(array("type" => "textfield", "heading" => "FAQ Category IDs", "param_name" => "cats", "value" => "0", "description" => "Comma separated list of faq category ids.", "admin_label" => true), array("type" => "boolean", "heading" => "Show Filter", "param_name" => "filter", "value" => "false", "admin_label" => true), $animation_type, $animation_duration, $animation_delay, $custom_class)));
     if (class_exists('WPBakeryShortCodes')) {
         class WPBakeryShortCode_Faq extends WPBakeryShortCodes
         {
         }
     }
 }
Exemple #15
0
 function venedor_vc_shortcode_testimonial()
 {
     $vc_icon = venedor_vc_icon() . 'testimonial.png';
     $animation_type = venedor_vc_animation_type();
     $animation_duration = venedor_vc_animation_duration();
     $animation_delay = venedor_vc_animation_delay();
     $custom_class = venedor_vc_custom_class();
     vc_map(array("name" => "Testimonial", "base" => "testimonial", "category" => "Venedor", "icon" => $vc_icon, 'is_container' => true, 'js_view' => 'VcColumnView', "params" => array(array("type" => "textfield", "heading" => "Title", "param_name" => "title", "admin_label" => true), array("type" => "textfield", "heading" => "Name", "param_name" => "name", "admin_label" => true), array("type" => "label", "heading" => "Input Photo URL or Select Photo.", "param_name" => "label"), array("type" => "textfield", "heading" => "Photo URL", "param_name" => "photo"), array("type" => "attach_image", "heading" => "Photo", "param_name" => "photo_id"), array("type" => "textfield", "heading" => "Link URL", "param_name" => "link"), array("type" => "link_target", "heading" => "Link Target", "param_name" => "target"), array("type" => "textfield", "heading" => "Date", "param_name" => "date", "admin_label" => true), $animation_type, $animation_duration, $animation_delay, $custom_class)));
     if (class_exists('WPBakeryShortCodesContainer')) {
         class WPBakeryShortCode_Testimonial extends WPBakeryShortCodesContainer
         {
         }
     }
 }
Exemple #16
0
 function venedor_vc_shortcode_posts()
 {
     $vc_icon = venedor_vc_icon() . 'posts.png';
     $animation_type = venedor_vc_animation_type();
     $animation_duration = venedor_vc_animation_duration();
     $animation_delay = venedor_vc_animation_delay();
     $custom_class = venedor_vc_custom_class();
     vc_map(array("name" => "Posts", "base" => "posts", "category" => "Venedor", "icon" => $vc_icon, "params" => array(array("type" => "textfield", "heading" => "Title", "param_name" => "title", "admin_label" => true), array("type" => "blog_layout", "heading" => "Layout", "param_name" => "layout", "value" => "grid", "admin_label" => true), array("type" => "textfield", "heading" => "Category IDs", "description" => "comma separated list of category ids", "param_name" => "cat", "admin_label" => true), array("type" => "textfield", "heading" => "Post IDs", "description" => "comma separated list of post ids", "param_name" => "post_in", "admin_label" => true), array("type" => "textfield", "heading" => "Posts Count", "param_name" => "count", "value" => '10', "admin_label" => true), array('type' => 'dropdown', 'heading' => "Arrow Position", 'param_name' => 'arrow_pos', 'value' => array("" => "", "Top" => "arrow-top", "Bottom" => "arrow-bottom"), 'description' => ''), $custom_class)));
     if (class_exists('WPBakeryShortCodes')) {
         class WPBakeryShortCode_Posts extends WPBakeryShortCodes
         {
         }
     }
     $vc_icon = venedor_vc_icon() . 'posts_slider.png';
     vc_map(array("name" => "Posts Slider", "base" => "posts_slider", "category" => "Venedor", "icon" => $vc_icon, "params" => array(array("type" => "textfield", "heading" => "Title", "param_name" => "title", "admin_label" => true), array("type" => "textarea", "heading" => "Description", "param_name" => "desc", "admin_label" => true), array("type" => "textfield", "heading" => "Category IDs", "description" => "comma separated list of category ids", "param_name" => "cat", "admin_label" => true), array("type" => "textfield", "heading" => "Post IDs", "description" => "comma separated list of post ids", "param_name" => "post_in", "admin_label" => true), array("type" => "textfield", "heading" => "Posts Count", "param_name" => "count", "value" => '6', "admin_label" => true), array("type" => "boolean", "heading" => __("Show Post Title", "venedor"), "param_name" => "show_title", "value" => "true"), array("type" => "boolean", "heading" => __("Show Post Excerpt", "venedor"), "param_name" => "show_excerpt", "value" => "true"), array("type" => "boolean", "heading" => __("Show Post Meta", "venedor"), "param_name" => "show_meta", "value" => "true"), $animation_type, $animation_duration, $animation_delay, $custom_class)));
     if (class_exists('WPBakeryShortCodes')) {
         class WPBakeryShortCode_Posts_Slider extends WPBakeryShortCodes
         {
         }
     }
 }
Exemple #17
0
 function venedor_vc_shortcode_sw_slide()
 {
     $vc_icon = venedor_vc_icon() . 'sw_slide.png';
     $animation_type = venedor_vc_animation_type();
     $animation_duration = venedor_vc_animation_duration();
     $animation_delay = venedor_vc_animation_delay();
     $custom_class = venedor_vc_custom_class();
     vc_map(array("name" => __("SW Slide", "venedor"), "base" => "sw_slide", "category" => "Venedor", "icon" => $vc_icon, 'is_container' => true, 'js_view' => 'VcColumnView', "as_child" => array('only' => 'sw_slider'), "params" => array($custom_class)));
     if (class_exists('WPBakeryShortCodesContainer')) {
         class WPBakeryShortCode_Sw_Slide extends WPBakeryShortCodesContainer
         {
         }
     }
 }
Exemple #18
0
 function venedor_vc_shortcode_persons_slide()
 {
     $vc_icon = venedor_vc_icon() . 'persons_slide.png';
     $animation_type = venedor_vc_animation_type();
     $animation_duration = venedor_vc_animation_duration();
     $animation_delay = venedor_vc_animation_delay();
     $custom_class = venedor_vc_custom_class();
     vc_map(array("name" => "Persons Slide", "base" => "persons_slide", "category" => "Venedor", "icon" => $vc_icon, "as_child" => array('only' => 'persons_slider'), "params" => array(array("type" => "textfield", "heading" => "Name", "param_name" => "name", "admin_label" => true), array("type" => "label", "heading" => "Input Photo URL or Select Photo.", "param_name" => "label"), array("type" => "textfield", "heading" => "Photo URL", "param_name" => "photo"), array("type" => "attach_image", "heading" => "Photo", "param_name" => "photo_id"), array("type" => "textfield", "heading" => "Role", "param_name" => "role", "admin_label" => true), array("type" => "textfield", "heading" => "Link URL", "param_name" => "link"), array("type" => "link_target", "heading" => "Link Target", "param_name" => "target"), array("type" => "colorpicker", "heading" => "Background Color", "param_name" => "bg_color"), array("type" => "colorpicker", "heading" => "Hover Background Color", "param_name" => "hbg_color"), $animation_type, $animation_duration, $animation_delay, $custom_class)));
     if (class_exists('WPBakeryShortCodes')) {
         class WPBakeryShortCode_Persons_Slide extends WPBakeryShortCodes
         {
         }
     }
 }