File manager - Edit - /home/theblueo/tv/fb4e3b/config.tar
Back
structure/shortcode-vc-raw-js.php 0000666 00000001732 15213303514 0013122 0 ustar 00 <?php if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } return array( 'name' => __( 'Raw JS', 'js_composer' ), 'base' => 'vc_raw_js', 'icon' => 'icon-wpb-raw-javascript', 'category' => __( 'Structure', 'js_composer' ), 'wrapper_class' => 'clearfix', 'description' => __( 'Output raw JavaScript code on your page', 'js_composer' ), 'params' => array( array( 'type' => 'textarea_raw_html', 'holder' => 'div', 'heading' => __( 'JavaScript Code', 'js_composer' ), 'param_name' => 'content', 'value' => __( base64_encode( '<script type="text/javascript"> alert("Enter your js here!" ); </script>' ), 'js_composer' ), 'description' => __( 'Enter your JavaScript code.', 'js_composer' ), ), array( 'type' => 'textfield', 'heading' => __( 'Extra class name', 'js_composer' ), 'param_name' => 'el_class', 'description' => __( 'Style particular content element differently - add a class name and refer to it in custom CSS.', 'js_composer' ), ), ), ); structure/shortcode-vc-widget-sidebar.php 0000666 00000002134 15213303514 0014606 0 ustar 00 <?php if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } return array( 'name' => __( 'Widgetised Sidebar', 'js_composer' ), 'base' => 'vc_widget_sidebar', 'class' => 'wpb_widget_sidebar_widget', 'icon' => 'icon-wpb-layout_sidebar', 'category' => __( 'Structure', 'js_composer' ), 'description' => __( 'WordPress widgetised sidebar', 'js_composer' ), 'params' => array( array( 'type' => 'textfield', 'heading' => __( 'Widget title', 'js_composer' ), 'param_name' => 'title', 'description' => __( 'Enter text used as widget title (Note: located above content element).', 'js_composer' ), 'admin_label' => true, ), array( 'type' => 'widgetised_sidebars', 'heading' => __( 'Sidebar', 'js_composer' ), 'param_name' => 'sidebar_id', 'description' => __( 'Select widget area to display.', 'js_composer' ), ), array( 'type' => 'textfield', 'heading' => __( 'Extra class name', 'js_composer' ), 'param_name' => 'el_class', 'description' => __( 'Style particular content element differently - add a class name and refer to it in custom CSS.', 'js_composer' ), ), ), ); structure/shortcode-vc-raw-html.php 0000666 00000002130 15213303514 0013443 0 ustar 00 <?php if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } return array( 'name' => __( 'Raw HTML', 'js_composer' ), 'base' => 'vc_raw_html', 'icon' => 'icon-wpb-raw-html', 'category' => __( 'Structure', 'js_composer' ), 'wrapper_class' => 'clearfix', 'description' => __( 'Output raw HTML code on your page', 'js_composer' ), 'params' => array( array( 'type' => 'textarea_raw_html', 'holder' => 'div', 'heading' => __( 'Raw HTML', 'js_composer' ), 'param_name' => 'content', 'value' => base64_encode( '<p>I am raw html block.<br/>Click edit button to change this html</p>' ), 'description' => __( 'Enter your HTML content.', 'js_composer' ), ), array( 'type' => 'textfield', 'heading' => __( 'Extra class name', 'js_composer' ), 'param_name' => 'el_class', 'description' => __( 'Style particular content element differently - add a class name and refer to it in custom CSS.', 'js_composer' ), ), array( 'type' => 'css_editor', 'heading' => __( 'CSS box', 'js_composer' ), 'param_name' => 'css', 'group' => __( 'Design Options', 'js_composer' ), ), ), ); buttons/shortcode-vc-cta.php 0000666 00000022204 15213303514 0012121 0 ustar 00 <?php if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } /* Call to action * @since 4.5 */ require_once vc_path_dir( 'CONFIG_DIR', 'content/vc-custom-heading-element.php' ); $h2_custom_heading = vc_map_integrate_shortcode( vc_custom_heading_element_params(), 'h2_', __( 'Heading', 'js_composer' ), array( 'exclude' => array( 'source', 'text', 'css', ), ), array( 'element' => 'use_custom_fonts_h2', 'value' => 'true', ) ); // This is needed to remove custom heading _tag and _align options. if ( is_array( $h2_custom_heading ) && ! empty( $h2_custom_heading ) ) { foreach ( $h2_custom_heading as $key => $param ) { if ( is_array( $param ) && isset( $param['type'] ) && 'font_container' === $param['type'] ) { $h2_custom_heading[ $key ]['value'] = ''; if ( isset( $param['settings'] ) && is_array( $param['settings'] ) && isset( $param['settings']['fields'] ) ) { $sub_key = array_search( 'tag', $param['settings']['fields'] ); if ( false !== $sub_key ) { unset( $h2_custom_heading[ $key ]['settings']['fields'][ $sub_key ] ); } elseif ( isset( $param['settings']['fields']['tag'] ) ) { unset( $h2_custom_heading[ $key ]['settings']['fields']['tag'] ); } $sub_key = array_search( 'text_align', $param['settings']['fields'] ); if ( false !== $sub_key ) { unset( $h2_custom_heading[ $key ]['settings']['fields'][ $sub_key ] ); } elseif ( isset( $param['settings']['fields']['text_align'] ) ) { unset( $h2_custom_heading[ $key ]['settings']['fields']['text_align'] ); } } } } } $h4_custom_heading = vc_map_integrate_shortcode( vc_custom_heading_element_params(), 'h4_', __( 'Subheading', 'js_composer' ), array( 'exclude' => array( 'source', 'text', 'css', ), ), array( 'element' => 'use_custom_fonts_h4', 'value' => 'true', ) ); // This is needed to remove custom heading _tag and _align options. if ( is_array( $h4_custom_heading ) && ! empty( $h4_custom_heading ) ) { foreach ( $h4_custom_heading as $key => $param ) { if ( is_array( $param ) && isset( $param['type'] ) && 'font_container' === $param['type'] ) { $h4_custom_heading[ $key ]['value'] = ''; if ( isset( $param['settings'] ) && is_array( $param['settings'] ) && isset( $param['settings']['fields'] ) ) { $sub_key = array_search( 'tag', $param['settings']['fields'] ); if ( false !== $sub_key ) { unset( $h4_custom_heading[ $key ]['settings']['fields'][ $sub_key ] ); } elseif ( isset( $param['settings']['fields']['tag'] ) ) { unset( $h4_custom_heading[ $key ]['settings']['fields']['tag'] ); } $sub_key = array_search( 'text_align', $param['settings']['fields'] ); if ( false !== $sub_key ) { unset( $h4_custom_heading[ $key ]['settings']['fields'][ $sub_key ] ); } elseif ( isset( $param['settings']['fields']['text_align'] ) ) { unset( $h4_custom_heading[ $key ]['settings']['fields']['text_align'] ); } } } } } $params = array_merge( array( array( 'type' => 'textfield', 'heading' => __( 'Heading', 'js_composer' ), 'admin_label' => true, 'param_name' => 'h2', 'value' => __( 'Hey! I am first heading line feel free to change me', 'js_composer' ), 'description' => __( 'Enter text for heading line.', 'js_composer' ), 'edit_field_class' => 'vc_col-sm-9', ), array( 'type' => 'checkbox', 'heading' => __( 'Use custom font?', 'js_composer' ), 'param_name' => 'use_custom_fonts_h2', 'description' => __( 'Enable Google fonts.', 'js_composer' ), 'edit_field_class' => 'vc_col-sm-3', ), ), $h2_custom_heading, array( array( 'type' => 'textfield', 'heading' => __( 'Subheading', 'js_composer' ), 'param_name' => 'h4', 'value' => '', 'description' => __( 'Enter text for subheading line.', 'js_composer' ), 'edit_field_class' => 'vc_col-sm-9', ), array( 'type' => 'checkbox', 'heading' => __( 'Use custom font?', 'js_composer' ), 'param_name' => 'use_custom_fonts_h4', 'description' => __( 'Enable custom font option.', 'js_composer' ), 'edit_field_class' => 'vc_col-sm-3', ), ), $h4_custom_heading, array( array( 'type' => 'dropdown', 'heading' => __( 'Text alignment', 'js_composer' ), 'param_name' => 'txt_align', 'value' => getVcShared( 'text align' ), // default left 'description' => __( 'Select text alignment in "Call to Action" block.', 'js_composer' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Shape', 'js_composer' ), 'param_name' => 'shape', 'std' => 'rounded', 'value' => array( __( 'Square', 'js_composer' ) => 'square', __( 'Rounded', 'js_composer' ) => 'rounded', __( 'Round', 'js_composer' ) => 'round', ), 'description' => __( 'Select call to action shape.', 'js_composer' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Style', 'js_composer' ), 'param_name' => 'style', 'value' => array( __( 'Classic', 'js_composer' ) => 'classic', __( 'Flat', 'js_composer' ) => 'flat', __( 'Outline', 'js_composer' ) => 'outline', __( '3d', 'js_composer' ) => '3d', __( 'Custom', 'js_composer' ) => 'custom', ), 'std' => 'classic', 'description' => __( 'Select call to action display style.', 'js_composer' ), ), array( 'type' => 'colorpicker', 'heading' => __( 'Background color', 'js_composer' ), 'param_name' => 'custom_background', 'description' => __( 'Select custom background color.', 'js_composer' ), 'dependency' => array( 'element' => 'style', 'value' => array( 'custom' ), ), 'edit_field_class' => 'vc_col-sm-6', ), array( 'type' => 'colorpicker', 'heading' => __( 'Text color', 'js_composer' ), 'param_name' => 'custom_text', 'description' => __( 'Select custom text color.', 'js_composer' ), 'dependency' => array( 'element' => 'style', 'value' => array( 'custom' ), ), 'edit_field_class' => 'vc_col-sm-6', ), array( 'type' => 'dropdown', 'heading' => __( 'Color', 'js_composer' ), 'param_name' => 'color', 'value' => array( __( 'Classic', 'js_composer' ) => 'classic' ) + getVcShared( 'colors-dashed' ), 'std' => 'classic', 'description' => __( 'Select color schema.', 'js_composer' ), 'param_holder_class' => 'vc_colored-dropdown vc_cta3-colored-dropdown', 'dependency' => array( 'element' => 'style', 'value_not_equal_to' => array( 'custom' ), ), ), array( 'type' => 'textarea_html', 'heading' => __( 'Text', 'js_composer' ), 'param_name' => 'content', 'value' => __( 'I am promo text. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.', 'js_composer' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Width', 'js_composer' ), 'param_name' => 'el_width', 'value' => array( '100%' => '', '90%' => 'xl', '80%' => 'lg', '70%' => 'md', '60%' => 'sm', '50%' => 'xs', ), 'description' => __( 'Select call to action width (percentage).', 'js_composer' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Add button', 'js_composer' ) . '?', 'description' => __( 'Add button for call to action.', 'js_composer' ), 'param_name' => 'add_button', 'value' => array( __( 'No', 'js_composer' ) => '', __( 'Top', 'js_composer' ) => 'top', __( 'Bottom', 'js_composer' ) => 'bottom', __( 'Left', 'js_composer' ) => 'left', __( 'Right', 'js_composer' ) => 'right', ), ), ), vc_map_integrate_shortcode( 'vc_btn', 'btn_', __( 'Button', 'js_composer' ), array( 'exclude' => array( 'css' ), ), array( 'element' => 'add_button', 'not_empty' => true, ) ), array( array( 'type' => 'dropdown', 'heading' => __( 'Add icon?', 'js_composer' ), 'description' => __( 'Add icon for call to action.', 'js_composer' ), 'param_name' => 'add_icon', 'value' => array( __( 'No', 'js_composer' ) => '', __( 'Top', 'js_composer' ) => 'top', __( 'Bottom', 'js_composer' ) => 'bottom', __( 'Left', 'js_composer' ) => 'left', __( 'Right', 'js_composer' ) => 'right', ), ), array( 'type' => 'checkbox', 'param_name' => 'i_on_border', 'heading' => __( 'Place icon on border?', 'js_composer' ), 'description' => __( 'Display icon on call to action element border.', 'js_composer' ), 'group' => __( 'Icon', 'js_composer' ), 'dependency' => array( 'element' => 'add_icon', 'not_empty' => true, ), ), ), vc_map_integrate_shortcode( 'vc_icon', 'i_', __( 'Icon', 'js_composer' ), array( 'exclude' => array( 'align', 'css', ), ), array( 'element' => 'add_icon', 'not_empty' => true, ) ), array( /// cta3 vc_map_add_css_animation(), array( 'type' => 'textfield', 'heading' => __( 'Extra class name', 'js_composer' ), 'param_name' => 'el_class', 'description' => __( 'Style particular content element differently - add a class name and refer to it in custom CSS.', 'js_composer' ), ), array( 'type' => 'css_editor', 'heading' => __( 'CSS box', 'js_composer' ), 'param_name' => 'css', 'group' => __( 'Design Options', 'js_composer' ), ), ) ); return array( 'name' => __( 'Call to Action', 'js_composer' ), 'base' => 'vc_cta', 'icon' => 'icon-wpb-call-to-action', 'category' => array( __( 'Content', 'js_composer' ) ), 'description' => __( 'Catch visitors attention with CTA block', 'js_composer' ), 'since' => '4.5', 'params' => $params, 'js_view' => 'VcCallToActionView3', ); buttons/shortcode-vc-btn.php 0000666 00000026425 15213303514 0012146 0 ustar 00 <?php if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } /** * New button implementation * array_merge is needed due to merging other shortcode data into params. * @since 4.5 */ $pixel_icons = vc_pixel_icons(); require_once vc_path_dir( 'CONFIG_DIR', 'content/vc-icon-element.php' ); $icons_params = vc_map_integrate_shortcode( vc_icon_element_params(), 'i_', '', array( 'include_only_regex' => '/^(type|icon_\w*)/', // we need only type, icon_fontawesome, icon_blabla..., NOT color and etc ), array( 'element' => 'add_icon', 'value' => 'true', ) ); // populate integrated vc_icons params. if ( is_array( $icons_params ) && ! empty( $icons_params ) ) { foreach ( $icons_params as $key => $param ) { if ( is_array( $param ) && ! empty( $param ) ) { if ( 'i_type' === $param['param_name'] ) { // append pixelicons to dropdown $icons_params[ $key ]['value'][ __( 'Pixel', 'js_composer' ) ] = 'pixelicons'; } if ( isset( $param['admin_label'] ) ) { // remove admin label unset( $icons_params[ $key ]['admin_label'] ); } } } } $params = array_merge( array( array( 'type' => 'textfield', 'heading' => __( 'Text', 'js_composer' ), 'param_name' => 'title', // fully compatible to btn1 and btn2 'value' => __( 'Text on the button', 'js_composer' ), ), array( 'type' => 'vc_link', 'heading' => __( 'URL (Link)', 'js_composer' ), 'param_name' => 'link', 'description' => __( 'Add link to button.', 'js_composer' ), // compatible with btn2 and converted from href{btn1} ), array( 'type' => 'dropdown', 'heading' => __( 'Style', 'js_composer' ), 'description' => __( 'Select button display style.', 'js_composer' ), 'param_name' => 'style', // partly compatible with btn2, need to be converted shape+style from btn2 and btn1 'value' => array( __( 'Modern', 'js_composer' ) => 'modern', __( 'Classic', 'js_composer' ) => 'classic', __( 'Flat', 'js_composer' ) => 'flat', __( 'Outline', 'js_composer' ) => 'outline', __( '3d', 'js_composer' ) => '3d', __( 'Custom', 'js_composer' ) => 'custom', __( 'Outline custom', 'js_composer' ) => 'outline-custom', __( 'Gradient', 'js_composer' ) => 'gradient', __( 'Gradient Custom', 'js_composer' ) => 'gradient-custom', ), ), array( 'type' => 'dropdown', 'heading' => __( 'Gradient Color 1', 'js_composer' ), 'param_name' => 'gradient_color_1', 'description' => __( 'Select first color for gradient.', 'js_composer' ), 'param_holder_class' => 'vc_colored-dropdown vc_btn3-colored-dropdown', 'value' => getVcShared( 'colors-dashed' ), 'std' => 'turquoise', 'dependency' => array( 'element' => 'style', 'value' => array( 'gradient' ), ), 'edit_field_class' => 'vc_col-sm-6', ), array( 'type' => 'dropdown', 'heading' => __( 'Gradient Color 2', 'js_composer' ), 'param_name' => 'gradient_color_2', 'description' => __( 'Select second color for gradient.', 'js_composer' ), 'param_holder_class' => 'vc_colored-dropdown vc_btn3-colored-dropdown', 'value' => getVcShared( 'colors-dashed' ), 'std' => 'blue', // must have default color grey 'dependency' => array( 'element' => 'style', 'value' => array( 'gradient' ), ), 'edit_field_class' => 'vc_col-sm-6', ), array( 'type' => 'colorpicker', 'heading' => __( 'Gradient Color 1', 'js_composer' ), 'param_name' => 'gradient_custom_color_1', 'description' => __( 'Select first color for gradient.', 'js_composer' ), 'param_holder_class' => 'vc_colored-dropdown vc_btn3-colored-dropdown', 'value' => '#dd3333', 'dependency' => array( 'element' => 'style', 'value' => array( 'gradient-custom' ), ), 'edit_field_class' => 'vc_col-sm-4', ), array( 'type' => 'colorpicker', 'heading' => __( 'Gradient Color 2', 'js_composer' ), 'param_name' => 'gradient_custom_color_2', 'description' => __( 'Select second color for gradient.', 'js_composer' ), 'param_holder_class' => 'vc_colored-dropdown vc_btn3-colored-dropdown', 'value' => '#eeee22', 'dependency' => array( 'element' => 'style', 'value' => array( 'gradient-custom' ), ), 'edit_field_class' => 'vc_col-sm-4', ), array( 'type' => 'colorpicker', 'heading' => __( 'Button Text Color', 'js_composer' ), 'param_name' => 'gradient_text_color', 'description' => __( 'Select button text color.', 'js_composer' ), 'param_holder_class' => 'vc_colored-dropdown vc_btn3-colored-dropdown', 'value' => '#ffffff', // must have default color grey 'dependency' => array( 'element' => 'style', 'value' => array( 'gradient-custom' ), ), 'edit_field_class' => 'vc_col-sm-4', ), array( 'type' => 'colorpicker', 'heading' => __( 'Background', 'js_composer' ), 'param_name' => 'custom_background', 'description' => __( 'Select custom background color for your element.', 'js_composer' ), 'dependency' => array( 'element' => 'style', 'value' => array( 'custom' ), ), 'edit_field_class' => 'vc_col-sm-6', 'std' => '#ededed', ), array( 'type' => 'colorpicker', 'heading' => __( 'Text', 'js_composer' ), 'param_name' => 'custom_text', 'description' => __( 'Select custom text color for your element.', 'js_composer' ), 'dependency' => array( 'element' => 'style', 'value' => array( 'custom' ), ), 'edit_field_class' => 'vc_col-sm-6', 'std' => '#666', ), array( 'type' => 'colorpicker', 'heading' => __( 'Outline and Text', 'js_composer' ), 'param_name' => 'outline_custom_color', 'description' => __( 'Select outline and text color for your element.', 'js_composer' ), 'dependency' => array( 'element' => 'style', 'value' => array( 'outline-custom' ), ), 'edit_field_class' => 'vc_col-sm-4', 'std' => '#666', ), array( 'type' => 'colorpicker', 'heading' => __( 'Hover background', 'js_composer' ), 'param_name' => 'outline_custom_hover_background', 'description' => __( 'Select hover background color for your element.', 'js_composer' ), 'dependency' => array( 'element' => 'style', 'value' => array( 'outline-custom' ), ), 'edit_field_class' => 'vc_col-sm-4', 'std' => '#666', ), array( 'type' => 'colorpicker', 'heading' => __( 'Hover text', 'js_composer' ), 'param_name' => 'outline_custom_hover_text', 'description' => __( 'Select hover text color for your element.', 'js_composer' ), 'dependency' => array( 'element' => 'style', 'value' => array( 'outline-custom' ), ), 'edit_field_class' => 'vc_col-sm-4', 'std' => '#fff', ), array( 'type' => 'dropdown', 'heading' => __( 'Shape', 'js_composer' ), 'description' => __( 'Select button shape.', 'js_composer' ), 'param_name' => 'shape', // need to be converted 'value' => array( __( 'Rounded', 'js_composer' ) => 'rounded', __( 'Square', 'js_composer' ) => 'square', __( 'Round', 'js_composer' ) => 'round', ), ), array( 'type' => 'dropdown', 'heading' => __( 'Color', 'js_composer' ), 'param_name' => 'color', 'description' => __( 'Select button color.', 'js_composer' ), // compatible with btn2, need to be converted from btn1 'param_holder_class' => 'vc_colored-dropdown vc_btn3-colored-dropdown', 'value' => array( // Btn1 Colors __( 'Classic Grey', 'js_composer' ) => 'default', __( 'Classic Blue', 'js_composer' ) => 'primary', __( 'Classic Turquoise', 'js_composer' ) => 'info', __( 'Classic Green', 'js_composer' ) => 'success', __( 'Classic Orange', 'js_composer' ) => 'warning', __( 'Classic Red', 'js_composer' ) => 'danger', __( 'Classic Black', 'js_composer' ) => 'inverse', // + Btn2 Colors (default color set) ) + getVcShared( 'colors-dashed' ), 'std' => 'grey', // must have default color grey 'dependency' => array( 'element' => 'style', 'value_not_equal_to' => array( 'custom', 'outline-custom', 'gradient', 'gradient-custom', ), ), ), array( 'type' => 'dropdown', 'heading' => __( 'Size', 'js_composer' ), 'param_name' => 'size', 'description' => __( 'Select button display size.', 'js_composer' ), // compatible with btn2, default md, but need to be converted from btn1 to btn2 'std' => 'md', 'value' => getVcShared( 'sizes' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Alignment', 'js_composer' ), 'param_name' => 'align', 'description' => __( 'Select button alignment.', 'js_composer' ), // compatible with btn2, default left to be compatible with btn1 'value' => array( __( 'Inline', 'js_composer' ) => 'inline', // default as well __( 'Left', 'js_composer' ) => 'left', // default as well __( 'Right', 'js_composer' ) => 'right', __( 'Center', 'js_composer' ) => 'center', ), ), array( 'type' => 'checkbox', 'heading' => __( 'Set full width button?', 'js_composer' ), 'param_name' => 'button_block', 'dependency' => array( 'element' => 'align', 'value_not_equal_to' => 'inline', ), ), array( 'type' => 'checkbox', 'heading' => __( 'Add icon?', 'js_composer' ), 'param_name' => 'add_icon', ), array( 'type' => 'dropdown', 'heading' => __( 'Icon Alignment', 'js_composer' ), 'description' => __( 'Select icon alignment.', 'js_composer' ), 'param_name' => 'i_align', 'value' => array( __( 'Left', 'js_composer' ) => 'left', // default as well __( 'Right', 'js_composer' ) => 'right', ), 'dependency' => array( 'element' => 'add_icon', 'value' => 'true', ), ), ), $icons_params, array( array( 'type' => 'iconpicker', 'heading' => __( 'Icon', 'js_composer' ), 'param_name' => 'i_icon_pixelicons', 'value' => 'vc_pixel_icon vc_pixel_icon-alert', 'settings' => array( 'emptyIcon' => false, // default true, display an "EMPTY" icon? 'type' => 'pixelicons', 'source' => $pixel_icons, ), 'dependency' => array( 'element' => 'i_type', 'value' => 'pixelicons', ), 'description' => __( 'Select icon from library.', 'js_composer' ), ), ), array( vc_map_add_css_animation( true ), array( 'type' => 'textfield', 'heading' => __( 'Extra class name', 'js_composer' ), 'param_name' => 'el_class', 'description' => __( 'Style particular content element differently - add a class name and refer to it in custom CSS.', 'js_composer' ), ), array( 'type' => 'checkbox', 'heading' => __( 'Advanced on click action', 'js_composer' ), 'param_name' => 'custom_onclick', 'description' => __( 'Insert inline onclick javascript action.', 'js_composer' ), ), array( 'type' => 'textfield', 'heading' => __( 'On click code', 'js_composer' ), 'param_name' => 'custom_onclick_code', 'description' => __( 'Enter onclick action code.', 'js_composer' ), 'dependency' => array( 'element' => 'custom_onclick', 'not_empty' => true, ), ), array( 'type' => 'css_editor', 'heading' => __( 'CSS box', 'js_composer' ), 'param_name' => 'css', 'group' => __( 'Design Options', 'js_composer' ), ), ) ); /** * @class WPBakeryShortCode_VC_Btn */ return array( 'name' => __( 'Button', 'js_composer' ), 'base' => 'vc_btn', 'icon' => 'icon-wpb-ui-button', 'category' => array( __( 'Content', 'js_composer' ), ), 'description' => __( 'Eye catching button', 'js_composer' ), 'params' => $params, 'js_view' => 'VcButton3View', 'custom_markup' => '{{title}}<div class="vc_btn3-container"><button class="vc_general vc_btn3 vc_btn3-size-sm vc_btn3-shape-{{ params.shape }} vc_btn3-style-{{ params.style }} vc_btn3-color-{{ params.color }}">{{{ params.title }}}</button></div>', ); templates.php 0000666 00000465011 15213303514 0007263 0 ustar 00 <?php if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } /** * @since 4.4 * Default templates list */ /** Landing page template */ $data = array(); $data['name'] = __( 'Landing Page', 'js_composer' ); $data['disabled'] = true; $data['content'] = <<<CONTENT [vc_row][vc_column width="1/3"][vc_single_image border_color="grey" img_link_target="_self"][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][/vc_column][vc_column width="1/3"][vc_single_image border_color="grey" img_link_target="_self"][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][/vc_column][vc_column width="1/3"][vc_single_image border_color="grey" img_link_target="_self"][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][/vc_column][/vc_row][vc_row][vc_column width="1/1"][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][/vc_column][/vc_row][vc_row][vc_column width="1/3"][vc_single_image border_color="grey" img_link_target="_self"][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][/vc_column][vc_column width="1/3"][vc_single_image border_color="grey" img_link_target="_self"][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][/vc_column][vc_column width="1/3"][vc_single_image border_color="grey" img_link_target="_self"][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][/vc_column][/vc_row] CONTENT; vc_add_default_templates( $data ); /** Call to Action Page template */ $data = array(); $data['name'] = __( 'Call to Action Page', 'js_composer' ); $data['disabled'] = true; $data['content'] = <<<CONTENT [vc_row full_width=""][vc_column width="1/1"][vc_column_text css_animation=""]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][vc_separator color="grey" align="align_center" style="" border_width="" el_width=""][/vc_column][/vc_row][vc_row full_width=""][vc_column width="1/2"][vc_single_image image="" alignment="" style="" border_color="grey" img_link_large="" img_link_target="_self" css_animation=""][/vc_column][vc_column width="1/2"][vc_column_text css_animation=""]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][vc_btn title="Read more" style="flat" shape="rounded" color="blue" size="md" align="inline" i_align="left" i_type="fontawesome" i_icon_fontawesome="fa fa-adjust" i_icon_openiconic="vc-oi vc-oi-dial" i_icon_typicons="typcn typcn-adjust-brightness" i_icon_entypo="entypo-icon entypo-icon-note" i_icon_linecons="vc_li vc_li-heart" button_block="" add_icon="" i_icon_pixelicons="vc_pixel_icon vc_pixel_icon-alert"][/vc_column][/vc_row][vc_row full_width=""][vc_column width="1/2"][vc_single_image image="" alignment="" style="" border_color="grey" img_link_large="" img_link_target="_self" css_animation=""][/vc_column][vc_column width="1/2"][vc_column_text css_animation=""]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][vc_btn title="Read more" style="flat" shape="rounded" color="blue" size="md" align="inline" i_align="left" i_type="fontawesome" i_icon_fontawesome="fa fa-adjust" i_icon_openiconic="vc-oi vc-oi-dial" i_icon_typicons="typcn typcn-adjust-brightness" i_icon_entypo="entypo-icon entypo-icon-note" i_icon_linecons="vc_li vc_li-heart" css_animation="" button_block="" add_icon="" i_icon_pixelicons="vc_pixel_icon vc_pixel_icon-alert"][/vc_column][/vc_row] CONTENT; vc_add_default_templates( $data ); /** Feature List template */ $data = array(); $data['name'] = __( 'Feature List', 'js_composer' ); $data['disabled'] = true; $data['content'] = <<<CONTENT [vc_row][vc_column width="1/1"][vc_single_image border_color="grey" img_link_target="_self" alignment="center"][/vc_column][/vc_row][vc_row][vc_column width="1/3"][vc_single_image border_color="grey" img_link_target="_self"][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][/vc_column][vc_column width="1/3"][vc_single_image border_color="grey" img_link_target="_self"][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][/vc_column][vc_column width="1/3"][vc_single_image border_color="grey" img_link_target="_self"][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][/vc_column][/vc_row][vc_row][vc_column width="1/3"][vc_single_image border_color="grey" img_link_target="_self"][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][/vc_column][vc_column width="1/3"][vc_single_image border_color="grey" img_link_target="_self"][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][/vc_column][vc_column width="1/3"][vc_single_image border_color="grey" img_link_target="_self"][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][/vc_column][/vc_row] CONTENT; vc_add_default_templates( $data ); /** Description Page template */ $data = array(); $data['name'] = __( 'Description Page', 'js_composer' ); $data['disabled'] = true; $data['content'] = <<<CONTENT [vc_row][vc_column width="1/1"][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][/vc_column][/vc_row][vc_row][vc_column width="1/2"][vc_single_image border_color="grey" img_link_target="_self"][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][/vc_column][vc_column width="1/2"][vc_single_image border_color="grey" img_link_target="_self"][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][/vc_column][/vc_row][vc_row][vc_column width="1/2"][vc_single_image border_color="grey" img_link_target="_self"][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][/vc_column][vc_column width="1/2"][vc_single_image border_color="grey" img_link_target="_self"][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][/vc_column][/vc_row] CONTENT; vc_add_default_templates( $data ); /** Service List template */ $data = array(); $data['name'] = __( 'Service List', 'js_composer' ); $data['disabled'] = true; $data['content'] = <<<CONTENT [vc_row][vc_column width="1/2"][vc_single_image border_color="grey" img_link_target="_self"][/vc_column][vc_column width="1/2"][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][/vc_column][/vc_row][vc_row][vc_column width="1/2"][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][/vc_column][vc_column width="1/2"][vc_single_image border_color="grey" img_link_target="_self"][/vc_column][/vc_row][vc_row][vc_column width="1/2"][vc_single_image border_color="grey" img_link_target="_self"][/vc_column][vc_column width="1/2"][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][/vc_column][/vc_row][vc_row][vc_column width="1/2"][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][/vc_column][vc_column width="1/2"][vc_single_image border_color="grey" img_link_target="_self"][/vc_column][/vc_row] CONTENT; vc_add_default_templates( $data ); /** Product Page template */ $data = array(); $data['name'] = __( 'Product Page', 'js_composer' ); $data['disabled'] = true; $data['content'] = <<<CONTENT [vc_row full_width=""][vc_column width="1/1"][vc_column_text css_animation=""]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][vc_separator color="grey" align="align_center" style="" border_width="" el_width=""][vc_single_image image="" alignment="" style="" border_color="grey" img_link_large="" img_link_target="_self" css_animation=""][vc_separator color="grey" align="align_center" style="" border_width="" el_width=""][/vc_column][/vc_row][vc_row full_width=""][vc_column width="1/2"][vc_column_text css_animation=""]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][vc_btn title="Read more" style="flat" shape="rounded" color="blue" size="md" align="inline" i_align="left" i_type="fontawesome" i_icon_fontawesome="fa fa-adjust" i_icon_openiconic="vc-oi vc-oi-dial" i_icon_typicons="typcn typcn-adjust-brightness" i_icon_entypo="entypo-icon entypo-icon-note" i_icon_linecons="vc_li vc_li-heart" button_block="" add_icon="" i_icon_pixelicons="vc_pixel_icon vc_pixel_icon-alert"][/vc_column][vc_column width="1/2"][vc_column_text css_animation=""]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][vc_btn title="Read more" style="flat" shape="rounded" color="blue" size="md" align="inline" i_align="left" i_type="fontawesome" i_icon_fontawesome="fa fa-adjust" i_icon_openiconic="vc-oi vc-oi-dial" i_icon_typicons="typcn typcn-adjust-brightness" i_icon_entypo="entypo-icon entypo-icon-note" i_icon_linecons="vc_li vc_li-heart" css_animation="" button_block="" add_icon="" i_icon_pixelicons="vc_pixel_icon vc_pixel_icon-alert"][/vc_column][/vc_row] CONTENT; vc_add_default_templates( $data );// New templates. Since 4.4 /** FAQ section */ $data = array(); $data['name'] = __( 'FAQ section', 'js_composer' ); $data['disabled'] = true; $data['content'] = <<<CONTENT [vc_row][vc_column width="1/1"][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][/vc_column][/vc_row][vc_row][vc_column width="1/1"][vc_separator color="grey"][/vc_column][/vc_row][vc_row][vc_column width="1/1"][vc_toggle title="First question" open="true"]Toggle content goes here, click edit button to change this text.[/vc_toggle][vc_toggle title="Second question" open="false"]Toggle content goes here, click edit button to change this text.[/vc_toggle][vc_toggle title="Third question" open="false"]Toggle content goes here, click edit button to change this text.[/vc_toggle][vc_toggle title="Fourth question" open="false"]Toggle content goes here, click edit button to change this text.[/vc_toggle][vc_toggle title="Fifth question" open="false"]Toggle content goes here, click edit button to change this text.[/vc_toggle][/vc_column][/vc_row] CONTENT; vc_add_default_templates( $data ); /** About section */ $data = array(); $data['name'] = __( 'About section', 'js_composer' ); $data['disabled'] = true; $data['content'] = <<<CONTENT [vc_row][vc_column width="2/3"][vc_custom_heading text="This is custom heading element with Google Fonts" font_container="tag:h2|text_align:left" google_fonts="font_family:Montserrat%3Aregular%2C700|font_style:400%20regular%3A400%3Anormal"][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][/vc_column][vc_column width="1/3"][vc_row_inner][vc_column_inner width="1/1"][vc_single_image border_color="grey" img_link_target="_self" style="vc_box_rounded"][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][/vc_column_inner][/vc_row_inner][vc_separator color="grey"][vc_row_inner][vc_column_inner width="1/1"][vc_single_image border_color="grey" img_link_target="_self" style="vc_box_rounded"][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][/vc_column_inner][/vc_row_inner][/vc_column][/vc_row] CONTENT; vc_add_default_templates( $data ); /** About section */ $data = array(); $data['name'] = __( 'About with features', 'js_composer' ); $data['disabled'] = true; $data['content'] = <<<CONTENT [vc_row][vc_column width="1/1"][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][/vc_column][/vc_row][vc_row][vc_column width="1/3"][vc_single_image alignment="center" border_color="grey" img_link_target="_self" style="vc_box_outline"][vc_column_text]<p style="text-align: center;">I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.</p>[/vc_column_text][/vc_column][vc_column width="1/3"][vc_single_image alignment="center" border_color="grey" img_link_target="_self" style="vc_box_outline"][vc_column_text]<p style="text-align: center;">I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.</p>[/vc_column_text][/vc_column][vc_column width="1/3"][vc_single_image alignment="center" border_color="grey" img_link_target="_self" style="vc_box_outline"][vc_column_text]<p style="text-align: center;">I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.</p>[/vc_column_text][/vc_column][/vc_row][vc_row][vc_column width="1/1"][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][/vc_column][/vc_row] CONTENT; vc_add_default_templates( $data ); /** Three image description */ $data = array(); $data['name'] = __( 'Three image description', 'js_composer' ); $data['disabled'] = true; $data['content'] = <<<CONTENT [vc_row][vc_column width="1/1"][vc_single_image border_color="grey" img_link_target="_self" style="vc_box_rounded"][/vc_column][/vc_row][vc_row][vc_column width="1/2"][vc_single_image border_color="grey" img_link_target="_self" style="vc_box_rounded"][/vc_column][vc_column width="1/2"][vc_single_image border_color="grey" img_link_target="_self" style="vc_box_rounded"][/vc_column][/vc_row][vc_row][vc_column width="1/1"][vc_column_text]<p style="text-align: center;">I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.</p>[/vc_column_text][/vc_column][/vc_row] CONTENT; vc_add_default_templates( $data ); /** News list */ $data = array(); $data['name'] = __( 'News list', 'js_composer' ); $data['disabled'] = true; $data['content'] = <<<CONTENT [vc_row full_width=""][vc_column width="1/2"][vc_single_image image="" alignment="" style="vc_box_outline" border_color="grey" img_link_large="" img_link_target="_self" css_animation=""][/vc_column][vc_column width="1/2"][vc_custom_heading text="This is custom heading element with Google Fonts" font_container="tag:h2|text_align:left" google_fonts="font_family:Montserrat%3Aregular%2C700|font_style:400%20regular%3A400%3Anormal"][vc_column_text css_animation=""]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][vc_btn title="Read more" style="flat" shape="rounded" color="purple" size="md" align="inline" i_align="left" i_type="fontawesome" i_icon_fontawesome="fa fa-adjust" i_icon_openiconic="vc-oi vc-oi-dial" i_icon_typicons="typcn typcn-adjust-brightness" i_icon_entypo="entypo-icon entypo-icon-note" i_icon_linecons="vc_li vc_li-heart" button_block="" add_icon="" i_icon_pixelicons="vc_pixel_icon vc_pixel_icon-alert"][/vc_column][/vc_row][vc_row full_width=""][vc_column width="1/2"][vc_single_image image="" alignment="" style="vc_box_outline" border_color="grey" img_link_large="" img_link_target="_self" css_animation=""][/vc_column][vc_column width="1/2"][vc_custom_heading text="This is custom heading element with Google Fonts" font_container="tag:h2|text_align:left" google_fonts="font_family:Montserrat%3Aregular%2C700|font_style:400%20regular%3A400%3Anormal"][vc_column_text css_animation=""]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][vc_btn title="Read more" style="flat" shape="rounded" color="purple" size="md" align="inline" i_align="left" i_type="fontawesome" i_icon_fontawesome="fa fa-adjust" i_icon_openiconic="vc-oi vc-oi-dial" i_icon_typicons="typcn typcn-adjust-brightness" i_icon_entypo="entypo-icon entypo-icon-note" i_icon_linecons="vc_li vc_li-heart" css_animation="" button_block="" add_icon="" i_icon_pixelicons="vc_pixel_icon vc_pixel_icon-alert"][/vc_column][/vc_row][vc_row full_width=""][vc_column width="1/2"][vc_single_image image="" alignment="" style="vc_box_outline" border_color="grey" img_link_large="" img_link_target="_self" css_animation=""][/vc_column][vc_column width="1/2"][vc_custom_heading text="This is custom heading element with Google Fonts" font_container="tag:h2|text_align:left" google_fonts="font_family:Montserrat%3Aregular%2C700|font_style:400%20regular%3A400%3Anormal"][vc_column_text css_animation=""]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][vc_btn title="Read more" style="flat" shape="rounded" color="purple" size="md" align="inline" i_align="left" i_type="fontawesome" i_icon_fontawesome="fa fa-adjust" i_icon_openiconic="vc-oi vc-oi-dial" i_icon_typicons="typcn typcn-adjust-brightness" i_icon_entypo="entypo-icon entypo-icon-note" i_icon_linecons="vc_li vc_li-heart" css_animation="" button_block="" add_icon="" i_icon_pixelicons="vc_pixel_icon vc_pixel_icon-alert"][/vc_column][/vc_row] CONTENT; vc_add_default_templates( $data ); /** Product description */ $data = array(); $data['name'] = __( 'Product description', 'js_composer' ); $data['disabled'] = true; $data['content'] = <<<CONTENT [vc_row][vc_column width="1/2"][vc_single_image style="vc_box_rounded"][/vc_column][vc_column width="1/2"][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][/vc_column][/vc_row][vc_row][vc_column width="1/2"][/vc_column][vc_column width="1/2"][vc_tta_tabs][vc_tta_section title="Tab 1" tab_id="1441874172163-094e5af5-15d5"][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][/vc_tta_section][vc_tta_section title="Tab 2" tab_id="1441874172283-f430400e-9d32"][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][/vc_tta_section][/vc_tta_tabs][/vc_column][/vc_row] CONTENT; vc_add_default_templates( $data ); /** Description with accordion */ $data = array(); $data['name'] = __( 'Description with accordion', 'js_composer' ); $data['disabled'] = true; $data['content'] = <<<CONTENT [vc_row][vc_column][vc_custom_heading text="This is custom heading element with Google Fonts" font_container="tag:h2|text_align:center" google_fonts="font_family:Montserrat%3Aregular%2C700|font_style:400%20regular%3A400%3Anormal"][vc_column_text] I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo. [/vc_column_text][/vc_column][/vc_row][vc_row][vc_column][vc_tta_accordion][vc_tta_section title="Section 1" tab_id="1441874023656-b1376fe8-b671"][vc_row_inner][vc_column_inner width="1/2"][vc_single_image style="vc_box_outline"][/vc_column_inner][vc_column_inner width="1/2"][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][/vc_column_inner][/vc_row_inner][/vc_tta_section][vc_tta_section title="Section 2" tab_id="1441874023759-fa988392-b9ad"][vc_row_inner][vc_column_inner width="1/2"][vc_single_image style="vc_box_outline"][/vc_column_inner][vc_column_inner width="1/2"][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][/vc_column_inner][/vc_row_inner][/vc_tta_section][/vc_tta_accordion][/vc_column][/vc_row] CONTENT; vc_add_default_templates( $data ); /** Two column list */ $data = array(); $data['name'] = __( 'Two column list', 'js_composer' ); $data['disabled'] = true; $data['content'] = <<<CONTENT [vc_row][vc_column width="1/2"][vc_row_inner][vc_column_inner width="1/2"][vc_single_image border_color="grey" img_link_target="_self" style="vc_box_rounded"][/vc_column_inner][vc_column_inner width="1/2"][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][/vc_column_inner][/vc_row_inner][vc_row_inner][vc_column_inner width="1/2"][vc_single_image border_color="grey" img_link_target="_self" style="vc_box_rounded"][/vc_column_inner][vc_column_inner width="1/2"][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][/vc_column_inner][/vc_row_inner][vc_row_inner][vc_column_inner width="1/2"][vc_single_image border_color="grey" img_link_target="_self" style="vc_box_rounded"][/vc_column_inner][vc_column_inner width="1/2"][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][/vc_column_inner][/vc_row_inner][/vc_column][vc_column width="1/2"][vc_row_inner][vc_column_inner width="1/2"][vc_single_image border_color="grey" img_link_target="_self" style="vc_box_rounded"][/vc_column_inner][vc_column_inner width="1/2"][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][/vc_column_inner][/vc_row_inner][vc_row_inner][vc_column_inner width="1/2"][vc_single_image border_color="grey" img_link_target="_self" style="vc_box_rounded"][/vc_column_inner][vc_column_inner width="1/2"][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][/vc_column_inner][/vc_row_inner][vc_row_inner][vc_column_inner width="1/2"][vc_single_image border_color="grey" img_link_target="_self" style="vc_box_rounded"][/vc_column_inner][vc_column_inner width="1/2"][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][/vc_column_inner][/vc_row_inner][/vc_column][/vc_row] CONTENT; vc_add_default_templates( $data ); /** About with tour section */ $data = array(); $data['name'] = __( 'About with tour section', 'js_composer' ); $data['disabled'] = true; $data['content'] = <<<CONTENT [vc_row][vc_column width="1/2"][vc_custom_heading text="This is custom heading element with Google Fonts" google_fonts="font_family:Montserrat%3Aregular%2C700|font_style:400%20regular%3A400%3Anormal"][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][/vc_column][vc_column width="1/2"][vc_tta_tour][vc_tta_section title="Section 1" tab_id="1441873848705-137dadc4-4794"][vc_row_inner][vc_column_inner][vc_single_image alignment="center" style="vc_box_border"][vc_column_text] I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo. [/vc_column_text][/vc_column_inner][/vc_row_inner][/vc_tta_section][vc_tta_section title="Section 2" tab_id="1441873848772-340367cb-2989"][vc_row_inner][vc_column_inner][vc_single_image alignment="center" style="vc_box_border"][vc_column_text] I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo. [/vc_column_text][/vc_column_inner][/vc_row_inner][/vc_tta_section][/vc_tta_tour][/vc_column][/vc_row] CONTENT; vc_add_default_templates( $data ); /** Rounded image description */ $data = array(); $data['name'] = __( 'Rounded image description', 'js_composer' ); $data['disabled'] = true; $data['content'] = <<<CONTENT [vc_row][vc_column width="1/1"][vc_single_image alignment="center" style="vc_box_circle" border_color="grey" img_link_target="_self"][vc_column_text]<p style="text-align: center;">I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.</p>[/vc_column_text][/vc_column][/vc_row][vc_row][vc_column width="1/2"][vc_single_image alignment="center" style="vc_box_circle" border_color="grey" img_link_target="_self"][vc_column_text]<p style="text-align: center;">I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.</p>[/vc_column_text][/vc_column][vc_column width="1/2"][vc_single_image alignment="center" style="vc_box_circle" border_color="grey" img_link_target="_self"][vc_column_text]<p style="text-align: center;">I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.</p>[/vc_column_text][/vc_column][/vc_row][vc_row][vc_column width="1/3"][vc_single_image alignment="center" style="vc_box_circle" border_color="grey" img_link_target="_self"][vc_column_text]<p style="text-align: center;">I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.</p>[/vc_column_text][/vc_column][vc_column width="1/3"][vc_single_image alignment="center" style="vc_box_circle" border_color="grey" img_link_target="_self"][vc_column_text]<p style="text-align: center;">I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.</p>[/vc_column_text][/vc_column][vc_column width="1/3"][vc_single_image alignment="center" style="vc_box_circle" border_color="grey" img_link_target="_self"][vc_column_text]<p style="text-align: center;">I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.</p>[/vc_column_text][/vc_column][/vc_row] CONTENT; vc_add_default_templates( $data ); /** Description with success message */ $data = array(); $data['name'] = __( 'Description with success message', 'js_composer' ); $data['disabled'] = true; $data['content'] = <<<CONTENT [vc_row][vc_column width="1/1"][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][vc_message color="alert-success" style="rounded"]I am message box. Click edit button to change this text.[/vc_message][vc_row_inner][vc_column_inner width="1/2"][vc_single_image border_color="grey" img_link_target="_self" style="vc_box_circle"][/vc_column_inner][vc_column_inner width="1/2"][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][/vc_column_inner][/vc_row_inner][/vc_column][/vc_row] CONTENT; vc_add_default_templates( $data ); /** Images with tab description */ $data = array(); $data['name'] = __( 'Images with tab description', 'js_composer' ); $data['disabled'] = true; $data['content'] = <<<CONTENT [vc_row][vc_column width="1/3"][vc_single_image alignment="center" style="vc_box_rounded"][/vc_column][vc_column width="1/3"][vc_single_image alignment="center" style="vc_box_rounded"][/vc_column][vc_column width="1/3"][vc_single_image alignment="center" style="vc_box_rounded"][/vc_column][/vc_row][vc_row][vc_column][vc_text_separator title="Title goes here"][/vc_column][/vc_row][vc_row][vc_column][vc_tta_tabs][vc_tta_section title="Tab 1" tab_id="1441874105744-0aeac9cb-3a3a"][vc_row_inner][vc_column_inner width="1/2"][vc_video][/vc_column_inner][vc_column_inner width="1/2"][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][/vc_column_inner][/vc_row_inner][/vc_tta_section][vc_tta_section title="Tab 2" tab_id="1441874105862-625e36ff-76a2"][vc_row_inner][vc_column_inner width="1/2"][vc_single_image style="vc_box_rounded"][/vc_column_inner][vc_column_inner width="1/2"][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][/vc_column_inner][/vc_row_inner][/vc_tta_section][/vc_tta_tabs][/vc_column][/vc_row] CONTENT; vc_add_default_templates( $data ); /** Square on background */ $data = array(); $data['name'] = __( 'Square on background', 'js_composer' ); $data['disabled'] = true; $data['content'] = <<<CONTENT [vc_row full_width="" css=".vc_custom_1411477992738{background-color: #cecece !important;}"][vc_column width="1/1"][vc_empty_space height="200px"][vc_row_inner][vc_column_inner el_class="" width="1/3"][/vc_column_inner][vc_column_inner el_class="" width="1/3" css=".vc_custom_1411468859742{background-color: #ffffff !important;}"][vc_custom_heading text="This is custom heading element with Google Fonts" font_container="tag:h2|text_align:center|color:%23222222" google_fonts="font_family:Montserrat%3Aregular%2C700|font_style:400%20regular%3A400%3Anormal"][vc_column_text css_animation=""]<p style="text-align: center;">I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.</p>[/vc_column_text][vc_cta h2="Hey! I am first heading line feel free to change me" h2_google_fonts="font_family:Abril%20Fatface%3Aregular|font_style:400%20regular%3A400%3Anormal" h4_google_fonts="font_family:Abril%20Fatface%3Aregular|font_style:400%20regular%3A400%3Anormal" txt_align="center" shape="rounded" style="classic" color="classic" add_button="bottom" btn_title="Try now" btn_style="flat" btn_shape="rounded" btn_color="juicy-pink" btn_size="md" btn_align="center" btn_i_align="left" btn_i_type="fontawesome" btn_i_icon_fontawesome="fa fa-adjust" btn_i_icon_openiconic="vc-oi vc-oi-dial" btn_i_icon_typicons="typcn typcn-adjust-brightness" btn_i_icon_entypo="entypo-icon entypo-icon-note" btn_i_icon_linecons="vc_li vc_li-heart" i_type="fontawesome" i_icon_fontawesome="fa fa-adjust" i_icon_openiconic="vc-oi vc-oi-dial" i_icon_typicons="typcn typcn-adjust-brightness" i_icon_entypo="entypo-icon entypo-icon-note" i_icon_linecons="vc_li vc_li-heart" i_color="blue" i_background_color="grey" i_size="md" use_custom_fonts_h2="" use_custom_fonts_h4="" btn_button_block="" btn_add_icon="" btn_i_icon_pixelicons="vc_pixel_icon vc_pixel_icon-alert" i_on_border=""]I am promo text. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_cta][/vc_column_inner][vc_column_inner el_class="" width="1/3"][/vc_column_inner][/vc_row_inner][vc_empty_space height="200px"][/vc_column][/vc_row] CONTENT; vc_add_default_templates( $data ); /** Product description with tabs */ $data = array(); $data['name'] = __( 'Product description with tabs', 'js_composer' ); $data['disabled'] = true; $data['content'] = <<<CONTENT [vc_row][vc_column width="1/2"][vc_single_image style="vc_box_rounded"][/vc_column][vc_column width="1/2"][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][/vc_column][/vc_row][vc_row][vc_column][vc_tta_tabs][vc_tta_section title="Tab 1" tab_id="1441874218694-385c7ca7-4943"][vc_row_inner][vc_column_inner width="1/2"][vc_video][/vc_column_inner][vc_column_inner width="1/2"][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][/vc_column_inner][/vc_row_inner][/vc_tta_section][vc_tta_section title="Tab 2" tab_id="1441874218832-398800e3-835e"][vc_row_inner][vc_column_inner width="1/2"][vc_single_image style="vc_box_rounded"][/vc_column_inner][vc_column_inner width="1/2"][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][/vc_column_inner][/vc_row_inner][/vc_tta_section][/vc_tta_tabs][/vc_column][/vc_row] CONTENT; vc_add_default_templates( $data ); /** Description with headings */ $data = array(); $data['name'] = __( 'Description with headings', 'js_composer' ); $data['disabled'] = true; $data['content'] = <<<CONTENT [vc_row full_width=""][vc_column width="1/1"][vc_custom_heading text="This is custom heading element with Google Fonts" font_container="tag:h2|text_align:center" google_fonts="font_family:Montserrat%3Aregular%2C700|font_style:400%20regular%3A400%3Anormal"][vc_column_text css_animation=""]<p style="text-align: center;">I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.</p>[/vc_column_text][/vc_column][/vc_row][vc_row full_width=""][vc_column width="1/1"][vc_separator color="grey" align="align_center" style="dashed" border_width="" el_width=""][/vc_column][/vc_row][vc_row full_width=""][vc_column width="1/2"][vc_custom_heading text="This is custom heading element with Google Fonts" font_container="tag:h3|text_align:left" google_fonts="font_family:Montserrat%3Aregular%2C700|font_style:400%20regular%3A400%3Anormal"][vc_column_text css_animation=""]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][vc_btn title="Read more" style="flat" shape="round" color="sandy-brown" size="md" align="inline" i_align="left" i_type="fontawesome" i_icon_fontawesome="fa fa-adjust" i_icon_openiconic="vc-oi vc-oi-dial" i_icon_typicons="typcn typcn-adjust-brightness" i_icon_entypo="entypo-icon entypo-icon-note" i_icon_linecons="vc_li vc_li-heart" button_block="" add_icon="" i_icon_pixelicons="vc_pixel_icon vc_pixel_icon-alert"][/vc_column][vc_column width="1/2"][vc_custom_heading text="This is custom heading element with Google Fonts" font_container="tag:h3|text_align:left" google_fonts="font_family:Montserrat%3Aregular%2C700|font_style:400%20regular%3A400%3Anormal"][vc_column_text css_animation=""]<p style="text-align: left;">I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.</p>[/vc_column_text][vc_btn title="Read more" style="flat" shape="round" color="sandy-brown" size="md" align="inline" i_align="left" i_type="fontawesome" i_icon_fontawesome="fa fa-adjust" i_icon_openiconic="vc-oi vc-oi-dial" i_icon_typicons="typcn typcn-adjust-brightness" i_icon_entypo="entypo-icon entypo-icon-note" i_icon_linecons="vc_li vc_li-heart" css_animation="" button_block="" add_icon="" i_icon_pixelicons="vc_pixel_icon vc_pixel_icon-alert"][/vc_column][/vc_row] CONTENT; vc_add_default_templates( $data ); /** Video description */ $data = array(); $data['name'] = __( 'Video with description', 'js_composer' ); $data['disabled'] = true; $data['content'] = <<<CONTENT [vc_row][vc_column width="1/6"][/vc_column][vc_column width="4/6"][vc_video][/vc_column][vc_column width="1/6"][/vc_column][/vc_row][vc_row][vc_column width="1/1"][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][/vc_column][/vc_row][vc_row][vc_column width="1/1"][vc_separator color="grey" style="dotted"][/vc_column][/vc_row][vc_row][vc_column width="1/2"][vc_row_inner][vc_column_inner width="1/2"][vc_single_image border_color="grey" img_link_target="_self" style="vc_box_rounded"][/vc_column_inner][vc_column_inner width="1/2"][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][/vc_column_inner][/vc_row_inner][/vc_column][vc_column width="1/2"][vc_row_inner][vc_column_inner width="1/2"][vc_single_image border_color="grey" img_link_target="_self" style="vc_box_rounded"][/vc_column_inner][vc_column_inner width="1/2"][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][/vc_column_inner][/vc_row_inner][/vc_column][/vc_row] CONTENT; vc_add_default_templates( $data ); /** Description with buttons */ $data = array(); $data['name'] = __( 'Description with buttons', 'js_composer' ); $data['disabled'] = true; $data['content'] = <<<CONTENT [vc_row full_width=""][vc_column width="1/1"][vc_custom_heading text="This is custom heading element with Google Fonts" font_container="tag:h2|text_align:center" google_fonts="font_family:Montserrat%3Aregular%2C700|font_style:400%20regular%3A400%3Anormal"][vc_column_text css_animation=""]<p style="text-align: center;">I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.</p>[/vc_column_text][/vc_column][/vc_row][vc_row full_width=""][vc_column width="1/2"][vc_custom_heading text="This is custom heading element with Google Fonts" font_container="tag:h3|text_align:left" google_fonts="font_family:Montserrat%3Aregular%2C700|font_style:400%20regular%3A400%3Anormal"][vc_column_text css_animation=""]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][vc_btn title="Read more" style="3d" shape="rounded" color="chino" size="md" align="inline" i_align="left" i_type="fontawesome" i_icon_fontawesome="fa fa-adjust" i_icon_openiconic="vc-oi vc-oi-dial" i_icon_typicons="typcn typcn-adjust-brightness" i_icon_entypo="entypo-icon entypo-icon-note" i_icon_linecons="vc_li vc_li-heart" button_block="" add_icon="" i_icon_pixelicons="vc_pixel_icon vc_pixel_icon-alert"][/vc_column][vc_column width="1/2"][vc_custom_heading text="This is custom heading element with Google Fonts" font_container="tag:h3|text_align:left" google_fonts="font_family:Montserrat%3Aregular%2C700|font_style:400%20regular%3A400%3Anormal"][vc_column_text css_animation=""]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][vc_btn title="Read more" style="3d" shape="rounded" color="chino" size="md" align="inline" i_align="left" i_type="fontawesome" i_icon_fontawesome="fa fa-adjust" i_icon_openiconic="vc-oi vc-oi-dial" i_icon_typicons="typcn typcn-adjust-brightness" i_icon_entypo="entypo-icon entypo-icon-note" i_icon_linecons="vc_li vc_li-heart" css_animation="" button_block="" add_icon="" i_icon_pixelicons="vc_pixel_icon vc_pixel_icon-alert"][/vc_column][/vc_row][vc_row full_width=""][vc_column width="1/3"][vc_custom_heading text="This is custom heading element with Google Fonts" font_container="tag:h4|text_align:left" google_fonts="font_family:Montserrat%3Aregular%2C700|font_style:400%20regular%3A400%3Anormal"][vc_column_text css_animation=""]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][vc_btn title="Read more" style="3d" shape="rounded" color="chino" size="md" align="inline" i_align="left" i_type="fontawesome" i_icon_fontawesome="fa fa-adjust" i_icon_openiconic="vc-oi vc-oi-dial" i_icon_typicons="typcn typcn-adjust-brightness" i_icon_entypo="entypo-icon entypo-icon-note" i_icon_linecons="vc_li vc_li-heart" css_animation="" button_block="" add_icon="" i_icon_pixelicons="vc_pixel_icon vc_pixel_icon-alert"][/vc_column][vc_column width="1/3"][vc_custom_heading text="This is custom heading element with Google Fonts" font_container="tag:h4|text_align:left" google_fonts="font_family:Montserrat%3Aregular%2C700|font_style:400%20regular%3A400%3Anormal"][vc_column_text css_animation=""]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][vc_btn title="Read more" style="3d" shape="rounded" color="chino" size="md" align="inline" i_align="left" i_type="fontawesome" i_icon_fontawesome="fa fa-adjust" i_icon_openiconic="vc-oi vc-oi-dial" i_icon_typicons="typcn typcn-adjust-brightness" i_icon_entypo="entypo-icon entypo-icon-note" i_icon_linecons="vc_li vc_li-heart" css_animation="" button_block="" add_icon="" i_icon_pixelicons="vc_pixel_icon vc_pixel_icon-alert"][/vc_column][vc_column width="1/3"][vc_custom_heading text="This is custom heading element with Google Fonts" font_container="tag:h4|text_align:left" google_fonts="font_family:Montserrat%3Aregular%2C700|font_style:400%20regular%3A400%3Anormal"][vc_column_text css_animation=""]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][vc_btn title="Read more" style="3d" shape="rounded" color="chino" size="md" align="inline" i_align="left" i_type="fontawesome" i_icon_fontawesome="fa fa-adjust" i_icon_openiconic="vc-oi vc-oi-dial" i_icon_typicons="typcn typcn-adjust-brightness" i_icon_entypo="entypo-icon entypo-icon-note" i_icon_linecons="vc_li vc_li-heart" css_animation="" button_block="" add_icon="" i_icon_pixelicons="vc_pixel_icon vc_pixel_icon-alert"][/vc_column][/vc_row] CONTENT; vc_add_default_templates( $data ); /** Map and Contacts */ $data = array(); $data['name'] = __( 'Map and Contacts', 'js_composer' ); $data['disabled'] = true; $data['content'] = <<<CONTENT [vc_row][vc_column width="1/1"][vc_custom_heading text="This is custom heading element with Google Fonts" font_container="tag:h2|text_align:center" google_fonts="font_family:Montserrat%3Aregular%2C700|font_style:400%20regular%3A400%3Anormal"][vc_row_inner][vc_column_inner width="2/3"][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][/vc_column_inner][vc_column_inner width="1/3"][vc_single_image border_color="grey" img_link_target="_self" style="vc_box_rounded"][/vc_column_inner][/vc_row_inner][/vc_column][/vc_row][vc_row][vc_column width="1/1"][vc_gmaps size="300"][/vc_column][/vc_row][vc_row][vc_column width="1/1"][vc_custom_heading text="This is custom heading element with Google Fonts" font_container="tag:h2|text_align:center" google_fonts="font_family:Montserrat%3Aregular%2C700|font_style:400%20regular%3A400%3Anormal"][vc_column_text]<p style="text-align: center;">I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.</p>[/vc_column_text][/vc_column][/vc_row] CONTENT; vc_add_default_templates( $data ); /** Help section */ $data = array(); $data['name'] = __( 'Help section', 'js_composer' ); $data['disabled'] = true; $data['content'] = <<<CONTENT [vc_row][vc_column width="1/2"][vc_toggle title="First question" open="false"]Toggle content goes here, click edit button to change this text.[/vc_toggle][vc_toggle title="Second question" open="false"]Toggle content goes here, click edit button to change this text.[/vc_toggle][vc_toggle title="Third question" open="false"]Toggle content goes here, click edit button to change this text.[/vc_toggle][/vc_column][vc_column width="1/2"][vc_toggle title="Fourth question" open="false"]Toggle content goes here, click edit button to change this text.[/vc_toggle][vc_toggle title="Fifth question" open="false"]Toggle content goes here, click edit button to change this text.[/vc_toggle][vc_toggle title="Sixth question" open="false"]Toggle content goes here, click edit button to change this text.[/vc_toggle][/vc_column][/vc_row][vc_row][vc_column width="1/1"][vc_custom_heading text="This is custom heading element with Google Fonts" font_container="tag:h3|text_align:center" google_fonts="font_family:Montserrat%3Aregular%2C700|font_style:400%20regular%3A400%3Anormal"][vc_column_text]<p style="text-align: center;">I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.</p>[/vc_column_text][/vc_column][/vc_row] CONTENT; vc_add_default_templates( $data ); /** Screen description */ $data = array(); $data['name'] = __( 'Screen description', 'js_composer' ); $data['disabled'] = true; $data['content'] = <<<CONTENT [vc_row][vc_column width="1/4"][vc_row_inner][vc_column_inner width="1/1"][vc_custom_heading text="This is custom heading element with Google Fonts" font_container="tag:h3|text_align:left" google_fonts="font_family:Montserrat%3Aregular%2C700|font_style:400%20regular%3A400%3Anormal"][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][/vc_column_inner][/vc_row_inner][/vc_column][vc_column width="2/4"][vc_single_image alignment="center" border_color="grey" img_link_target="_self"][/vc_column][vc_column width="1/4"][vc_row_inner][vc_column_inner width="1/1"][vc_custom_heading text="This is custom heading element with Google Fonts" font_container="tag:h3|text_align:left" google_fonts="font_family:Montserrat%3Aregular%2C700|font_style:400%20regular%3A400%3Anormal"][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][/vc_column_inner][/vc_row_inner][/vc_column][/vc_row] CONTENT; vc_add_default_templates( $data ); /** Description with round images*/ $data = array(); $data['name'] = __( 'Description with round images', 'js_composer' ); $data['disabled'] = true; $data['content'] = <<<CONTENT [vc_row][vc_column width="1/1"][vc_custom_heading text="This is custom heading element with Google Fonts" font_container="tag:h2|text_align:center" google_fonts="font_family:Montserrat%3Aregular%2C700|font_style:400%20regular%3A400%3Anormal"][vc_column_text]<p style="text-align: center;">I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.</p>[/vc_column_text][/vc_column][/vc_row][vc_row][vc_column width="1/3"][vc_single_image alignment="center" style="vc_box_circle" border_color="grey" img_link_target="_self"][/vc_column][vc_column width="1/3"][vc_single_image alignment="center" style="vc_box_circle" border_color="grey" img_link_target="_self"][/vc_column][vc_column width="1/3"][vc_single_image alignment="center" style="vc_box_circle" border_color="grey" img_link_target="_self"][/vc_column][/vc_row][vc_row][vc_column width="1/1"][vc_column_text]<p style="text-align: center;">I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.</p>[/vc_column_text][/vc_column][/vc_row] CONTENT; vc_add_default_templates( $data ); /** FAQ in three columns */ $data = array(); $data['name'] = __( 'FAQ in three columns', 'js_composer' ); $data['disabled'] = true; $data['content'] = <<<CONTENT [vc_row][vc_column width="1/1"][vc_custom_heading text="This is custom heading element with Google Fonts" font_container="tag:h2|text_align:center" google_fonts="font_family:Montserrat%3Aregular%2C700|font_style:400%20regular%3A400%3Anormal"][vc_column_text]<p style="text-align: center;">I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.</p>[/vc_column_text][/vc_column][/vc_row][vc_row][vc_column width="1/1"][vc_separator color="grey" style="double"][/vc_column][/vc_row][vc_row][vc_column width="1/3"][vc_toggle title="First question" open="false"]Toggle content goes here, click edit button to change this text.[/vc_toggle][vc_toggle title="Second question" open="false"]Toggle content goes here, click edit button to change this text.[/vc_toggle][/vc_column][vc_column width="1/3"][vc_toggle title="Third question" open="false"]Toggle content goes here, click edit button to change this text.[/vc_toggle][vc_toggle title="Fourth question" open="false"]Toggle content goes here, click edit button to change this text.[/vc_toggle][/vc_column][vc_column width="1/3"][vc_toggle title="Fifth question" open="false"]Toggle content goes here, click edit button to change this text.[/vc_toggle][vc_toggle title="Sixth question" open="false"]Toggle content goes here, click edit button to change this text.[/vc_toggle][/vc_column][/vc_row] CONTENT; vc_add_default_templates( $data ); /** Centre description */ $data = array(); $data['name'] = __( 'Centre description', 'js_composer' ); $data['disabled'] = true; $data['content'] = <<<CONTENT [vc_row css=".vc_custom_1411476739640{padding-top: 50px !important;padding-bottom: 50px !important;background-color: #e8e8e8 !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}"][vc_column width="1/1"][vc_row_inner][vc_column_inner width="1/3"][/vc_column_inner][vc_column_inner width="1/3"][vc_custom_heading text="This is custom heading element with Google Fonts" font_container="tag:h2|text_align:center" google_fonts="font_family:Montserrat%3Aregular%2C700|font_style:400%20regular%3A400%3Anormal"][vc_column_text]<p style="text-align: center;">I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.</p>[/vc_column_text][/vc_column_inner][vc_column_inner width="1/3"][/vc_column_inner][/vc_row_inner][/vc_column][/vc_row] CONTENT; vc_add_default_templates( $data ); /** Description with gallery */ $data = array(); $data['name'] = __( 'Description with gallery', 'js_composer' ); $data['disabled'] = true; $data['content'] = <<<CONTENT [vc_row][vc_column width="1/3"][vc_custom_heading text="This is custom heading element with Google Fonts" font_container="tag:h2|text_align:left" google_fonts="font_family:Montserrat%3Aregular%2C700|font_style:400%20regular%3A400%3Anormal"][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][/vc_column][vc_column width="1/3"][vc_single_image border_color="grey" img_link_target="_self" style="vc_box_outline" alignment="center"][vc_single_image border_color="grey" img_link_target="_self" style="vc_box_outline" alignment="center"][vc_single_image border_color="grey" img_link_target="_self" style="vc_box_outline" alignment="center"][/vc_column][vc_column width="1/3"][vc_single_image border_color="grey" img_link_target="_self" style="vc_box_outline" alignment="center"][vc_single_image border_color="grey" img_link_target="_self" style="vc_box_outline" alignment="center"][vc_single_image border_color="grey" img_link_target="_self" style="vc_box_outline" alignment="center"][/vc_column][/vc_row] CONTENT; vc_add_default_templates( $data ); /** Centre description with image */ $data = array(); $data['name'] = __( 'Centre description with image', 'js_composer' ); $data['disabled'] = true; $data['content'] = <<<CONTENT [vc_row css=".vc_custom_1411476638326{padding-top: 50px !important;padding-bottom: 50px !important;background-color: #eaeaea !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}"][vc_column width="1/1"][vc_row_inner][vc_column_inner width="1/3"][/vc_column_inner][vc_column_inner width="1/3"][vc_single_image border_color="grey" img_link_target="_self" style="vc_box_rounded"][vc_custom_heading text="This is custom heading element with Google Fonts" font_container="tag:h3|text_align:center" google_fonts="font_family:Montserrat%3Aregular%2C700|font_style:400%20regular%3A400%3Anormal"][/vc_column_inner][vc_column_inner width="1/3"][/vc_column_inner][/vc_row_inner][/vc_column][/vc_row] CONTENT; vc_add_default_templates( $data ); /** Description with thumbnails */ $data = array(); $data['name'] = __( 'Description with thumbnails', 'js_composer' ); $data['disabled'] = true; $data['content'] = <<<CONTENT [vc_row][vc_column width="1/1"][vc_column_text]<p style="text-align: center;">I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.</p>[/vc_column_text][/vc_column][/vc_row][vc_row][vc_column width="1/4"][vc_single_image alignment="center" border_color="grey" img_link_target="_self" style="vc_box_rounded"][/vc_column][vc_column width="1/4"][vc_single_image alignment="center" border_color="grey" img_link_target="_self" style="vc_box_rounded"][/vc_column][vc_column width="1/4"][vc_single_image alignment="center" border_color="grey" img_link_target="_self" style="vc_box_rounded"][/vc_column][vc_column width="1/4"][vc_single_image alignment="center" border_color="grey" img_link_target="_self" style="vc_box_rounded"][/vc_column][/vc_row][vc_row][vc_column width="1/4"][vc_single_image alignment="center" border_color="grey" img_link_target="_self" style="vc_box_rounded"][/vc_column][vc_column width="1/4"][vc_single_image alignment="center" border_color="grey" img_link_target="_self" style="vc_box_rounded"][/vc_column][vc_column width="1/4"][vc_single_image alignment="center" border_color="grey" img_link_target="_self" style="vc_box_rounded"][/vc_column][vc_column width="1/4"][vc_single_image alignment="center" border_color="grey" img_link_target="_self" style="vc_box_rounded"][/vc_column][/vc_row][vc_row][vc_column width="1/1"][vc_column_text]<p style="text-align: center;">I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.</p>[/vc_column_text][/vc_column][/vc_row] CONTENT; vc_add_default_templates( $data ); /** About with left gallery */ $data = array(); $data['name'] = __( 'About with left gallery', 'js_composer' ); $data['disabled'] = true; $data['content'] = <<<CONTENT [vc_row][vc_column width="1/4"][vc_single_image border_color="grey" img_link_target="_self" style="vc_box_rounded"][vc_single_image border_color="grey" img_link_target="_self" style="vc_box_rounded"][vc_single_image border_color="grey" img_link_target="_self" style="vc_box_rounded"][/vc_column][vc_column width="3/4"][vc_custom_heading text="This is custom heading element with Google Fonts" font_container="tag:h2|text_align:left" google_fonts="font_family:Montserrat%3Aregular%2C700|font_style:400%20regular%3A400%3Anormal"][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][/vc_column][/vc_row] CONTENT; vc_add_default_templates( $data ); /** Five image layout */ $data = array(); $data['name'] = __( 'Five image layout', 'js_composer' ); $data['disabled'] = true; $data['content'] = <<<CONTENT [vc_row][vc_column width="2/3"][vc_single_image border_color="grey" img_link_target="_self" style="vc_box_rounded"][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][vc_row_inner][vc_column_inner width="1/2"][vc_single_image border_color="grey" img_link_target="_self" style="vc_box_rounded"][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][/vc_column_inner][vc_column_inner width="1/2"][vc_single_image border_color="grey" img_link_target="_self" style="vc_box_rounded"][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][/vc_column_inner][/vc_row_inner][/vc_column][vc_column width="1/3"][vc_single_image border_color="grey" img_link_target="_self" style="vc_box_rounded"][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][vc_single_image border_color="grey" img_link_target="_self" style="vc_box_rounded"][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][/vc_column][/vc_row] CONTENT; vc_add_default_templates( $data ); /** Accordion news list */ $data = array(); $data['name'] = __( 'Accordion news list', 'js_composer' ); $data['disabled'] = true; $data['content'] = <<<CONTENT [vc_row][vc_column][vc_tta_accordion][vc_tta_section title="Section 1" tab_id="1441873920568-18a8a48a-7614"][vc_row_inner][vc_column_inner width="1/4"][vc_single_image alignment="" style="vc_box_rounded"][/vc_column_inner][vc_column_inner width="3/4"][vc_custom_heading text="This is custom heading element with Google Fonts" google_fonts="font_family:Montserrat%3Aregular%2C700|font_style:400%20regular%3A400%3Anormal"][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][vc_btn title="Read more" style="flat" color="juicy-pink"][/vc_column_inner][/vc_row_inner][vc_row_inner][vc_column_inner width="1/4"][vc_single_image alignment="" style="vc_box_rounded"][/vc_column_inner][vc_column_inner width="3/4"][vc_custom_heading text="This is custom heading element with Google Fonts" google_fonts="font_family:Montserrat%3Aregular%2C700|font_style:400%20regular%3A400%3Anormal"][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][vc_btn title="Read more" style="flat" color="juicy-pink"][/vc_column_inner][/vc_row_inner][/vc_tta_section][vc_tta_section title="Section 2" tab_id="1441873920660-a173daba-0456"][vc_row_inner][vc_column_inner width="1/4"][vc_single_image alignment="" style="vc_box_rounded"][/vc_column_inner][vc_column_inner width="3/4"][vc_custom_heading text="This is custom heading element with Google Fonts" google_fonts="font_family:Montserrat%3Aregular%2C700|font_style:400%20regular%3A400%3Anormal"][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][vc_btn title="Read more" style="flat" color="juicy-pink"][/vc_column_inner][/vc_row_inner][vc_row_inner][vc_column_inner width="1/4"][vc_single_image alignment="" style="vc_box_rounded"][/vc_column_inner][vc_column_inner width="3/4"][vc_custom_heading text="This is custom heading element with Google Fonts" google_fonts="font_family:Montserrat%3Aregular%2C700|font_style:400%20regular%3A400%3Anormal"][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][vc_btn title="Read more" style="flat" color="juicy-pink"][/vc_column_inner][/vc_row_inner][/vc_tta_section][/vc_tta_accordion][/vc_column][/vc_row] CONTENT; vc_add_default_templates( $data ); /** Product with social icons */ $data = array(); $data['name'] = __( 'Product with social icons', 'js_composer' ); $data['disabled'] = true; $data['content'] = <<<CONTENT [vc_row][vc_column width="1/2"][vc_single_image border_color="grey" img_link_target="_self" style="vc_box_border"][/vc_column][vc_column width="1/2"][vc_custom_heading text="This is custom heading element with Google Fonts" font_container="tag:h2|text_align:left" google_fonts="font_family:Montserrat%3Aregular%2C700|font_style:400%20regular%3A400%3Anormal"][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][vc_row_inner][vc_column_inner width="1/3"][vc_facebook type="standard"][/vc_column_inner][vc_column_inner width="1/3"][vc_tweetmeme type="none"][/vc_column_inner][vc_column_inner width="1/3"][vc_googleplus annotation="none"][/vc_column_inner][/vc_row_inner][/vc_column][/vc_row] CONTENT; vc_add_default_templates( $data ); /** Complex news layout */ $data = array(); $data['name'] = __( 'Complex news layout', 'js_composer' ); $data['disabled'] = true; $data['content'] = <<<CONTENT [vc_row full_width=""][vc_column width="2/3"][vc_row_inner][vc_column_inner el_class="" width="1/2"][vc_single_image image="" alignment="" style="vc_box_border" border_color="grey" img_link_large="" img_link_target="_self" css_animation=""][/vc_column_inner][vc_column_inner el_class="" width="1/2"][vc_custom_heading text="This is custom heading element with Google Fonts" font_container="tag:h2|text_align:left" google_fonts="font_family:Montserrat%3Aregular%2C700|font_style:400%20regular%3A400%3Anormal"][vc_column_text css_animation=""]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][vc_btn title="Read more" style="flat" shape="rounded" color="mulled-wine" size="md" align="inline" i_align="left" i_type="fontawesome" i_icon_fontawesome="fa fa-adjust" i_icon_openiconic="vc-oi vc-oi-dial" i_icon_typicons="typcn typcn-adjust-brightness" i_icon_entypo="entypo-icon entypo-icon-note" i_icon_linecons="vc_li vc_li-heart" button_block="" add_icon="" i_icon_pixelicons="vc_pixel_icon vc_pixel_icon-alert"][/vc_column_inner][/vc_row_inner][vc_row_inner][vc_column_inner el_class="" width="1/2"][vc_single_image image="" alignment="" style="vc_box_border" border_color="grey" img_link_large="" img_link_target="_self" css_animation=""][/vc_column_inner][vc_column_inner el_class="" width="1/2"][vc_custom_heading text="This is custom heading element with Google Fonts" font_container="tag:h2|text_align:left" google_fonts="font_family:Montserrat%3Aregular%2C700|font_style:400%20regular%3A400%3Anormal"][vc_column_text css_animation=""]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][vc_btn title="Read more" style="flat" shape="rounded" color="mulled-wine" size="md" align="inline" i_align="left" i_type="fontawesome" i_icon_fontawesome="fa fa-adjust" i_icon_openiconic="vc-oi vc-oi-dial" i_icon_typicons="typcn typcn-adjust-brightness" i_icon_entypo="entypo-icon entypo-icon-note" i_icon_linecons="vc_li vc_li-heart" css_animation="" button_block="" add_icon="" i_icon_pixelicons="vc_pixel_icon vc_pixel_icon-alert"][/vc_column_inner][/vc_row_inner][/vc_column][vc_column width="1/3"][vc_row_inner][vc_column_inner el_class="" width="1/1"][vc_custom_heading text="This is custom heading element with Google Fonts" font_container="tag:h3|text_align:left" google_fonts="font_family:Montserrat%3Aregular%2C700|font_style:400%20regular%3A400%3Anormal"][vc_column_text css_animation=""]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][/vc_column_inner][/vc_row_inner][vc_row_inner][vc_column_inner el_class="" width="1/1"][vc_custom_heading text="This is custom heading element with Google Fonts" font_container="tag:h3|text_align:left" google_fonts="font_family:Montserrat%3Aregular%2C700|font_style:400%20regular%3A400%3Anormal"][vc_column_text css_animation=""]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][/vc_column_inner][/vc_row_inner][/vc_column][/vc_row] CONTENT; vc_add_default_templates( $data ); /** Product list with CTA */ $data = array(); $data['name'] = __( 'Product list with CTA', 'js_composer' ); $data['disabled'] = true; $data['content'] = <<<CONTENT [vc_row full_width=""][vc_column width="1/3"][vc_single_image image="" alignment="" style="vc_box_outline" border_color="grey" img_link_large="" img_link_target="_self" css_animation=""][vc_column_text css_animation=""]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][/vc_column][vc_column width="1/3"][vc_single_image image="" alignment="" style="vc_box_outline" border_color="grey" img_link_large="" img_link_target="_self" css_animation=""][vc_column_text css_animation=""]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][/vc_column][vc_column width="1/3"][vc_single_image image="" alignment="" style="vc_box_outline" border_color="grey" img_link_large="" img_link_target="_self" css_animation=""][vc_column_text css_animation=""]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][/vc_column][/vc_row][vc_row full_width=""][vc_column width="1/1"][vc_cta h2="Hey! I am first heading line feel free to change me" h2_google_fonts="font_family:Abril%20Fatface%3Aregular|font_style:400%20regular%3A400%3Anormal" h4_google_fonts="font_family:Abril%20Fatface%3Aregular|font_style:400%20regular%3A400%3Anormal" txt_align="left" shape="rounded" style="classic" color="classic" add_button="right" btn_title="Read more" btn_style="flat" btn_shape="rounded" btn_color="juicy-pink" btn_size="md" btn_align="inline" btn_i_align="left" btn_i_type="fontawesome" btn_i_icon_fontawesome="fa fa-adjust" btn_i_icon_openiconic="vc-oi vc-oi-dial" btn_i_icon_typicons="typcn typcn-adjust-brightness" btn_i_icon_entypo="entypo-icon entypo-icon-note" btn_i_icon_linecons="vc_li vc_li-heart" i_type="fontawesome" i_icon_fontawesome="fa fa-adjust" i_icon_openiconic="vc-oi vc-oi-dial" i_icon_typicons="typcn typcn-adjust-brightness" i_icon_entypo="entypo-icon entypo-icon-note" i_icon_linecons="vc_li vc_li-heart" i_color="blue" i_background_color="grey" i_size="md" use_custom_fonts_h2="" use_custom_fonts_h4="" btn_button_block="" btn_add_icon="" btn_i_icon_pixelicons="vc_pixel_icon vc_pixel_icon-alert" i_on_border=""]I am promo text. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_cta][/vc_column][/vc_row][vc_row full_width=""][vc_column width="1/3"][vc_single_image image="" alignment="" style="vc_box_outline" border_color="grey" img_link_large="" img_link_target="_self" css_animation=""][vc_column_text css_animation=""]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][/vc_column][vc_column width="1/3"][vc_single_image image="" alignment="" style="vc_box_outline" border_color="grey" img_link_large="" img_link_target="_self" css_animation=""][vc_column_text css_animation=""]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][/vc_column][vc_column width="1/3"][vc_single_image image="" alignment="" style="vc_box_outline" border_color="grey" img_link_large="" img_link_target="_self" css_animation=""][vc_column_text css_animation=""]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][/vc_column][/vc_row] CONTENT; vc_add_default_templates( $data ); /** Intro with features */ $data = array(); $data['name'] = __( 'Intro with features', 'js_composer' ); $data['disabled'] = true; $data['content'] = <<<CONTENT [vc_row][vc_column width="1/1"][vc_single_image style="vc_box_rounded" border_color="grey" img_link_target="_self"][/vc_column][/vc_row][vc_row css=".vc_custom_1411479622940{padding-top: 10px !important;padding-bottom: 10px !important;background-color: #ededed !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}"][vc_column width="1/2"][vc_single_image style="vc_box_rounded" border_color="grey" img_link_target="_self"][/vc_column][vc_column width="1/2"][vc_custom_heading text="This is custom heading element with Google Fonts" font_container="tag:h2|text_align:left" google_fonts="font_family:Montserrat%3Aregular%2C700|font_style:400%20regular%3A400%3Anormal"][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][/vc_column][/vc_row][vc_row css=".vc_custom_1411479636520{padding-top: 10px !important;padding-bottom: 10px !important;background-color: #ededed !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}"][vc_column width="1/2"][vc_custom_heading text="This is custom heading element with Google Fonts" font_container="tag:h2|text_align:left" google_fonts="font_family:Montserrat%3Aregular%2C700|font_style:400%20regular%3A400%3Anormal"][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][/vc_column][vc_column width="1/2"][vc_single_image style="vc_box_rounded" border_color="grey" img_link_target="_self"][/vc_column][/vc_row] CONTENT; vc_add_default_templates( $data ); /** Image gallery with description */ $data = array(); $data['name'] = __( 'Image gallery with description', 'js_composer' ); $data['disabled'] = true; $data['content'] = <<<CONTENT [vc_row][vc_column width="1/1"][vc_gallery type="flexslider_fade" interval="3" onclick="link_image" custom_links_target="_self"][/vc_column][/vc_row][vc_row css=".vc_custom_1411478929680{padding-top: 25px !important;padding-bottom: 25px !important;background-color: #e8e8e8 !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}"][vc_column width="1/4"][vc_column_text]<p style="text-align: right;">I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.</p>[/vc_column_text][/vc_column][vc_column width="1/2"][vc_single_image alignment="center" style="vc_box_rounded" border_color="grey" img_link_target="_self"][/vc_column][vc_column width="1/4"][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][/vc_column][/vc_row] CONTENT; vc_add_default_templates( $data ); /** Team members */ $data = array(); $data['name'] = __( 'Team members', 'js_composer' ); $data['disabled'] = true; $data['content'] = <<<CONTENT [vc_row][vc_column width="1/1"][vc_custom_heading text="This is custom heading element with Google Fonts" font_container="tag:h2|text_align:center" google_fonts="font_family:Montserrat%3Aregular%2C700|font_style:400%20regular%3A400%3Anormal"][/vc_column][/vc_row][vc_row][vc_column width="1/4"][vc_single_image alignment="center" style="vc_box_circle" border_color="grey" img_link_target="_self"][vc_column_text]<p style="text-align: center;">I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.</p>[/vc_column_text][/vc_column][vc_column width="1/4"][vc_single_image alignment="center" style="vc_box_circle" border_color="grey" img_link_target="_self"][vc_column_text]<p style="text-align: center;">I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.</p>[/vc_column_text][/vc_column][vc_column width="1/4"][vc_single_image alignment="center" style="vc_box_circle" border_color="grey" img_link_target="_self"][vc_column_text]<p style="text-align: center;">I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.</p>[/vc_column_text][/vc_column][vc_column width="1/4"][vc_single_image alignment="center" style="vc_box_circle" border_color="grey" img_link_target="_self"][vc_column_text]<p style="text-align: center;">I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.</p>[/vc_column_text][/vc_column][/vc_row] CONTENT; vc_add_default_templates( $data ); /** Large image with thumbnails */ $data = array(); $data['name'] = __( 'Large image with thumbnails', 'js_composer' ); $data['disabled'] = true; $data['content'] = <<<CONTENT [vc_row][vc_column width="1/2"][vc_single_image style="vc_box_rounded" border_color="grey" img_link_target="_self"][/vc_column][vc_column width="1/2"][vc_row_inner][vc_column_inner width="1/2"][vc_single_image style="vc_box_rounded" border_color="grey" img_link_target="_self"][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][/vc_column_inner][vc_column_inner width="1/2"][vc_single_image style="vc_box_rounded" border_color="grey" img_link_target="_self"][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][/vc_column_inner][/vc_row_inner][vc_row_inner][vc_column_inner width="1/2"][vc_single_image style="vc_box_rounded" border_color="grey" img_link_target="_self"][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][/vc_column_inner][vc_column_inner width="1/2"][vc_single_image style="vc_box_rounded" border_color="grey" img_link_target="_self"][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][/vc_column_inner][/vc_row_inner][/vc_column][/vc_row] CONTENT; vc_add_default_templates( $data ); /** Complex news layout II */ $data = array(); $data['name'] = __( 'Complex news layout II', 'js_composer' ); $data['disabled'] = true; $data['content'] = <<<CONTENT [vc_row][vc_column width="1/3"][vc_single_image alignment="center" style="vc_box_rounded" border_color="grey" img_link_target="_self"][vc_custom_heading text="This is custom heading element with Google Fonts" font_container="tag:h2|text_align:left" google_fonts="font_family:Montserrat%3Aregular%2C700|font_style:400%20regular%3A400%3Anormal"][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][/vc_column][vc_column width="1/3"][vc_row_inner][vc_column_inner width="1/1"][vc_custom_heading text="This is custom heading element with Google Fonts" font_container="tag:h2|text_align:left" google_fonts="font_family:Montserrat%3Aregular%2C700|font_style:400%20regular%3A400%3Anormal"][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][/vc_column_inner][/vc_row_inner][vc_row_inner][vc_column_inner width="1/1"][vc_custom_heading text="This is custom heading element with Google Fonts" font_container="tag:h2|text_align:left" google_fonts="font_family:Montserrat%3Aregular%2C700|font_style:400%20regular%3A400%3Anormal"][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][/vc_column_inner][/vc_row_inner][/vc_column][vc_column width="1/3"][vc_row_inner][vc_column_inner width="1/2"][vc_single_image style="vc_box_rounded" border_color="grey" img_link_target="_self"][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][/vc_column_inner][vc_column_inner width="1/2"][vc_single_image style="vc_box_rounded" border_color="grey" img_link_target="_self"][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][/vc_column_inner][/vc_row_inner][/vc_column][/vc_row] CONTENT; vc_add_default_templates( $data ); /** Service description layout */ $data = array(); $data['name'] = __( 'Service description layout', 'js_composer' ); $data['disabled'] = true; $data['content'] = <<<CONTENT [vc_row][vc_column width="1/3"][vc_single_image alignment="center" style="vc_box_rounded" border_color="grey" img_link_target="_self"][vc_custom_heading text="This is custom heading element with Google Fonts" font_container="tag:h2|text_align:left" google_fonts="font_family:Montserrat%3Aregular%2C700|font_style:400%20regular%3A400%3Anormal"][/vc_column][vc_column width="1/3"][vc_custom_heading text="This is custom heading element with Google Fonts" font_container="tag:h2|text_align:left" google_fonts="font_family:Montserrat%3Aregular%2C700|font_style:400%20regular%3A400%3Anormal"][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][/vc_column][vc_column width="1/3"][vc_single_image alignment="center" style="vc_box_rounded" border_color="grey" img_link_target="_self"][vc_custom_heading text="This is custom heading element with Google Fonts" font_container="tag:h2|text_align:left" google_fonts="font_family:Montserrat%3Aregular%2C700|font_style:400%20regular%3A400%3Anormal"][/vc_column][/vc_row] CONTENT; vc_add_default_templates( $data ); /** Articles with headings */ $data = array(); $data['name'] = __( 'Articles with headings', 'js_composer' ); $data['disabled'] = true; $data['content'] = <<<CONTENT [vc_row full_width="stretch_row" css=".vc_custom_1436530910893{background-color: #32a363 !important;}"][vc_column][vc_empty_space height="200px"][/vc_column][/vc_row][vc_row][vc_column width="1/3"][vc_custom_heading text="CUSTOM HEADING FOR ROW" font_container="tag:h1|text_align:left" use_theme_fonts="yes" css=".vc_custom_1436530789421{margin-top: 0px !important;}"][/vc_column][vc_column width="1/3"][vc_custom_heading text="Heading with Theme Font" font_container="tag:h3|text_align:left" use_theme_fonts="yes" css=".vc_custom_1436530550784{margin-top: 0px !important;}"][vc_column_text css=".vc_custom_1436530603605{margin-bottom: 15px !important;}"] This is a block where you can quickly describe less important services or side services which do not require lot of attention or maybe are the part of the main product or service. [/vc_column_text][/vc_column][vc_column width="1/3"][vc_custom_heading text="Heading with Theme Font" font_container="tag:h3|text_align:left" use_theme_fonts="yes" css=".vc_custom_1436530550784{margin-top: 0px !important;}"][vc_column_text css=".vc_custom_1436530603605{margin-bottom: 15px !important;}"] This is a block where you can quickly describe less important services or side services which do not require lot of attention or maybe are the part of the main product or service. [/vc_column_text][/vc_column][/vc_row][vc_row][vc_column][vc_separator][/vc_column][/vc_row][vc_row][vc_column width="1/3"][vc_custom_heading text="CUSTOM HEADING FOR ROW" font_container="tag:h1|text_align:left" use_theme_fonts="yes" css=".vc_custom_1436530789421{margin-top: 0px !important;}"][/vc_column][vc_column width="1/3"][vc_custom_heading text="Heading with Theme Font" font_container="tag:h3|text_align:left" use_theme_fonts="yes" css=".vc_custom_1436530550784{margin-top: 0px !important;}"][vc_column_text css=".vc_custom_1436530603605{margin-bottom: 15px !important;}"] This is a block where you can quickly describe less important services or side services which do not require lot of attention or maybe are the part of the main product or service. [/vc_column_text][/vc_column][vc_column width="1/3"][vc_custom_heading text="Heading with Theme Font" font_container="tag:h3|text_align:left" use_theme_fonts="yes" css=".vc_custom_1436530550784{margin-top: 0px !important;}"][vc_column_text css=".vc_custom_1436530603605{margin-bottom: 15px !important;}"] This is a block where you can quickly describe less important services or side services which do not require lot of attention or maybe are the part of the main product or service. [/vc_column_text][/vc_column][/vc_row] CONTENT; vc_add_default_templates( $data ); /** Call to Action section */ $data = array(); $data['name'] = __( 'Call to Action section', 'js_composer' ); $data['disabled'] = true; $data['content'] = <<<CONTENT [vc_row full_width="stretch_row" parallax="content-moving" css=".vc_custom_1434539542642{padding-top: 100px !important;padding-bottom: 50px !important;background-color: #587199 !important;}"][vc_column][vc_video][vc_custom_heading text="Call to Action Section with Custom Heading" font_container="tag:h2|text_align:center|color:%23ffffff" use_theme_fonts="yes" css=".vc_custom_1434539595945{padding-bottom: 10px !important;}"][vc_column_text css=".vc_custom_1434539588856{margin-bottom: 0px !important;}"] Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. [/vc_column_text][vc_row_inner][vc_column_inner width="1/2"][vc_btn title="Purchase Now" style="flat" color="danger" align="right"][/vc_column_inner][vc_column_inner width="1/2"][vc_btn title="Purchase Now" style="outline" color="white" align="left"][/vc_column_inner][/vc_row_inner][/vc_column][/vc_row] CONTENT; vc_add_default_templates( $data ); /** Charts section */ $data = array(); $data['name'] = __( 'Charts section', 'js_composer' ); $data['disabled'] = true; $data['content'] = <<<CONTENT [vc_row full_width="stretch_row" css=".vc_custom_1434544165859{padding-top: 100px !important;padding-bottom: 100px !important;background-color: #eaeaea !important;}"][vc_column][vc_custom_heading text="CUSTOM HEADING TITLE OF THE SECTION" font_container="tag:h2|text_align:center" use_theme_fonts="yes" css=".vc_custom_1434544875177{margin-top: 0px !important;}"][vc_row_inner][vc_column_inner width="1/4"][vc_round_chart type="doughnut" stroke_width="2" stroke_color="custom" legend="" values="%5B%7B%22title%22%3A%22One%22%2C%22value%22%3A%2260%22%2C%22color%22%3A%22orange%22%7D%2C%7B%22title%22%3A%22Two%22%2C%22value%22%3A%2240%22%2C%22color%22%3A%22sandy-brown%22%7D%5D" custom_stroke_color="#ebebeb"][/vc_column_inner][vc_column_inner width="1/4"][vc_custom_heading text="THIS IS CUSTOM HEADING ELEMENT" font_container="tag:h3|text_align:left" use_theme_fonts="yes" css=".vc_custom_1434544764669{margin-top: 0px !important;}"][vc_column_text css=".vc_custom_1434542828932{margin-bottom: 15px !important;}"] I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo. [/vc_column_text][vc_btn title="Read More" style="flat" color="vista-blue" align="left"][/vc_column_inner][vc_column_inner width="1/4"][vc_round_chart type="doughnut" stroke_width="2" stroke_color="custom" legend="" values="%5B%7B%22title%22%3A%22Two%22%2C%22value%22%3A%2220%22%2C%22color%22%3A%22sandy-brown%22%7D%2C%7B%22title%22%3A%22One%22%2C%22value%22%3A%2280%22%2C%22color%22%3A%22orange%22%7D%5D" custom_stroke_color="#ebebeb"][/vc_column_inner][vc_column_inner width="1/4"][vc_custom_heading text="THIS IS CUSTOM HEADING ELEMENT" font_container="tag:h3|text_align:left" use_theme_fonts="yes" css=".vc_custom_1434544769752{margin-top: 0px !important;}"][vc_column_text css=".vc_custom_1434542828932{margin-bottom: 15px !important;}"] I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo. [/vc_column_text][vc_btn title="Read More" style="flat" color="vista-blue" align="left"][/vc_column_inner][/vc_row_inner][/vc_column][/vc_row][vc_row][vc_column][/vc_column][/vc_row] CONTENT; vc_add_default_templates( $data ); /** Chess Grid */ $data = array(); $data['name'] = __( 'Chess Grid', 'js_composer' ); $data['disabled'] = true; $data['content'] = <<<CONTENT [vc_row full_width="stretch_row" css=".vc_custom_1434538871508{margin-bottom: 0px !important;}"][vc_column width="1/3"][vc_custom_heading text="THIS IS CUSTOM HEADING ELEMENT" use_theme_fonts="yes"][vc_column_text] I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo. [/vc_column_text][vc_btn title="READ MORE" style="flat" color="purple" align="left"][/vc_column][vc_column width="1/3"][vc_single_image img_size="large" css=".vc_custom_1434538915151{margin-right: -15px !important;margin-left: -15px !important;}"][/vc_column][vc_column width="1/3"][vc_custom_heading text="THIS IS CUSTOM HEADING ELEMENT" use_theme_fonts="yes"][vc_column_text] I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo. [/vc_column_text][vc_btn title="READ MORE" style="flat" color="purple" align="left"][/vc_column][/vc_row][vc_row full_width="stretch_row"][vc_column width="1/3"][vc_single_image img_size="large" css=".vc_custom_1434538921676{margin-right: -15px !important;margin-left: -15px !important;}"][/vc_column][vc_column width="1/3"][vc_custom_heading text="THIS IS CUSTOM HEADING ELEMENT" use_theme_fonts="yes"][vc_column_text] I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo. [/vc_column_text][vc_btn title="READ MORE" style="flat" color="purple" align="left"][/vc_column][vc_column width="1/3"][vc_single_image img_size="large" css=".vc_custom_1434538926953{margin-right: -15px !important;margin-left: -15px !important;}"][/vc_column][/vc_row] CONTENT; vc_add_default_templates( $data ); /** Features and articles */ $data = array(); $data['name'] = __( 'Features and articles', 'js_composer' ); $data['disabled'] = true; $data['content'] = <<<CONTENT [vc_row][vc_column width="1/4"][vc_icon icon_fontawesome="fa fa-anchor" color="chino" size="lg" align="center"][vc_custom_heading text="Feature One" font_container="tag:h4|text_align:center" use_theme_fonts="yes"][vc_column_text] Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. [/vc_column_text][/vc_column][vc_column width="1/4"][vc_icon icon_fontawesome="fa fa-car" color="chino" size="lg" align="center"][vc_custom_heading text="Feature Two" font_container="tag:h4|text_align:center" use_theme_fonts="yes"][vc_column_text] Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. [/vc_column_text][/vc_column][vc_column width="1/4"][vc_icon icon_fontawesome="fa fa-cutlery" color="chino" size="lg" align="center"][vc_custom_heading text="Feature Three" font_container="tag:h4|text_align:center" use_theme_fonts="yes"][vc_column_text] Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. [/vc_column_text][/vc_column][vc_column width="1/4"][vc_icon icon_fontawesome="fa fa-life-ring" color="chino" size="lg" align="center"][vc_custom_heading text="Feature Four" font_container="tag:h4|text_align:center" use_theme_fonts="yes"][vc_column_text] Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. [/vc_column_text][/vc_column][/vc_row][vc_row full_width="stretch_row" css=".vc_custom_1435233845530{padding-top: 50px !important;padding-bottom: 50px !important;background-color: #f7f7f7 !important;}"][vc_column width="1/2"][vc_single_image img_size="500x200" alignment="center"][/vc_column][vc_column width="1/2"][vc_custom_heading text="Custom Heading Title" use_theme_fonts="yes"][vc_column_text] Vivamus et risus in purus consequat interdum. Nam hendrerit euismod quam imperdiet maximus. Duis id eros eu lectus tempor interdum. Duis nec commodo enim. Proin lobortis sapien vitae eleifend tincidunt. [/vc_column_text][/vc_column][/vc_row][vc_row][vc_column width="1/4"][/vc_column][vc_column width="1/2"][vc_single_image img_size="500x200" alignment="center"][vc_custom_heading text="Article Title" font_container="tag:h3|text_align:center" use_theme_fonts="yes"][vc_column_text] Vivamus et risus in purus consequat interdum. Nam hendrerit euismod quam imperdiet maximus. Duis id eros eu lectus tempor interdum. Duis nec commodo enim. Proin lobortis sapien vitae eleifend tincidunt. [/vc_column_text][vc_btn title="Read More" color="chino" align="center"][/vc_column][vc_column width="1/4"][/vc_column][/vc_row][vc_row][vc_column width="1/2"][vc_single_image img_size="500x200" alignment="center"][vc_custom_heading text="Article Title" font_container="tag:h3|text_align:center" use_theme_fonts="yes"][vc_column_text] Vivamus et risus in purus consequat interdum. Nam hendrerit euismod quam imperdiet maximus. Duis id eros eu lectus tempor interdum. Duis nec commodo enim. Proin lobortis sapien vitae eleifend tincidunt. [/vc_column_text][vc_btn title="Read More" color="chino" align="center"][/vc_column][vc_column width="1/2"][vc_single_image img_size="500x200" alignment="center"][vc_custom_heading text="Article Title" font_container="tag:h3|text_align:center" use_theme_fonts="yes"][vc_column_text] Vivamus et risus in purus consequat interdum. Nam hendrerit euismod quam imperdiet maximus. Duis id eros eu lectus tempor interdum. Duis nec commodo enim. Proin lobortis sapien vitae eleifend tincidunt. [/vc_column_text][vc_btn title="Read More" color="chino" align="center"][/vc_column][/vc_row] CONTENT; vc_add_default_templates( $data ); /** Features and charts */ $data = array(); $data['name'] = __( 'Features and charts', 'js_composer' ); $data['disabled'] = true; $data['content'] = <<<CONTENT [vc_row][vc_column width="1/3"][vc_icon type="openiconic" icon_openiconic="vc-oi vc-oi-comment-inv" color="white" background_style="rounded-less" background_color="blue" size="lg" align="center"][vc_custom_heading text="THIS IS CUSTOM HEADING ELEMENT" font_container="tag:h3|text_align:center" use_theme_fonts="yes" css=".vc_custom_1436536470111{margin-top: 0px !important;}"][vc_column_text css=".vc_custom_1436536478730{margin-bottom: 15px !important;}"] I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo. [/vc_column_text][/vc_column][vc_column width="1/3"][vc_icon type="openiconic" icon_openiconic="vc-oi vc-oi-brush" color="white" background_style="rounded-less" background_color="blue" size="lg" align="center"][vc_custom_heading text="THIS IS CUSTOM HEADING ELEMENT" font_container="tag:h3|text_align:center" use_theme_fonts="yes" css=".vc_custom_1436536470111{margin-top: 0px !important;}"][vc_column_text css=".vc_custom_1436536478730{margin-bottom: 15px !important;}"] I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo. [/vc_column_text][/vc_column][vc_column width="1/3"][vc_icon type="openiconic" icon_openiconic="vc-oi vc-oi-clock" color="white" background_style="rounded-less" background_color="blue" size="lg" align="center"][vc_custom_heading text="THIS IS CUSTOM HEADING ELEMENT" font_container="tag:h3|text_align:center" use_theme_fonts="yes" css=".vc_custom_1436536470111{margin-top: 0px !important;}"][vc_column_text css=".vc_custom_1436536478730{margin-bottom: 15px !important;}"] I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo. [/vc_column_text][/vc_column][/vc_row][vc_row full_width="stretch_row" css=".vc_custom_1436536173326{padding-top: 70px !important;padding-bottom: 50px !important;background-color: #4c7ac9 !important;}"][vc_column][vc_custom_heading text="THIS IS CUSTOM HEADING ELEMENT" font_container="tag:h2|text_align:center|color:%23f9f9f9" use_theme_fonts="yes" css=".vc_custom_1436536188188{margin-top: 0px !important;}"][vc_column_text css=".vc_custom_1436536318151{margin-bottom: 15px !important;}"] I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo. [/vc_column_text][/vc_column][/vc_row][vc_row][vc_column width="1/4"][vc_round_chart type="doughnut" stroke_width="2" legend=""][/vc_column][vc_column width="1/4"][vc_custom_heading text="THIS IS CUSTOM HEADING ELEMENT" font_container="tag:h3|text_align:left" use_theme_fonts="yes" css=".vc_custom_1434544764669{margin-top: 0px !important;}"][vc_column_text css=".vc_custom_1434542828932{margin-bottom: 15px !important;}"] I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo. [/vc_column_text][/vc_column][vc_column width="1/4"][vc_round_chart type="doughnut" stroke_width="2" legend="" values="%5B%7B%22title%22%3A%22Two%22%2C%22value%22%3A%2240%22%2C%22color%22%3A%22pink%22%7D%2C%7B%22title%22%3A%22One%22%2C%22value%22%3A%2260%22%2C%22color%22%3A%22blue%22%7D%5D"][/vc_column][vc_column width="1/4"][vc_custom_heading text="THIS IS CUSTOM HEADING ELEMENT" font_container="tag:h3|text_align:left" use_theme_fonts="yes" css=".vc_custom_1434544764669{margin-top: 0px !important;}"][vc_column_text css=".vc_custom_1434542828932{margin-bottom: 15px !important;}"] I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo. [/vc_column_text][/vc_column][/vc_row] CONTENT; vc_add_default_templates( $data ); /** Features with video parallax */ $data = array(); $data['name'] = __( 'Features with video parallax', 'js_composer' ); $data['disabled'] = true; $data['content'] = <<<CONTENT [vc_row full_width="stretch_row" video_bg="yes" video_bg_parallax="content-moving" css=".vc_custom_1434538448279{padding-top: 250px !important;padding-bottom: 35px !important;}"][vc_column width="1/3"][vc_icon icon_fontawesome="fa fa-anchor" color="white" background_style="rounded" background_color="purple" size="lg" align="center"][vc_custom_heading text="THIS IS CUSTOM HEADING ELEMENT" font_container="tag:h4|text_align:center|color:%23ffffff" use_theme_fonts="yes" css=".vc_custom_1434538351196{padding-bottom: 10px !important;}"][vc_column_text] I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo. [/vc_column_text][/vc_column][vc_column width="1/3"][vc_icon icon_fontawesome="fa fa-magic" color="white" background_style="rounded" background_color="purple" size="lg" align="center"][vc_custom_heading text="THIS IS CUSTOM HEADING ELEMENT" font_container="tag:h4|text_align:center|color:%23ffffff" use_theme_fonts="yes" css=".vc_custom_1434538351196{padding-bottom: 10px !important;}"][vc_column_text] I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo. [/vc_column_text][/vc_column][vc_column width="1/3"][vc_icon icon_fontawesome="fa fa-eyedropper" color="white" background_style="rounded" background_color="purple" size="lg" align="center"][vc_custom_heading text="THIS IS CUSTOM HEADING ELEMENT" font_container="tag:h4|text_align:center|color:%23ffffff" use_theme_fonts="yes" css=".vc_custom_1434538351196{padding-bottom: 10px !important;}"][vc_column_text] I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo. [/vc_column_text][/vc_column][/vc_row] CONTENT; vc_add_default_templates( $data ); /** Features with full width promo */ $data = array(); $data['name'] = __( 'Features with full width promo', 'js_composer' ); $data['disabled'] = true; $data['content'] = <<<CONTENT [vc_row full_width="stretch_row"][vc_column width="1/3"][vc_single_image img_size="large"][vc_custom_heading text="Custom Heading for Feature Title" use_theme_fonts="yes" css=".vc_custom_1434543954750{margin-top: 0px !important;}"][vc_column_text] I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo. [/vc_column_text][/vc_column][vc_column width="1/3"][vc_single_image img_size="large"][vc_custom_heading text="Custom Heading for Feature Title" use_theme_fonts="yes" css=".vc_custom_1434543954750{margin-top: 0px !important;}"][vc_column_text] I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo. [/vc_column_text][/vc_column][vc_column width="1/3"][vc_single_image img_size="large"][vc_custom_heading text="Custom Heading for Feature Title" use_theme_fonts="yes" css=".vc_custom_1434543954750{margin-top: 0px !important;}"][vc_column_text] I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo. [/vc_column_text][/vc_column][/vc_row][vc_row full_width="stretch_row" parallax="content-moving" css=".vc_custom_1434543894706{padding-top: 50px !important;padding-bottom: 50px !important;background-color: #34a875 !important;}"][vc_column][vc_custom_heading text="Custom Heading Element for Promo Block" font_container="tag:h2|text_align:center|color:%23ffffff" use_theme_fonts="yes" css=".vc_custom_1434543916938{padding-bottom: 10px !important;}"][vc_column_text css=".vc_custom_1434539588856{margin-bottom: 0px !important;}"] Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. [/vc_column_text][/vc_column][/vc_row][vc_row full_width="stretch_row"][vc_column width="1/3"][vc_single_image img_size="large"][vc_custom_heading text="Custom Heading for Feature Title" use_theme_fonts="yes" css=".vc_custom_1434543954750{margin-top: 0px !important;}"][vc_column_text] I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo. [/vc_column_text][/vc_column][vc_column width="1/3"][vc_single_image img_size="large"][vc_custom_heading text="Custom Heading for Feature Title" use_theme_fonts="yes" css=".vc_custom_1434543954750{margin-top: 0px !important;}"][vc_column_text] I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo. [/vc_column_text][/vc_column][vc_column width="1/3"][vc_single_image img_size="large"][vc_custom_heading text="Custom Heading for Feature Title" use_theme_fonts="yes" css=".vc_custom_1434543954750{margin-top: 0px !important;}"][vc_column_text] I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo. [/vc_column_text][/vc_column][/vc_row] CONTENT; vc_add_default_templates( $data ); /** Full height hero section */ $data = array(); $data['name'] = __( 'Full height hero section', 'js_composer' ); $data['disabled'] = true; $data['content'] = <<<CONTENT [vc_row full_width="stretch_row" full_height="yes" css=".vc_custom_1436531990024{background-color: #32a363 !important;}"][vc_column][vc_empty_space height="300px"][vc_row_inner][vc_column_inner width="1/6"][vc_icon icon_fontawesome="fa fa-anchor" color="white" size="lg" align="center" css_animation="appear"][/vc_column_inner][vc_column_inner width="3/6"][vc_custom_heading text="CUSTOM HEADING FOR FULL HEIGHT HERO ROW" font_container="tag:h1|text_align:left|color:%23ffffff" use_theme_fonts="yes" css=".vc_custom_1436532193902{margin-top: 0px !important;}"][vc_column_text] This section looks good with color background, background image and even video background and can be used as a nice Hero type header for any type of site or introduction block because of full height row. [/vc_column_text][vc_separator color="sandy_brown" align="align_left" border_width="5" el_width="20"][/vc_column_inner][vc_column_inner width="2/6"][/vc_column_inner][/vc_row_inner][/vc_column][/vc_row] CONTENT; vc_add_default_templates( $data ); /** Full height with transparent block */ $data = array(); $data['name'] = __( 'Full height with transparent block', 'js_composer' ); $data['disabled'] = true; $data['content'] = <<<CONTENT [vc_row full_width="stretch_row" full_height="yes" css=".vc_custom_1436535126152{margin-bottom: 0px !important;background-color: #319e60 !important;}"][vc_column][vc_empty_space height="300px"][vc_row_inner][vc_column_inner width="1/2"][/vc_column_inner][vc_column_inner width="1/2" css=".vc_custom_1436535211249{padding: 25px !important;background-color: rgba(10,0,0,0.5) !important;*background-color: rgb(10,0,0) !important;}"][vc_custom_heading text="CUSTOM HEADING FOR FULL HEIGHT HERO ROW" font_container="tag:h1|text_align:left|color:%23ffffff" use_theme_fonts="yes" css=".vc_custom_1436532193902{margin-top: 0px !important;}"][vc_column_text] This section looks good with color background, background image and even video background and can be used as a nice Hero type header for any type of site or introduction block because of full height row. [/vc_column_text][vc_btn title="READ MORE" style="outline" shape="square" color="white"][/vc_column_inner][/vc_row_inner][/vc_column][/vc_row] CONTENT; vc_add_default_templates( $data ); /** Full height parallax */ $data = array(); $data['name'] = __( 'Full height parallax', 'js_composer' ); $data['disabled'] = true; $data['content'] = <<<CONTENT [vc_row full_width="stretch_row" full_height="yes" parallax="content-moving" css=".vc_custom_1434539237836{background-color: #595959 !important;}"][vc_column width="1/3"][vc_custom_heading text="THIS IS CUSTOM HEADING ELEMENT" font_container="tag:h2|font_size:50|text_align:left|color:%23ffffff" use_theme_fonts="yes" css=".vc_custom_1434539145446{padding-bottom: 20px !important;}"][vc_btn title="READ MORE" style="flat" color="success" align="center" button_block="true"][/vc_column][vc_column width="1/3"][/vc_column][vc_column width="1/3"][/vc_column][/vc_row] CONTENT; vc_add_default_templates( $data ); /** Header section with features */ $data = array(); $data['name'] = __( 'Header section with features', 'js_composer' ); $data['disabled'] = true; $data['content'] = <<<CONTENT [vc_row][vc_column width="1/4"][vc_custom_heading text="Custom Heading Title" use_theme_fonts="yes"][vc_column_text] WordPress is a free and open-source tool - features include a plugin architecture and a template system. WordPress was used by more than 23.3% of the top 10 million websites as of January 2015. WordPress is the most popular blogging system in use on the Web, at more than 60 million websites. [/vc_column_text][/vc_column][vc_column width="3/4" css=".vc_custom_1436799832666{background-color: #f79467 !important;}"][vc_empty_space height="200px"][vc_custom_heading text="Custom Heading Title" font_container="tag:h2|text_align:left|color:%23ffffff" use_theme_fonts="yes" css=".vc_custom_1436799543928{padding-left: 35px !important;}"][vc_column_text css=".vc_custom_1436799840479{padding-bottom: 50px !important;padding-left: 35px !important;}"] Vivamus et risus in purus consequat interdum. Nam hendrerit euismod quam imperdiet maximus. Duis id eros eu lectus tempor interdum. Duis nec commodo enim. Proin lobortis sapien vitae eleifend tincidunt. [/vc_column_text][/vc_column][/vc_row][vc_row][vc_column width="1/4"][/vc_column][vc_column width="1/4"][vc_icon icon_fontawesome="fa fa-credit-card" color="white" background_style="boxed" background_color="sandy_brown" size="lg" align="center"][vc_custom_heading text="Feature One" font_container="tag:h4|text_align:center" use_theme_fonts="yes"][vc_column_text] Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. [/vc_column_text][/vc_column][vc_column width="1/4"][vc_icon icon_fontawesome="fa fa-inbox" color="white" background_style="boxed" background_color="sandy_brown" size="lg" align="center"][vc_custom_heading text="Feature Two" font_container="tag:h4|text_align:center" use_theme_fonts="yes"][vc_column_text] Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. [/vc_column_text][/vc_column][vc_column width="1/4"][vc_icon icon_fontawesome="fa fa-paper-plane" color="white" background_style="boxed" background_color="sandy_brown" size="lg" align="center"][vc_custom_heading text="Feature Three" font_container="tag:h4|text_align:center" use_theme_fonts="yes"][vc_column_text] Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. [/vc_column_text][/vc_column][/vc_row] CONTENT; vc_add_default_templates( $data ); /** Helps with icons */ $data = array(); $data['name'] = __( 'Helps with icons', 'js_composer' ); $data['disabled'] = true; $data['content'] = <<<CONTENT [vc_row][vc_column width="1/6"][vc_icon icon_fontawesome="fa fa-video-camera" color="purple" size="lg" align="center"][/vc_column][vc_column width="2/6"][vc_toggle title="Toggle Title Goes Here" style="text_only" open="true" el_id="1435236109681-5197967b-614c"]Ut elit nisl, efficitur sit amet augue ut, venenatis lobortis est. Nullam luctus sapien eu enim tristique porta. Nulla quis libero magna. Morbi ultrices nunc lacus, eu ultricies urna suscipit non. Aliquam rutrum sem eu sapien bibendum efficitur. Donec nisl nunc, suscipit et sollicitudin sed, vulputate at urna. Proin tincidunt iaculis maximus.[/vc_toggle][/vc_column][vc_column width="1/6"][vc_icon icon_fontawesome="fa fa-tasks" color="purple" size="lg" align="center"][/vc_column][vc_column width="2/6"][vc_toggle title="Toggle Title Goes Here" style="text_only" el_id="1435236274452-79d18059-9dc1"]Ut elit nisl, efficitur sit amet augue ut, venenatis lobortis est. Nullam luctus sapien eu enim tristique porta. Nulla quis libero magna. Morbi ultrices nunc lacus, eu ultricies urna suscipit non. Aliquam rutrum sem eu sapien bibendum efficitur. Donec nisl nunc, suscipit et sollicitudin sed, vulputate at urna. Proin tincidunt iaculis maximus.[/vc_toggle][/vc_column][/vc_row][vc_row][vc_column width="1/6"][vc_icon icon_fontawesome="fa fa-leaf" color="purple" size="lg" align="center"][/vc_column][vc_column width="2/6"][vc_toggle title="Toggle Title Goes Here" style="text_only" el_id="1435236288705-f99d6e32-4a28"]Ut elit nisl, efficitur sit amet augue ut, venenatis lobortis est. Nullam luctus sapien eu enim tristique porta. Nulla quis libero magna. Morbi ultrices nunc lacus, eu ultricies urna suscipit non. Aliquam rutrum sem eu sapien bibendum efficitur. Donec nisl nunc, suscipit et sollicitudin sed, vulputate at urna. Proin tincidunt iaculis maximus.[/vc_toggle][/vc_column][vc_column width="1/6"][vc_icon icon_fontawesome="fa fa-lock" color="purple" size="lg" align="center"][/vc_column][vc_column width="2/6"][vc_toggle title="Toggle Title Goes Here" style="text_only" el_id="1435236288706-ef36a7b7-5c71"]Ut elit nisl, efficitur sit amet augue ut, venenatis lobortis est. Nullam luctus sapien eu enim tristique porta. Nulla quis libero magna. Morbi ultrices nunc lacus, eu ultricies urna suscipit non. Aliquam rutrum sem eu sapien bibendum efficitur. Donec nisl nunc, suscipit et sollicitudin sed, vulputate at urna. Proin tincidunt iaculis maximus.[/vc_toggle][/vc_column][/vc_row][vc_row][vc_column width="1/6"][vc_icon icon_fontawesome="fa fa-map-marker" color="purple" size="lg" align="center"][/vc_column][vc_column width="2/6"][vc_toggle title="Toggle Title Goes Here" style="text_only" el_id="1435236301680-f9740b97-8983"]Ut elit nisl, efficitur sit amet augue ut, venenatis lobortis est. Nullam luctus sapien eu enim tristique porta. Nulla quis libero magna. Morbi ultrices nunc lacus, eu ultricies urna suscipit non. Aliquam rutrum sem eu sapien bibendum efficitur. Donec nisl nunc, suscipit et sollicitudin sed, vulputate at urna. Proin tincidunt iaculis maximus.[/vc_toggle][/vc_column][vc_column width="1/6"][vc_icon icon_fontawesome="fa fa-paint-brush" color="purple" size="lg" align="center"][/vc_column][vc_column width="2/6"][vc_toggle title="Toggle Title Goes Here" style="text_only" el_id="1435236301681-90cd844c-c87e"]Ut elit nisl, efficitur sit amet augue ut, venenatis lobortis est. Nullam luctus sapien eu enim tristique porta. Nulla quis libero magna. Morbi ultrices nunc lacus, eu ultricies urna suscipit non. Aliquam rutrum sem eu sapien bibendum efficitur. Donec nisl nunc, suscipit et sollicitudin sed, vulputate at urna. Proin tincidunt iaculis maximus.[/vc_toggle][/vc_column][/vc_row] CONTENT; vc_add_default_templates( $data ); /** Plain articles */ $data = array(); $data['name'] = __( 'Plain articles', 'js_composer' ); $data['disabled'] = true; $data['content'] = <<<CONTENT [vc_row][vc_column][vc_custom_heading text="This is article title" font_container="tag:h2|text_align:left|color:%232a2a2a" use_theme_fonts="yes"][vc_separator color="black" align="align_left" border_width="3"][/vc_column][/vc_row][vc_row][vc_column width="1/2"][vc_column_text]Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec sit amet augue pretium, lacinia nibh vitae, feugiat tellus. Quisque rhoncus eget velit a malesuada. Nunc non felis lacus. Morbi orci ligula, tempor a turpis vulputate, fermentum feugiat orci. Vestibulum volutpat ligula erat, at feugiat libero ultricies nec. Nam tincidunt luctus mi ut vestibulum. Integer consequat ullamcorper nisi vitae vehicula. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Proin ipsum odio, luctus in vehicula tempor, bibendum at nisl. Proin in facilisis mauris, vitae iaculis felis. Etiam auctor quis tellus quis laoreet. Fusce pretium ex at posuere viverra. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Aenean in est nec justo lobortis vestibulum eget vel mauris. Nullam sed nunc quis est accumsan finibus et eget erat. Integer tincidunt leo eu nisi pretium, id mattis urna mollis. Cras feugiat urna eu enim tristique, nec tristique justo semper. Duis vel diam tortor. Curabitur iaculis porttitor ante, at dictum nibh volutpat sit amet. Nullam eu quam ac lacus posuere lacinia. Ut interdum dolor et quam dictum, at rhoncus magna commodo. Aliquam tempus ex tristique mi ullamcorper tristique. Praesent vitae vehicula mi. Praesent tempus leo elit, non condimentum mauris vulputate non. Aliquam lorem neque, pulvinar ut luctus sit amet, tempus ac metus. [/vc_column_text][/vc_column][vc_column width="1/2"][vc_column_text]Cras pulvinar lorem nibh, eget feugiat diam egestas ac. Suspendisse porta tellus ut erat posuere, eget porttitor metus vehicula. Praesent luctus non lectus sit amet rutrum. Nulla consectetur felis et justo vehicula tempor. Pellentesque sed venenatis ligula. Aliquam aliquet sem id nisi luctus vulputate. Mauris pretium lorem ex, eu placerat orci euismod ac. Nulla facilisi. Etiam tortor lectus, dignissim eget dapibus vitae, posuere ut mauris. Nunc ullamcorper augue imperdiet, convallis metus vel, dignissim lectus. Pellentesque vulputate volutpat pellentesque. Duis tristique ex sed sapien lacinia aliquam. Cras eu nulla ut tortor molestie molestie vel ac quam. Aenean imperdiet nibh eu metus aliquet porttitor.[/vc_column_text][/vc_column][/vc_row][vc_row full_width="stretch_row" css=".vc_custom_1434546213787{padding-top: 25px !important;background-color: #2a2a2a !important;}"][vc_column][vc_cta shape="square" style="flat" color="black" add_button="right" btn_title="Read More" btn_style="outline" btn_shape="square" btn_color="white" btn_size="sm" btn_align="center"]I am promo text. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_cta][/vc_column][/vc_row][vc_row][vc_column][vc_custom_heading text="Related articles" font_container="tag:h2|text_align:left|color:%232a2a2a" use_theme_fonts="yes"][vc_separator color="black" align="align_left" border_width="3"][/vc_column][/vc_row][vc_row][vc_column width="1/3"][vc_custom_heading text="Related article title" font_container="tag:h3|text_align:center|color:%232a2a2a" use_theme_fonts="yes"][vc_column_text]<p style="text-align: center;">Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Proin ipsum odio, luctus in vehicula tempor, bibendum at nisl. Proin in facilisis mauris, vitae iaculis felis. Etiam auctor quis tellus quis laoreet. Fusce pretium ex at posuere viverra.</p>[/vc_column_text][vc_btn title="<strong>Read More</strong>" style="outline" shape="square" color="black" size="sm" align="center"][/vc_column][vc_column width="1/3"][vc_custom_heading text="Related article title" font_container="tag:h3|text_align:center|color:%232a2a2a" use_theme_fonts="yes"][vc_column_text]<p style="text-align: center;">Proin in facilisis mauris, vitae iaculis felis. Etiam auctor quis tellus quis laoreet. Fusce pretium ex at posuere viverra. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Aenean in est nec justo lobortis vestibulum eget vel mauris.</p>[/vc_column_text][vc_btn title="<strong>Read More</strong>" style="outline" shape="square" color="black" size="sm" align="center"][/vc_column][vc_column width="1/3"][vc_custom_heading text="Related article title" font_container="tag:h3|text_align:center|color:%232a2a2a" use_theme_fonts="yes"][vc_column_text]<p style="text-align: center;">Duis vel diam tortor. Curabitur iaculis porttitor ante, at dictum nibh volutpat sit amet. Nullam eu quam ac lacus posuere lacinia. Ut interdum dolor et quam dictum, at rhoncus magna commodo. Aliquam tempus ex tristique mi ullamcorper tristique. Praesent vitae vehicula mi. Praesent tempus leo elit, non condimentum mauris vulputate non.</p>[/vc_column_text][vc_btn title="<strong>Read More</strong>" style="outline" shape="square" color="black" size="sm" align="center"][/vc_column][/vc_row] CONTENT; vc_add_default_templates( $data ); /** Post portfolio */ $data = array(); $data['name'] = __( 'Post portfolio', 'js_composer' ); $data['disabled'] = true; $data['content'] = <<<CONTENT [vc_row][vc_column][vc_basic_grid max_items="" style="pagination" items_per_page="8" element_width="3" gap="0" item="mediaGrid_ScaleWithRotation" grid_id="vc_gid:1436801351792-834976e6-1ef2-5" paging_animation_in="none"][/vc_column][/vc_row][vc_row][vc_column width="1/3"][vc_custom_heading text="CUSTOM HEADING TITLE GOES HERE" font_container="tag:h2|font_size:40|text_align:left|line_height:1" use_theme_fonts="yes" css=".vc_custom_1435235172377{margin-top: 0px !important;}"][vc_separator align="align_left" border_width="3" el_width="50"][/vc_column][vc_column width="1/3"][vc_column_text]Ut elit nisl, efficitur sit amet augue ut, venenatis lobortis est. Nullam luctus sapien eu enim tristique porta. Nulla quis libero magna. Morbi ultrices nunc lacus, eu ultricies urna suscipit non. Aliquam rutrum sem eu sapien bibendum efficitur. Donec nisl nunc, suscipit et sollicitudin sed, vulputate at urna. Proin tincidunt iaculis maximus. Praesent aliquam orci sed augue euismod, eu tincidunt quam convallis. Sed eget erat scelerisque, scelerisque odio eu, sodales dui. Sed sed enim sed enim rhoncus commodo. Nunc vehicula faucibus elit ac tempus. Nullam quis orci rhoncus, dignissim mi eget, placerat massa.[/vc_column_text][/vc_column][vc_column width="1/3"][vc_column_text]Aliquam rutrum sem eu sapien bibendum efficitur. Donec nisl nunc, suscipit et sollicitudin sed, vulputate at urna. Proin tincidunt iaculis maximus. Praesent aliquam orci sed augue euismod, eu tincidunt quam convallis. Sed eget erat scelerisque, scelerisque odio eu, sodales dui. Sed sed enim sed enim rhoncus commodo. Nunc vehicula faucibus elit ac tempus. Nullam quis orci rhoncus, dignissim mi eget, placerat massa.[/vc_column_text][/vc_column][/vc_row] CONTENT; vc_add_default_templates( $data ); /** Product introduction */ $data = array(); $data['name'] = __( 'Product introduction', 'js_composer' ); $data['disabled'] = true; $data['content'] = <<<CONTENT [vc_row full_width="stretch_row" parallax="content-moving" css=".vc_custom_1436530001615{padding-top: 100px !important;padding-bottom: 50px !important;background-color: #499b7a !important;}"][vc_column width="1/2"][vc_custom_heading text="Custom Heading with Theme Font" font_container="tag:h2|text_align:left|color:%23ffffff" use_theme_fonts="yes" css=".vc_custom_1436530166522{padding-bottom: 10px !important;}"][vc_column_text] This section is a perfect place to display introduction description for your products and services with an option to access more information by clicking "Read More" button. [/vc_column_text][vc_btn title="Read More" style="outline" shape="square" color="white" align="left"][/vc_column][vc_column width="1/2"][vc_single_image img_size="medium" alignment="center" style="vc_box_rounded"][/vc_column][/vc_row][vc_row][vc_column width="1/3"][vc_custom_heading text="Heading with Theme Font" font_container="tag:h3|text_align:left" use_theme_fonts="yes" css=".vc_custom_1436530550784{margin-top: 0px !important;}"][vc_column_text css=".vc_custom_1436530603605{margin-bottom: 15px !important;}"] This is a block where you can quickly describe less important services or side services which do not require lot of attention or maybe are the part of the main product or service. [/vc_column_text][/vc_column][vc_column width="1/3"][vc_custom_heading text="Heading with Theme Font" font_container="tag:h3|text_align:left" use_theme_fonts="yes" css=".vc_custom_1436530550784{margin-top: 0px !important;}"][vc_column_text css=".vc_custom_1436530603605{margin-bottom: 15px !important;}"] This is a block where you can quickly describe less important services or side services which do not require lot of attention or maybe are the part of the main product or service. [/vc_column_text][/vc_column][vc_column width="1/3"][vc_custom_heading text="Heading with Theme Font" font_container="tag:h3|text_align:left" use_theme_fonts="yes" css=".vc_custom_1436530550784{margin-top: 0px !important;}"][vc_column_text css=".vc_custom_1436530603605{margin-bottom: 15px !important;}"] This is a block where you can quickly describe less important services or side services which do not require lot of attention or maybe are the part of the main product or service. [/vc_column_text][/vc_column][/vc_row] CONTENT; vc_add_default_templates( $data ); /** Services with block buttons */ $data = array(); $data['name'] = __( 'Services with block buttons', 'js_composer' ); $data['disabled'] = true; $data['content'] = <<<CONTENT [vc_row full_width="stretch_row"][vc_column width="1/3"][vc_custom_heading text="THIS IS CUSTOM HEADING ELEMENT" use_theme_fonts="yes" css=".vc_custom_1434542653233{margin-top: 0px !important;}"][vc_column_text css=".vc_custom_1434542828932{margin-bottom: 15px !important;}"] I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo. [/vc_column_text][vc_single_image img_size="large"][/vc_column][vc_column width="1/3"][vc_custom_heading text="THIS IS CUSTOM HEADING ELEMENT" use_theme_fonts="yes" css=".vc_custom_1434542653233{margin-top: 0px !important;}"][vc_column_text css=".vc_custom_1434542828932{margin-bottom: 15px !important;}"] I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo. [/vc_column_text][vc_single_image img_size="large"][/vc_column][vc_column width="1/3"][vc_custom_heading text="THIS IS CUSTOM HEADING ELEMENT" use_theme_fonts="yes" css=".vc_custom_1434542653233{margin-top: 0px !important;}"][vc_column_text css=".vc_custom_1434542828932{margin-bottom: 15px !important;}"] I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo. [/vc_column_text][vc_single_image img_size="large"][/vc_column][/vc_row][vc_row][vc_column][vc_btn title="VIEW ALL" style="flat" color="success" size="lg" align="center" button_block="true"][/vc_column][/vc_row] CONTENT; vc_add_default_templates( $data ); /** Tabs with features */ $data = array(); $data['name'] = __( 'Tabs with features', 'js_composer' ); $data['disabled'] = true; $data['content'] = <<<CONTENT [vc_row][vc_column][vc_tta_tabs spacing="" alignment="center" autoplay="5" active_section="1" no_fill_content_area="true"][vc_tta_section title="One" tab_id="1434542999695-a56fab9e-1f6710b4-996e"][vc_row_inner][vc_column_inner width="1/4"][/vc_column_inner][vc_column_inner width="1/4"][vc_single_image img_size="large"][/vc_column_inner][vc_column_inner width="1/4"][vc_custom_heading text="THIS IS CUSTOM HEADING ELEMENT" use_theme_fonts="yes" css=".vc_custom_1434542653233{margin-top: 0px !important;}"][vc_column_text css=".vc_custom_1434542828932{margin-bottom: 15px !important;}"] I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo. [/vc_column_text][/vc_column_inner][vc_column_inner width="1/4"][/vc_column_inner][/vc_row_inner][/vc_tta_section][vc_tta_section title="Two" tab_id="1434542999696-c5f7d755-fafc10b4-996e"][vc_row_inner][vc_column_inner width="1/4"][/vc_column_inner][vc_column_inner width="1/4"][vc_single_image img_size="large"][/vc_column_inner][vc_column_inner width="1/4"][vc_custom_heading text="THIS IS CUSTOM HEADING ELEMENT" use_theme_fonts="yes" css=".vc_custom_1434542653233{margin-top: 0px !important;}"][vc_column_text css=".vc_custom_1434542828932{margin-bottom: 15px !important;}"] I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo. [/vc_column_text][/vc_column_inner][vc_column_inner width="1/4"][/vc_column_inner][/vc_row_inner][/vc_tta_section][vc_tta_section title="Three" tab_id="1434543049270-c5988062-2c7810b4-996e"][vc_row_inner][vc_column_inner width="1/4"][/vc_column_inner][vc_column_inner width="1/4"][vc_single_image img_size="large"][/vc_column_inner][vc_column_inner width="1/4"][vc_custom_heading text="THIS IS CUSTOM HEADING ELEMENT" use_theme_fonts="yes" css=".vc_custom_1434542653233{margin-top: 0px !important;}"][vc_column_text css=".vc_custom_1434542828932{margin-bottom: 15px !important;}"] I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo. [/vc_column_text][/vc_column_inner][vc_column_inner width="1/4"][/vc_column_inner][/vc_row_inner][/vc_tta_section][/vc_tta_tabs][/vc_column][/vc_row] CONTENT; vc_add_default_templates( $data ); /** Video section */ $data = array(); $data['name'] = __( 'Video section', 'js_composer' ); $data['disabled'] = true; $data['content'] = <<<CONTENT [vc_row full_width="stretch_row" video_bg="yes" video_bg_parallax="content-moving" css=".vc_custom_1434537920178{padding-top: 150px !important;padding-bottom: 150px !important;}"][vc_column width="1/3"][/vc_column][vc_column width="1/3"][vc_custom_heading text="THIS IS CUSTOM HEADING ELEMENT" font_container="tag:h2|text_align:center|color:%23ffffff" use_theme_fonts="yes" css=".vc_custom_1434538077842{padding-bottom: 20px !important;}"][vc_separator color="white" border_width="2" el_width="50"][vc_column_text] I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo. [/vc_column_text][vc_btn title="READ MORE" style="flat" color="purple" align="center"][/vc_column][vc_column width="1/3"][/vc_column][/vc_row] CONTENT; vc_add_default_templates( $data ); /** Video promo */ $data = array(); $data['name'] = __( 'Video promo', 'js_composer' ); $data['disabled'] = true; $data['content'] = <<<CONTENT [vc_row full_width="stretch_row" full_height="yes" video_bg="yes" css=".vc_custom_1436534189440{margin-bottom: 0px !important;background-color: #319e60 !important;}"][vc_column width="1/2"][vc_empty_space height="300px"][vc_custom_heading text="CUSTOM HEADING FOR FULL HEIGHT HERO ROW" font_container="tag:h1|text_align:left|color:%23ffffff" use_theme_fonts="yes" css=".vc_custom_1436532193902{margin-top: 0px !important;}"][vc_column_text css=".vc_custom_1438783043420{padding-bottom: 35px !important;}"]This section looks good with color background, background image and even video background and can be used as a nice Hero type header for any type of site or introduction block because of full height row.[/vc_column_text][/vc_column][vc_column width="1/2"][/vc_column][/vc_row][vc_row full_width="stretch_row" full_height="yes" css=".vc_custom_1436534035043{background-color: #dd4944 !important;}"][vc_column width="1/6"][/vc_column][vc_column width="2/3"][vc_custom_heading text="PRODUCT OVERVIEW" font_container="tag:h2|text_align:center|color:%23ffffff" use_theme_fonts="yes" css=".vc_custom_1436534146913{margin-top: 0px !important;}"][vc_video][/vc_column][vc_column width="1/6"][/vc_column][/vc_row] CONTENT; vc_add_default_templates( $data ); /** Equal Feature List */ $data = array(); $data['name'] = __( 'Equal Feature List', 'js_composer' ); $data['disabled'] = true; $data['content'] = <<<CONTENT [vc_row full_width="stretch_row" gap="35" equal_height="yes" css=".vc_custom_1456142754632{padding-top: 100px !important;padding-bottom: 100px !important;background-color: #eaeaea !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}"][vc_column width="1/3" css=".vc_custom_1455714400431{background-color: #ffffff !important;border-radius: 5px !important;}"][vc_icon type="typicons" icon_typicons="typcn typcn-device-phone" color="white" background_style="rounded" background_color="vista_blue" size="lg" align="center"][vc_custom_heading font_container="tag:h3|text_align:center"][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][/vc_column][vc_column width="1/3" css=".vc_custom_1455714406281{background-color: #ffffff !important;border-radius: 5px !important;}"][vc_icon type="typicons" icon_typicons="typcn typcn-brush" color="white" background_style="rounded" background_color="orange" size="lg" align="center"][vc_custom_heading font_container="tag:h3|text_align:center"][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][/vc_column][vc_column width="1/3" css=".vc_custom_1455714413009{background-color: #ffffff !important;border-radius: 5px !important;}"][vc_icon type="typicons" icon_typicons="typcn typcn-flow-parallel" color="white" background_style="rounded" background_color="sandy_brown" size="lg" align="center"][vc_custom_heading font_container="tag:h3|text_align:center"][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][/vc_column][/vc_row] CONTENT; vc_add_default_templates( $data ); /** Parallax Introduction */ $data = array(); $data['name'] = __( 'Parallax Introduction', 'js_composer' ); $data['disabled'] = true; $data['content'] = <<<CONTENT [vc_row full_width="stretch_row_content" full_height="yes" content_placement="middle" parallax="content-moving" css=".vc_custom_1456142923728{background-color: #eaeaea !important;}"][vc_column width="1/12"][/vc_column][vc_column width="1/12"][/vc_column][vc_column width="1/12"][/vc_column][vc_column width="1/2" css=".vc_custom_1449671939004{padding-right: 100px !important;padding-left: 100px !important;}"][vc_custom_heading font_container="tag:h1|text_align:center|color:%23ffffff"][vc_custom_heading font_container="tag:h3|text_align:center|color:%23ffffff"][vc_btn title="VIEW WORKS" style="outline" shape="square" color="white" align="center" css=".vc_custom_1456143020682{padding-top: 50px !important;}"][/vc_column][vc_column width="1/12"][/vc_column][vc_column width="1/12"][/vc_column][vc_column width="1/12"][/vc_column][/vc_row] CONTENT; vc_add_default_templates( $data ); /** Three Informative Blocks */ $data = array(); $data['name'] = __( 'Three Informative Blocks', 'js_composer' ); $data['disabled'] = true; $data['content'] = <<<CONTENT [vc_row gap="15" equal_height="yes" content_placement="top" css=".vc_custom_1456143366903{margin-top: 15px !important;}"][vc_column width="1/3" css=".vc_custom_1449585660682{padding-right: 35px !important;padding-left: 35px !important;background-color: #efefef !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}"][vc_custom_heading text="Easy to Use Features ..." font_container="tag:h2|font_size:30|text_align:left" use_theme_fonts="yes"][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][vc_btn title="Read More" style="flat" shape="round" color="vista-blue"][/vc_column][vc_column width="1/3" css=".vc_custom_1456143219006{padding-right: 35px !important;padding-left: 35px !important;background-color: #efefef !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}"][vc_custom_heading text="Discover Process Behind ..." font_container="tag:h2|font_size:30|text_align:left" use_theme_fonts="yes"][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][vc_btn title="Read More" style="flat" shape="round" color="vista-blue"][/vc_column][vc_column width="1/3" css=".vc_custom_1449584499838{padding-right: 35px !important;padding-left: 35px !important;background-color: #40404a !important;}"][vc_custom_heading text="Additional Description Goes Here ..." font_container="tag:h3|text_align:center|color:%23ffffff" use_theme_fonts="yes"][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][/vc_column][/vc_row] CONTENT; vc_add_default_templates( $data ); /** Description Articles */ $data = array(); $data['name'] = __( 'Description Articles', 'js_composer' ); $data['disabled'] = true; $data['content'] = <<<CONTENT [vc_row][vc_column width="1/3"][vc_custom_heading text="Why Build WordPress Site" font_container="tag:h1|font_size:44|text_align:left|color:%23444444|line_height:1" google_fonts="font_family:Montserrat%3Aregular%2C700|font_style:400%20regular%3A400%3Anormal"][vc_column_text css=".vc_custom_1453376297591{padding-top: 35px !important;}"]WordPress is the most popular platform around the globe for building high quality websites. And if you are not familiar with coding you can always find great tools like Visual Composer page builder.[/vc_column_text][/vc_column][vc_column width="1/3"][vc_single_image img_size="full" css=".vc_custom_1456145319213{margin-top: 0px !important;}"][/vc_column][vc_column width="1/3"][/vc_column][/vc_row][vc_row css=".vc_custom_1453378670285{padding-bottom: 50px !important;}"][vc_column width="1/3" css=".vc_custom_1453378563701{border-top-width: 10px !important;border-right-width: 10px !important;border-bottom-width: 10px !important;border-left-width: 10px !important;border-left-color: #ea5d5d !important;border-left-style: solid !important;border-right-color: #ea5d5d !important;border-right-style: solid !important;border-top-color: #ea5d5d !important;border-top-style: solid !important;border-bottom-color: #ea5d5d !important;border-bottom-style: solid !important;}"][vc_single_image img_size="full" css=".vc_custom_1456145323378{margin-top: 0px !important;margin-right: -75px !important;padding-left: 50px !important;}"][/vc_column][vc_column width="1/3"][/vc_column][vc_column width="1/3"][vc_custom_heading text="Great Way To Show Your Works" font_container="tag:h1|font_size:44|text_align:left|color:%23444444|line_height:1" google_fonts="font_family:Montserrat%3Aregular%2C700|font_style:400%20regular%3A400%3Anormal"][vc_column_text css=".vc_custom_1453378348233{padding-top: 35px !important;}"]Discover brand new way to show your photos, videos and any other masterpiece. You have been relying on different website builder, but none of them offers such a great options as WordPress.[/vc_column_text][/vc_column][/vc_row] CONTENT; vc_add_default_templates( $data ); /** Full Height Features */ $data = array(); $data['name'] = __( 'Full Height Features', 'js_composer' ); $data['disabled'] = true; $data['content'] = <<<CONTENT [vc_row full_width="stretch_row" full_height="yes" css=".vc_custom_1453212412853{margin-bottom: 0px !important;background-color: #6ab165 !important;}"][vc_column][vc_custom_heading text="When to Use Full Width and Video Background?" font_container="tag:h2|font_size:40|text_align:center|color:%23ffffff|line_height:1.5" google_fonts="font_family:Josefin%20Sans%3A100%2C100italic%2C300%2C300italic%2Cregular%2Citalic%2C600%2C600italic%2C700%2C700italic|font_style:600%20bold%20regular%3A600%3Anormal" css=".vc_custom_1453288229618{padding-bottom: 15px !important;}"][vc_separator color="custom" border_width="3" el_width="10" accent_color="#f4ca22"][vc_row_inner][vc_column_inner width="1/4"][vc_icon type="entypo" icon_entypo="entypo-icon entypo-icon-hourglass" color="white" background_style="rounded" background_color="chino" size="lg" align="center" css_animation="appear"][vc_custom_heading text="Landing Page" font_container="tag:h3|font_size:26|text_align:center|color:%23ffffff" google_fonts="font_family:Josefin%20Sans%3A100%2C100italic%2C300%2C300italic%2Cregular%2Citalic%2C600%2C600italic%2C700%2C700italic|font_style:600%20bold%20regular%3A600%3Anormal"][vc_column_text]Grab user attention on your landing pages with beautiful video background in combination with clear Call to Action sections.[/vc_column_text][/vc_column_inner][vc_column_inner width="1/4"][vc_icon type="entypo" icon_entypo="entypo-icon entypo-icon-graduation-cap" color="white" background_style="rounded" background_color="chino" size="lg" align="center" css_animation="appear"][vc_custom_heading text="Startup Website" font_container="tag:h3|font_size:26|text_align:center|color:%23ffffff" google_fonts="font_family:Josefin%20Sans%3A100%2C100italic%2C300%2C300italic%2Cregular%2Citalic%2C600%2C600italic%2C700%2C700italic|font_style:600%20bold%20regular%3A600%3Anormal"][vc_column_text]Innovative products requires modern and trendy sites. Full height rows and video background is exactly what you are looking for.[/vc_column_text][/vc_column_inner][vc_column_inner width="1/4"][vc_icon type="entypo" icon_entypo="entypo-icon entypo-icon-window" color="white" background_style="rounded" background_color="chino" size="lg" align="center" css_animation="appear"][vc_custom_heading text="Website Sections" font_container="tag:h3|font_size:26|text_align:center|color:%23ffffff" google_fonts="font_family:Josefin%20Sans%3A100%2C100italic%2C300%2C300italic%2Cregular%2Citalic%2C600%2C600italic%2C700%2C700italic|font_style:600%20bold%20regular%3A600%3Anormal"][vc_column_text]Combine different sections with and without video background, apply parallax to them, make them full width or full height for better content separation.[/vc_column_text][/vc_column_inner][vc_column_inner width="1/4"][vc_icon type="entypo" icon_entypo="entypo-icon entypo-icon-dot-3" color="white" background_style="rounded" background_color="chino" size="lg" align="center" css_animation="appear"][vc_custom_heading text="Minimalistic Design" font_container="tag:h3|font_size:26|text_align:center|color:%23ffffff" google_fonts="font_family:Josefin%20Sans%3A100%2C100italic%2C300%2C300italic%2Cregular%2Citalic%2C600%2C600italic%2C700%2C700italic|font_style:600%20bold%20regular%3A600%3Anormal"][vc_column_text]Give your site a space, use full height rows to represented only most important information at once and make sure user is focused only on the most important part.[/vc_column_text][/vc_column_inner][/vc_row_inner][vc_custom_heading text="and everywhere else you can imagine ..." font_container="tag:h4|font_size:24|text_align:center|color:%23ffffff|line_height:1.5" google_fonts="font_family:Josefin%20Sans%3A100%2C100italic%2C300%2C300italic%2Cregular%2Citalic%2C600%2C600italic%2C700%2C700italic|font_style:400%20italic%3A400%3Aitalic" css=".vc_custom_1453288268014{padding-bottom: 15px !important;}"][/vc_column][/vc_row] CONTENT; vc_add_default_templates( $data ); /** Business Description */ $data = array(); $data['name'] = __( 'Business Description', 'js_composer' ); $data['disabled'] = true; $data['content'] = <<<CONTENT [vc_row css=".vc_custom_1453217339571{padding-top: 50px !important;padding-bottom: 50px !important;}"][vc_column width="2/3"][vc_single_image img_size="full" alignment="center"][/vc_column][vc_column width="1/3"][vc_custom_heading text="Design Responsive Websites" font_container="tag:h2|font_size:36|text_align:left|color:%23515151|line_height:1.2" google_fonts="font_family:Istok%20Web%3Aregular%2Citalic%2C700%2C700italic|font_style:700%20bold%20regular%3A700%3Anormal"][vc_column_text]Visual Composer has everything you want to create portfolio pages or sections. Option rich grid elements that uses pages, posts, custom post types and Media Library is a perfect choice for creating unique portfolios that sells.With just few clicks you can get your portfolio up and running - wether you are web designer, photographer or craftsmen. And it will all look good on mobile ...[/vc_column_text][vc_btn title="Read More" style="flat" color="juicy-pink" align="left" link="||"][/vc_column][/vc_row] CONTENT; vc_add_default_templates( $data ); /** Article Hero Image */ $data = array(); $data['name'] = __( 'Article Hero Image', 'js_composer' ); $data['disabled'] = true; $data['content'] = <<<CONTENT [vc_row full_width="stretch_row_content_no_spaces" parallax="content-moving" css=".vc_custom_1456145516199{padding-top: 250px !important;padding-bottom: 250px !important;background-color: #eaeaea !important;}"][vc_column][/vc_column][/vc_row][vc_row css=".vc_custom_1453293187806{margin-top: -200px !important;background-color: #ffffff !important;}"][vc_column css=".vc_custom_1423574892319{background-color: #ffffff !important;}"][vc_custom_heading text="BOOST YOUR WORDPRESS BLOG WITH PAGE BUILDER" font_container="tag:h2|font_size:46|text_align:left|color:%233a3a3a|line_height:1" google_fonts="font_family:Montserrat%3Aregular%2C700|font_style:700%20bold%20regular%3A700%3Anormal" css=".vc_custom_1453293169333{margin-top: 0px !important;padding-right: 200px !important;padding-bottom: 35px !important;}"][vc_column_text css=".vc_custom_1437055718275{margin-bottom: 20px !important;}"]Managing blog can sometimes be hard, remember how you deal with formatting or if you wish to add some simple feature like image, video, button or separator. There is no doubt that WordPress is best solution for blog, but dealing with shortcodes is time consuming process you could easily avoid.Start building your blog pages and posts visually. With Visual Composer you can instantly see changes and adapt to them by using Frontend editor or you can switch to Backend editor if you think that you have too much content and schematic view fits you better. It really does not matter are you highly talented technician or a small business owner - managing your blog with Visual Composer will save your time.[/vc_column_text][vc_btn title="READ MORE" style="outline" shape="square" color="black" align="left" link="||" el_class="get_my_copy"][/vc_column][/vc_row] CONTENT; vc_add_default_templates( $data ); /** EMy Team Members */ $data = array(); $data['name'] = __( 'My Team Members', 'js_composer' ); $data['disabled'] = true; $data['content'] = <<<CONTENT [vc_row][vc_column][vc_custom_heading text="Why Business Choose Visual Composer?" font_container="tag:h3|font_size:38|text_align:center|color:%233a3a3a|line_height:1.2" google_fonts="font_family:Montserrat%3Aregular%2C700|font_style:400%20regular%3A400%3Anormal" css=".vc_custom_1453298979959{padding-bottom: 35px !important;}"][/vc_column][/vc_row][vc_row gap="15" equal_height="yes" css=".vc_custom_1453299367133{padding-bottom: 50px !important;}"][vc_column width="1/4"][vc_single_image img_size="200x200" alignment="center" style="vc_box_circle" css_animation="top-to-bottom"][vc_custom_heading text="Paula O'Reilly" font_container="tag:h4|font_size:22|text_align:center|color:%233a3a3a|line_height:1.2" google_fonts="font_family:Montserrat%3Aregular%2C700|font_style:400%20regular%3A400%3Anormal"][vc_column_text css=".vc_custom_1437056586937{margin-bottom: 10px !important;}"]Medium Size Business Owner[/vc_column_text][vc_column_text]My client loves how easy it is for them to manage their own site, after I set it up using Visual Composer page builder plugin for WordPress.[/vc_column_text][vc_btn title="Get in Touch" style="flat" shape="round" color="primary" align="center" link="||"][/vc_column][vc_column width="1/4"][vc_single_image img_size="200x200" alignment="center" style="vc_box_circle" css_animation="top-to-bottom"][vc_custom_heading text="Anabella Thomson" font_container="tag:h4|font_size:22|text_align:center|color:%233a3a3a|line_height:1.2" google_fonts="font_family:Montserrat%3Aregular%2C700|font_style:400%20regular%3A400%3Anormal"][vc_column_text css=".vc_custom_1437056567677{margin-bottom: 10px !important;}"]Startup Business Owner[/vc_column_text][vc_column_text]This plug-in was/is one of the BEST investments I’ve ever made. One thing is certain. Code Canyon/WPBakery is on top of this gem.[/vc_column_text][vc_btn title="Get in Touch" style="flat" shape="round" color="primary" align="center" link="||"][/vc_column][vc_column width="1/4"][vc_single_image img_size="200x200" alignment="center" style="vc_box_circle" css_animation="top-to-bottom"][vc_custom_heading text="Martin von Berdich" font_container="tag:h4|font_size:22|text_align:center|color:%233a3a3a|line_height:1.2" google_fonts="font_family:Montserrat%3Aregular%2C700|font_style:400%20regular%3A400%3Anormal"][vc_column_text css=".vc_custom_1437056604397{margin-bottom: 10px !important;}"]Client Relationship Manager[/vc_column_text][vc_column_text]Visual Composer is our number one requirement because of Visual Composer, our clients can manage their own website[/vc_column_text][vc_btn title="Get in Touch" style="flat" shape="round" color="primary" align="center" link="||"][/vc_column][vc_column width="1/4"][vc_single_image img_size="200x200" alignment="center" style="vc_box_circle" css_animation="top-to-bottom"][vc_custom_heading text="Paula Smith" font_container="tag:h4|font_size:22|text_align:center|color:%233a3a3a|line_height:1.2" google_fonts="font_family:Montserrat%3Aregular%2C700|font_style:400%20regular%3A400%3Anormal"][vc_column_text css=".vc_custom_1437056630846{margin-bottom: 10px !important;}"]Small Business Owner[/vc_column_text][vc_column_text]In my opinion this is the greatest advance of WordPress since it’s creation and is the most outstanding plugin on the market.[/vc_column_text][vc_btn title="Get in Touch" style="flat" shape="round" color="primary" align="center" link="||"][/vc_column][/vc_row] CONTENT; vc_add_default_templates( $data ); /** Hero Image With Description */ $data = array(); $data['name'] = __( 'Hero Image With Description', 'js_composer' ); $data['disabled'] = true; $data['content'] = <<<CONTENT [vc_row full_width="stretch_row" css=".vc_custom_1456147693944{padding-top: 100px !important;padding-bottom: 100px !important;background-color: #eaeaea !important;}"][vc_column width="1/3"][/vc_column][vc_column width="1/3" css=".vc_custom_1456147681162{background-color: #ffffff !important;border: 5px solid #353535 !important;}"][vc_custom_heading font_container="tag:h3|text_align:center|color:%23353535"][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][/vc_column][vc_column width="1/3"][/vc_column][/vc_row] CONTENT; vc_add_default_templates( $data ); /** Description with Image on Background */ $data = array(); $data['name'] = __( 'Description with Image on Background', 'js_composer' ); $data['disabled'] = true; $data['content'] = <<<CONTENT [vc_row full_width="stretch_row" css=".vc_custom_1456147865877{padding-top: 100px !important;padding-bottom: 100px !important;background-color: #eaeaea !important;}"][vc_column][vc_row_inner equal_height="yes" css=".vc_custom_1456148051953{margin-top: 0px !important;}"][vc_column_inner width="1/2" css=".vc_custom_1456148038655{background-color: #dd4949 !important;}"][vc_single_image img_size="full"][/vc_column_inner][vc_column_inner width="1/2" css=".vc_custom_1456148028687{padding-right: 35px !important;padding-left: 35px !important;background-color: #dd4949 !important;}"][vc_custom_heading font_container="tag:h2|text_align:left|color:%23ffffff"][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][/vc_column_inner][/vc_row_inner][/vc_column][/vc_row] CONTENT; vc_add_default_templates( $data ); /** Three Image with Article */ $data = array(); $data['name'] = __( 'Three Image with Article', 'js_composer' ); $data['disabled'] = true; $data['content'] = <<<CONTENT [vc_row][vc_column width="1/3"][vc_single_image img_size="full"][/vc_column][vc_column width="1/3"][vc_single_image img_size="full"][/vc_column][vc_column width="1/3"][vc_single_image img_size="full"][/vc_column][/vc_row][vc_row][vc_column width="1/2"][vc_custom_heading font_container="tag:h5|text_align:left" use_theme_fonts="yes" css=".vc_custom_1456150396297{margin-top: 0px !important;}"][vc_custom_heading use_theme_fonts="yes" css=".vc_custom_1456150386744{margin-top: 0px !important;}"][vc_column_text css=".vc_custom_1456150379129{padding-top: 15px !important;}"]Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque id condimentum felis. Duis sed ex et magna porttitor hendrerit. Nulla et lacinia ipsum. Morbi tincidunt eros ac luctus efficitur. Suspendisse potenti. Duis bibendum gravida nisi et varius.[/vc_column_text][vc_btn title="Read More" style="flat" shape="round" color="chino"][/vc_column][vc_column width="1/2"][vc_column_text]Aliquam erat volutpat. Morbi auctor malesuada vehicula. Pellentesque sed mi accumsan, facilisis purus quis, viverra ligula. Phasellus tellus tellus, efficitur vel lobortis eget, feugiat at eros. Donec id nunc nec erat vestibulum viverra et a ipsum. Aenean eros eros, venenatis pretium nibh non, ornare vehicula mauris. Curabitur vel dui quis est efficitur pharetra et eu elit. Sed efficitur porta ex laoreet lobortis. Donec id gravida mi, eu vehicula quam. Cras tristique volutpat diam, in dignissim orci tristique ut. Duis in enim non massa ullamcorper elementum. Donec metus leo, tempor ac volutpat sed, laoreet quis arcu. Nullam in enim at est cursus ultrices efficitur vitae justo.[/vc_column_text][/vc_column][/vc_row] CONTENT; vc_add_default_templates( $data ); lean-map.php 0000666 00000037111 15213303514 0006753 0 ustar 00 <?php if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } /** * WPBakery Visual Composer Shortcodes settings Lazy mapping * * @package VPBakeryVisualComposer * */ $vc_config_path = vc_path_dir( 'CONFIG_DIR' ); vc_lean_map( 'vc_row', null, $vc_config_path . '/containers/shortcode-vc-row.php' ); vc_lean_map( 'vc_row_inner', null, $vc_config_path . '/containers/shortcode-vc-row-inner.php' ); vc_lean_map( 'vc_column', null, $vc_config_path . '/containers/shortcode-vc-column.php' ); vc_lean_map( 'vc_column_inner', null, $vc_config_path . '/containers/shortcode-vc-column-inner.php' ); vc_lean_map( 'vc_column_text', null, $vc_config_path . '/content/shortcode-vc-column-text.php' ); vc_lean_map( 'vc_section', null, $vc_config_path . '/containers/shortcode-vc-section.php' ); vc_lean_map( 'vc_icon', null, $vc_config_path . '/content/shortcode-vc-icon.php' ); vc_lean_map( 'vc_separator', null, $vc_config_path . '/content/shortcode-vc-separator.php' ); vc_lean_map( 'vc_text_separator', null, $vc_config_path . '/content/shortcode-vc-text-separator.php' ); vc_lean_map( 'vc_message', null, $vc_config_path . '/content/shortcode-vc-message.php' ); vc_lean_map( 'vc_facebook', null, $vc_config_path . '/social/shortcode-vc-facebook.php' ); vc_lean_map( 'vc_tweetmeme', null, $vc_config_path . '/social/shortcode-vc-tweetmeme.php' ); vc_lean_map( 'vc_googleplus', null, $vc_config_path . '/social/shortcode-vc-googleplus.php' ); vc_lean_map( 'vc_pinterest', null, $vc_config_path . '/social/shortcode-vc-pinterest.php' ); vc_lean_map( 'vc_toggle', null, $vc_config_path . '/content/shortcode-vc-toggle.php' ); vc_lean_map( 'vc_single_image', null, $vc_config_path . '/content/shortcode-vc-single-image.php' ); vc_lean_map( 'vc_gallery', null, $vc_config_path . '/content/shortcode-vc-gallery.php' ); vc_lean_map( 'vc_images_carousel', null, $vc_config_path . '/content/shortcode-vc-images-carousel.php' ); vc_lean_map( 'vc_tta_tabs', null, $vc_config_path . '/tta/shortcode-vc-tta-tabs.php' ); vc_lean_map( 'vc_tta_tour', null, $vc_config_path . '/tta/shortcode-vc-tta-tour.php' ); vc_lean_map( 'vc_tta_accordion', null, $vc_config_path . '/tta/shortcode-vc-tta-accordion.php' ); vc_lean_map( 'vc_tta_pageable', null, $vc_config_path . '/tta/shortcode-vc-tta-pageable.php' ); vc_lean_map( 'vc_tta_section', null, $vc_config_path . '/tta/shortcode-vc-tta-section.php' ); vc_lean_map( 'vc_custom_heading', null, $vc_config_path . '/content/shortcode-vc-custom-heading.php' ); vc_lean_map( 'vc_btn', null, $vc_config_path . '/buttons/shortcode-vc-btn.php' ); vc_lean_map( 'vc_cta', null, $vc_config_path . '/buttons/shortcode-vc-cta.php' ); vc_lean_map( 'vc_widget_sidebar', null, $vc_config_path . '/structure/shortcode-vc-widget-sidebar.php' ); vc_lean_map( 'vc_posts_slider', null, $vc_config_path . '/content/shortcode-vc-posts-slider.php' ); vc_lean_map( 'vc_video', null, $vc_config_path . '/content/shortcode-vc-video.php' ); vc_lean_map( 'vc_gmaps', null, $vc_config_path . '/content/shortcode-vc-gmaps.php' ); vc_lean_map( 'vc_raw_html', null, $vc_config_path . '/structure/shortcode-vc-raw-html.php' ); vc_lean_map( 'vc_raw_js', null, $vc_config_path . '/structure/shortcode-vc-raw-js.php' ); vc_lean_map( 'vc_flickr', null, $vc_config_path . '/content/shortcode-vc-flickr.php' ); vc_lean_map( 'vc_progress_bar', null, $vc_config_path . '/content/shortcode-vc-progress-bar.php' ); vc_lean_map( 'vc_pie', null, $vc_config_path . '/content/shortcode-vc-pie.php' ); vc_lean_map( 'vc_round_chart', null, $vc_config_path . '/content/shortcode-vc-round-chart.php' ); vc_lean_map( 'vc_line_chart', null, $vc_config_path . '/content/shortcode-vc-line-chart.php' ); vc_lean_map( 'vc_wp_search', null, $vc_config_path . '/wp/shortcode-vc-wp-search.php' ); vc_lean_map( 'vc_wp_meta', null, $vc_config_path . '/wp/shortcode-vc-wp-meta.php' ); vc_lean_map( 'vc_wp_recentcomments', null, $vc_config_path . '/wp/shortcode-vc-wp-recentcomments.php' ); vc_lean_map( 'vc_wp_calendar', null, $vc_config_path . '/wp/shortcode-vc-wp-calendar.php' ); vc_lean_map( 'vc_wp_pages', null, $vc_config_path . '/wp/shortcode-vc-wp-pages.php' ); vc_lean_map( 'vc_wp_tagcloud', null, $vc_config_path . '/wp/shortcode-vc-wp-tagcloud.php' ); vc_lean_map( 'vc_wp_custommenu', null, $vc_config_path . '/wp/shortcode-vc-wp-custommenu.php' ); vc_lean_map( 'vc_wp_text', null, $vc_config_path . '/wp/shortcode-vc-wp-text.php' ); vc_lean_map( 'vc_wp_posts', null, $vc_config_path . '/wp/shortcode-vc-wp-posts.php' ); vc_lean_map( 'vc_wp_links', null, $vc_config_path . '/wp/shortcode-vc-wp-links.php' ); vc_lean_map( 'vc_wp_categories', null, $vc_config_path . '/wp/shortcode-vc-wp-categories.php' ); vc_lean_map( 'vc_wp_archives', null, $vc_config_path . '/wp/shortcode-vc-wp-archives.php' ); vc_lean_map( 'vc_wp_rss', null, $vc_config_path . '/wp/shortcode-vc-wp-rss.php' ); vc_lean_map( 'vc_empty_space', null, $vc_config_path . '/content/shortcode-vc-empty-space.php' ); vc_lean_map( 'vc_basic_grid', null, $vc_config_path . '/grids/shortcode-vc-basic-grid.php' ); vc_lean_map( 'vc_media_grid', null, $vc_config_path . '/grids/shortcode-vc-media-grid.php' ); vc_lean_map( 'vc_masonry_grid', null, $vc_config_path . '/grids/shortcode-vc-masonry-grid.php' ); vc_lean_map( 'vc_masonry_media_grid', null, $vc_config_path . '/grids/shortcode-vc-masonry-media-grid.php' ); vc_lean_map( 'vc_tabs', null, $vc_config_path . '/deprecated/shortcode-vc-tabs.php' ); vc_lean_map( 'vc_tour', null, $vc_config_path . '/deprecated/shortcode-vc-tour.php' ); vc_lean_map( 'vc_tab', null, $vc_config_path . '/deprecated/shortcode-vc-tab.php' ); vc_lean_map( 'vc_accordion', null, $vc_config_path . '/deprecated/shortcode-vc-accordion.php' ); vc_lean_map( 'vc_accordion_tab', null, $vc_config_path . '/deprecated/shortcode-vc-accordion-tab.php' ); vc_lean_map( 'vc_posts_grid', null, $vc_config_path . '/deprecated/shortcode-vc-posts-grid.php' ); vc_lean_map( 'vc_carousel', null, $vc_config_path . '/deprecated/shortcode-vc-carousel.php' ); vc_lean_map( 'vc_button', null, $vc_config_path . '/deprecated/shortcode-vc-button.php' ); vc_lean_map( 'vc_button2', null, $vc_config_path . '/deprecated/shortcode-vc-button2.php' ); vc_lean_map( 'vc_cta_button', null, $vc_config_path . '/deprecated/shortcode-vc-cta-button.php' ); vc_lean_map( 'vc_cta_button2', null, $vc_config_path . '/deprecated/shortcode-vc-cta-button2.php' ); if ( is_admin() ) { add_action( 'admin_print_scripts-post.php', array( Vc_Shortcodes_Manager::getInstance(), 'buildShortcodesAssets', ), 1 ); add_action( 'admin_print_scripts-post-new.php', array( Vc_Shortcodes_Manager::getInstance(), 'buildShortcodesAssets', ), 1 ); add_action( 'vc-render-templates-preview-template', array( Vc_Shortcodes_Manager::getInstance(), 'buildShortcodesAssets', ), 1 ); } elseif ( vc_is_page_editable() ) { add_action( 'wp_head', array( Vc_Shortcodes_Manager::getInstance(), 'buildShortcodesAssetsForEditable', ) ); // @todo where these icons are used in iframe? } /** * @deprecated 4.12 * @return mixed|void */ function vc_add_css_animation() { return vc_map_add_css_animation(); } function vc_target_param_list() { return array( __( 'Same window', 'js_composer' ) => '_self', __( 'New window', 'js_composer' ) => '_blank', ); } function vc_layout_sub_controls() { return array( array( 'link_post', __( 'Link to post', 'js_composer' ), ), array( 'no_link', __( 'No link', 'js_composer' ), ), array( 'link_image', __( 'Link to bigger image', 'js_composer' ), ), ); } function vc_pixel_icons() { return array( array( 'vc_pixel_icon vc_pixel_icon-alert' => __( 'Alert', 'js_composer' ) ), array( 'vc_pixel_icon vc_pixel_icon-info' => __( 'Info', 'js_composer' ) ), array( 'vc_pixel_icon vc_pixel_icon-tick' => __( 'Tick', 'js_composer' ) ), array( 'vc_pixel_icon vc_pixel_icon-explanation' => __( 'Explanation', 'js_composer' ) ), array( 'vc_pixel_icon vc_pixel_icon-address_book' => __( 'Address book', 'js_composer' ) ), array( 'vc_pixel_icon vc_pixel_icon-alarm_clock' => __( 'Alarm clock', 'js_composer' ) ), array( 'vc_pixel_icon vc_pixel_icon-anchor' => __( 'Anchor', 'js_composer' ) ), array( 'vc_pixel_icon vc_pixel_icon-application_image' => __( 'Application Image', 'js_composer' ) ), array( 'vc_pixel_icon vc_pixel_icon-arrow' => __( 'Arrow', 'js_composer' ) ), array( 'vc_pixel_icon vc_pixel_icon-asterisk' => __( 'Asterisk', 'js_composer' ) ), array( 'vc_pixel_icon vc_pixel_icon-hammer' => __( 'Hammer', 'js_composer' ) ), array( 'vc_pixel_icon vc_pixel_icon-balloon' => __( 'Balloon', 'js_composer' ) ), array( 'vc_pixel_icon vc_pixel_icon-balloon_buzz' => __( 'Balloon Buzz', 'js_composer' ) ), array( 'vc_pixel_icon vc_pixel_icon-balloon_facebook' => __( 'Balloon Facebook', 'js_composer' ) ), array( 'vc_pixel_icon vc_pixel_icon-balloon_twitter' => __( 'Balloon Twitter', 'js_composer' ) ), array( 'vc_pixel_icon vc_pixel_icon-battery' => __( 'Battery', 'js_composer' ) ), array( 'vc_pixel_icon vc_pixel_icon-binocular' => __( 'Binocular', 'js_composer' ) ), array( 'vc_pixel_icon vc_pixel_icon-document_excel' => __( 'Document Excel', 'js_composer' ) ), array( 'vc_pixel_icon vc_pixel_icon-document_image' => __( 'Document Image', 'js_composer' ) ), array( 'vc_pixel_icon vc_pixel_icon-document_music' => __( 'Document Music', 'js_composer' ) ), array( 'vc_pixel_icon vc_pixel_icon-document_office' => __( 'Document Office', 'js_composer' ) ), array( 'vc_pixel_icon vc_pixel_icon-document_pdf' => __( 'Document PDF', 'js_composer' ) ), array( 'vc_pixel_icon vc_pixel_icon-document_powerpoint' => __( 'Document Powerpoint', 'js_composer' ) ), array( 'vc_pixel_icon vc_pixel_icon-document_word' => __( 'Document Word', 'js_composer' ) ), array( 'vc_pixel_icon vc_pixel_icon-bookmark' => __( 'Bookmark', 'js_composer' ) ), array( 'vc_pixel_icon vc_pixel_icon-camcorder' => __( 'Camcorder', 'js_composer' ) ), array( 'vc_pixel_icon vc_pixel_icon-camera' => __( 'Camera', 'js_composer' ) ), array( 'vc_pixel_icon vc_pixel_icon-chart' => __( 'Chart', 'js_composer' ) ), array( 'vc_pixel_icon vc_pixel_icon-chart_pie' => __( 'Chart pie', 'js_composer' ) ), array( 'vc_pixel_icon vc_pixel_icon-clock' => __( 'Clock', 'js_composer' ) ), array( 'vc_pixel_icon vc_pixel_icon-fire' => __( 'Fire', 'js_composer' ) ), array( 'vc_pixel_icon vc_pixel_icon-heart' => __( 'Heart', 'js_composer' ) ), array( 'vc_pixel_icon vc_pixel_icon-mail' => __( 'Mail', 'js_composer' ) ), array( 'vc_pixel_icon vc_pixel_icon-play' => __( 'Play', 'js_composer' ) ), array( 'vc_pixel_icon vc_pixel_icon-shield' => __( 'Shield', 'js_composer' ) ), array( 'vc_pixel_icon vc_pixel_icon-video' => __( 'Video', 'js_composer' ) ), ); } function vc_colors_arr() { return array( __( 'Grey', 'js_composer' ) => 'wpb_button', __( 'Blue', 'js_composer' ) => 'btn-primary', __( 'Turquoise', 'js_composer' ) => 'btn-info', __( 'Green', 'js_composer' ) => 'btn-success', __( 'Orange', 'js_composer' ) => 'btn-warning', __( 'Red', 'js_composer' ) => 'btn-danger', __( 'Black', 'js_composer' ) => 'btn-inverse', ); } // Used in "Button" and "Call to Action" blocks function vc_size_arr() { return array( __( 'Regular', 'js_composer' ) => 'wpb_regularsize', __( 'Large', 'js_composer' ) => 'btn-large', __( 'Small', 'js_composer' ) => 'btn-small', __( 'Mini', 'js_composer' ) => 'btn-mini', ); } function vc_icons_arr() { return array( __( 'None', 'js_composer' ) => 'none', __( 'Address book icon', 'js_composer' ) => 'wpb_address_book', __( 'Alarm clock icon', 'js_composer' ) => 'wpb_alarm_clock', __( 'Anchor icon', 'js_composer' ) => 'wpb_anchor', __( 'Application Image icon', 'js_composer' ) => 'wpb_application_image', __( 'Arrow icon', 'js_composer' ) => 'wpb_arrow', __( 'Asterisk icon', 'js_composer' ) => 'wpb_asterisk', __( 'Hammer icon', 'js_composer' ) => 'wpb_hammer', __( 'Balloon icon', 'js_composer' ) => 'wpb_balloon', __( 'Balloon Buzz icon', 'js_composer' ) => 'wpb_balloon_buzz', __( 'Balloon Facebook icon', 'js_composer' ) => 'wpb_balloon_facebook', __( 'Balloon Twitter icon', 'js_composer' ) => 'wpb_balloon_twitter', __( 'Battery icon', 'js_composer' ) => 'wpb_battery', __( 'Binocular icon', 'js_composer' ) => 'wpb_binocular', __( 'Document Excel icon', 'js_composer' ) => 'wpb_document_excel', __( 'Document Image icon', 'js_composer' ) => 'wpb_document_image', __( 'Document Music icon', 'js_composer' ) => 'wpb_document_music', __( 'Document Office icon', 'js_composer' ) => 'wpb_document_office', __( 'Document PDF icon', 'js_composer' ) => 'wpb_document_pdf', __( 'Document Powerpoint icon', 'js_composer' ) => 'wpb_document_powerpoint', __( 'Document Word icon', 'js_composer' ) => 'wpb_document_word', __( 'Bookmark icon', 'js_composer' ) => 'wpb_bookmark', __( 'Camcorder icon', 'js_composer' ) => 'wpb_camcorder', __( 'Camera icon', 'js_composer' ) => 'wpb_camera', __( 'Chart icon', 'js_composer' ) => 'wpb_chart', __( 'Chart pie icon', 'js_composer' ) => 'wpb_chart_pie', __( 'Clock icon', 'js_composer' ) => 'wpb_clock', __( 'Fire icon', 'js_composer' ) => 'wpb_fire', __( 'Heart icon', 'js_composer' ) => 'wpb_heart', __( 'Mail icon', 'js_composer' ) => 'wpb_mail', __( 'Play icon', 'js_composer' ) => 'wpb_play', __( 'Shield icon', 'js_composer' ) => 'wpb_shield', __( 'Video icon', 'js_composer' ) => 'wpb_video', ); } require_once vc_path_dir( 'CONFIG_DIR', 'grids/vc-grids-functions.php' ); if ( 'vc_get_autocomplete_suggestion' === vc_request_param( 'action' ) || 'vc_edit_form' === vc_post_param( 'action' ) ) { add_filter( 'vc_autocomplete_vc_basic_grid_include_callback', 'vc_include_field_search', 10, 1 ); // Get suggestion(find). Must return an array add_filter( 'vc_autocomplete_vc_basic_grid_include_render', 'vc_include_field_render', 10, 1 ); // Render exact product. Must return an array (label,value) add_filter( 'vc_autocomplete_vc_masonry_grid_include_callback', 'vc_include_field_search', 10, 1 ); // Get suggestion(find). Must return an array add_filter( 'vc_autocomplete_vc_masonry_grid_include_render', 'vc_include_field_render', 10, 1 ); // Render exact product. Must return an array (label,value) // Narrow data taxonomies add_filter( 'vc_autocomplete_vc_basic_grid_taxonomies_callback', 'vc_autocomplete_taxonomies_field_search', 10, 1 ); add_filter( 'vc_autocomplete_vc_basic_grid_taxonomies_render', 'vc_autocomplete_taxonomies_field_render', 10, 1 ); add_filter( 'vc_autocomplete_vc_masonry_grid_taxonomies_callback', 'vc_autocomplete_taxonomies_field_search', 10, 1 ); add_filter( 'vc_autocomplete_vc_masonry_grid_taxonomies_render', 'vc_autocomplete_taxonomies_field_render', 10, 1 ); // Narrow data taxonomies for exclude_filter add_filter( 'vc_autocomplete_vc_basic_grid_exclude_filter_callback', 'vc_autocomplete_taxonomies_field_search', 10, 1 ); add_filter( 'vc_autocomplete_vc_basic_grid_exclude_filter_render', 'vc_autocomplete_taxonomies_field_render', 10, 1 ); add_filter( 'vc_autocomplete_vc_masonry_grid_exclude_filter_callback', 'vc_autocomplete_taxonomies_field_search', 10, 1 ); add_filter( 'vc_autocomplete_vc_masonry_grid_exclude_filter_render', 'vc_autocomplete_taxonomies_field_render', 10, 1 ); add_filter( 'vc_autocomplete_vc_basic_grid_exclude_callback', 'vc_exclude_field_search', 10, 1 ); // Get suggestion(find). Must return an array add_filter( 'vc_autocomplete_vc_basic_grid_exclude_render', 'vc_exclude_field_render', 10, 1 ); // Render exact product. Must return an array (label,value) add_filter( 'vc_autocomplete_vc_masonry_grid_exclude_callback', 'vc_exclude_field_search', 10, 1 ); // Get suggestion(find). Must return an array add_filter( 'vc_autocomplete_vc_masonry_grid_exclude_render', 'vc_exclude_field_render', 10, 1 ); // Render exact product. Must return an array (label,value); } containers/shortcode-vc-row.php 0000666 00000015351 15213303514 0012635 0 ustar 00 <?php if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } return array( 'name' => __( 'Row', 'js_composer' ), 'is_container' => true, 'icon' => 'icon-wpb-row', 'show_settings_on_create' => false, 'category' => __( 'Content', 'js_composer' ), 'class' => 'vc_main-sortable-element', 'description' => __( 'Place content elements inside the row', 'js_composer' ), 'params' => array( array( 'type' => 'dropdown', 'heading' => __( 'Row stretch', 'js_composer' ), 'param_name' => 'full_width', 'value' => array( __( 'Default', 'js_composer' ) => '', __( 'Stretch row', 'js_composer' ) => 'stretch_row', __( 'Stretch row and content', 'js_composer' ) => 'stretch_row_content', __( 'Stretch row and content (no paddings)', 'js_composer' ) => 'stretch_row_content_no_spaces', ), 'description' => __( 'Select stretching options for row and content (Note: stretched may not work properly if parent container has "overflow: hidden" CSS property).', 'js_composer' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Columns gap', 'js_composer' ), 'param_name' => 'gap', 'value' => array( '0px' => '0', '1px' => '1', '2px' => '2', '3px' => '3', '4px' => '4', '5px' => '5', '10px' => '10', '15px' => '15', '20px' => '20', '25px' => '25', '30px' => '30', '35px' => '35', ), 'std' => '0', 'description' => __( 'Select gap between columns in row.', 'js_composer' ), ), array( 'type' => 'checkbox', 'heading' => __( 'Full height row?', 'js_composer' ), 'param_name' => 'full_height', 'description' => __( 'If checked row will be set to full height.', 'js_composer' ), 'value' => array( __( 'Yes', 'js_composer' ) => 'yes' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Columns position', 'js_composer' ), 'param_name' => 'columns_placement', 'value' => array( __( 'Middle', 'js_composer' ) => 'middle', __( 'Top', 'js_composer' ) => 'top', __( 'Bottom', 'js_composer' ) => 'bottom', __( 'Stretch', 'js_composer' ) => 'stretch', ), 'description' => __( 'Select columns position within row.', 'js_composer' ), 'dependency' => array( 'element' => 'full_height', 'not_empty' => true, ), ), array( 'type' => 'checkbox', 'heading' => __( 'Equal height', 'js_composer' ), 'param_name' => 'equal_height', 'description' => __( 'If checked columns will be set to equal height.', 'js_composer' ), 'value' => array( __( 'Yes', 'js_composer' ) => 'yes' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Content position', 'js_composer' ), 'param_name' => 'content_placement', 'value' => array( __( 'Default', 'js_composer' ) => '', __( 'Top', 'js_composer' ) => 'top', __( 'Middle', 'js_composer' ) => 'middle', __( 'Bottom', 'js_composer' ) => 'bottom', ), 'description' => __( 'Select content position within columns.', 'js_composer' ), ), array( 'type' => 'checkbox', 'heading' => __( 'Use video background?', 'js_composer' ), 'param_name' => 'video_bg', 'description' => __( 'If checked, video will be used as row background.', 'js_composer' ), 'value' => array( __( 'Yes', 'js_composer' ) => 'yes' ), ), array( 'type' => 'textfield', 'heading' => __( 'YouTube link', 'js_composer' ), 'param_name' => 'video_bg_url', 'value' => 'https://www.youtube.com/watch?v=lMJXxhRFO1k', // default video url 'description' => __( 'Add YouTube link.', 'js_composer' ), 'dependency' => array( 'element' => 'video_bg', 'not_empty' => true, ), ), array( 'type' => 'dropdown', 'heading' => __( 'Parallax', 'js_composer' ), 'param_name' => 'video_bg_parallax', 'value' => array( __( 'None', 'js_composer' ) => '', __( 'Simple', 'js_composer' ) => 'content-moving', __( 'With fade', 'js_composer' ) => 'content-moving-fade', ), 'description' => __( 'Add parallax type background for row.', 'js_composer' ), 'dependency' => array( 'element' => 'video_bg', 'not_empty' => true, ), ), array( 'type' => 'dropdown', 'heading' => __( 'Parallax', 'js_composer' ), 'param_name' => 'parallax', 'value' => array( __( 'None', 'js_composer' ) => '', __( 'Simple', 'js_composer' ) => 'content-moving', __( 'With fade', 'js_composer' ) => 'content-moving-fade', ), 'description' => __( 'Add parallax type background for row (Note: If no image is specified, parallax will use background image from Design Options).', 'js_composer' ), 'dependency' => array( 'element' => 'video_bg', 'is_empty' => true, ), ), array( 'type' => 'attach_image', 'heading' => __( 'Image', 'js_composer' ), 'param_name' => 'parallax_image', 'value' => '', 'description' => __( 'Select image from media library.', 'js_composer' ), 'dependency' => array( 'element' => 'parallax', 'not_empty' => true, ), ), array( 'type' => 'textfield', 'heading' => __( 'Parallax speed', 'js_composer' ), 'param_name' => 'parallax_speed_video', 'value' => '1.5', 'description' => __( 'Enter parallax speed ratio (Note: Default value is 1.5, min value is 1)', 'js_composer' ), 'dependency' => array( 'element' => 'video_bg_parallax', 'not_empty' => true, ), ), array( 'type' => 'textfield', 'heading' => __( 'Parallax speed', 'js_composer' ), 'param_name' => 'parallax_speed_bg', 'value' => '1.5', 'description' => __( 'Enter parallax speed ratio (Note: Default value is 1.5, min value is 1)', 'js_composer' ), 'dependency' => array( 'element' => 'parallax', 'not_empty' => true, ), ), vc_map_add_css_animation( false ), array( 'type' => 'el_id', 'heading' => __( 'Row ID', 'js_composer' ), 'param_name' => 'el_id', 'description' => sprintf( __( 'Enter row ID (Note: make sure it is unique and valid according to <a href="%s" target="_blank">w3c specification</a>).', 'js_composer' ), 'http://www.w3schools.com/tags/att_global_id.asp' ), ), array( 'type' => 'checkbox', 'heading' => __( 'Disable row', 'js_composer' ), 'param_name' => 'disable_element', // Inner param name. 'description' => __( 'If checked the row won\'t be visible on the public side of your website. You can switch it back any time.', 'js_composer' ), 'value' => array( __( 'Yes', 'js_composer' ) => 'yes' ), ), array( 'type' => 'textfield', 'heading' => __( 'Extra class name', 'js_composer' ), 'param_name' => 'el_class', 'description' => __( 'Style particular content element differently - add a class name and refer to it in custom CSS.', 'js_composer' ), ), array( 'type' => 'css_editor', 'heading' => __( 'CSS box', 'js_composer' ), 'param_name' => 'css', 'group' => __( 'Design Options', 'js_composer' ), ), ), 'js_view' => 'VcRowView', ); containers/shortcode-vc-section.php 0000666 00000013070 15213303514 0013466 0 ustar 00 <?php if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } return array( 'name' => __( 'Section', 'js_composer' ), 'is_container' => true, 'icon' => 'vc_icon-vc-section', 'show_settings_on_create' => false, 'category' => __( 'Content', 'js_composer' ), 'as_parent' => array( 'only' => 'vc_row', ), 'as_child' => array( 'only' => '', // Only root ), 'class' => 'vc_main-sortable-element', 'description' => __( 'Group multiple rows in section', 'js_composer' ), 'params' => array( array( 'type' => 'dropdown', 'heading' => __( 'Section stretch', 'js_composer' ), 'param_name' => 'full_width', 'value' => array( __( 'Default', 'js_composer' ) => '', __( 'Stretch section', 'js_composer' ) => 'stretch_row', __( 'Stretch section and content', 'js_composer' ) => 'stretch_row_content', ), 'description' => __( 'Select stretching options for section and content (Note: stretched may not work properly if parent container has "overflow: hidden" CSS property).', 'js_composer' ), ), array( 'type' => 'checkbox', 'heading' => __( 'Full height section?', 'js_composer' ), 'param_name' => 'full_height', 'description' => __( 'If checked section will be set to full height.', 'js_composer' ), 'value' => array( __( 'Yes', 'js_composer' ) => 'yes' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Content position', 'js_composer' ), 'param_name' => 'content_placement', 'value' => array( __( 'Default', 'js_composer' ) => '', __( 'Top', 'js_composer' ) => 'top', __( 'Middle', 'js_composer' ) => 'middle', __( 'Bottom', 'js_composer' ) => 'bottom', ), 'description' => __( 'Select content position within section.', 'js_composer' ), ), array( 'type' => 'checkbox', 'heading' => __( 'Use video background?', 'js_composer' ), 'param_name' => 'video_bg', 'description' => __( 'If checked, video will be used as section background.', 'js_composer' ), 'value' => array( __( 'Yes', 'js_composer' ) => 'yes' ), ), array( 'type' => 'textfield', 'heading' => __( 'YouTube link', 'js_composer' ), 'param_name' => 'video_bg_url', 'value' => 'https://www.youtube.com/watch?v=lMJXxhRFO1k', // default video url 'description' => __( 'Add YouTube link.', 'js_composer' ), 'dependency' => array( 'element' => 'video_bg', 'not_empty' => true, ), ), array( 'type' => 'dropdown', 'heading' => __( 'Parallax', 'js_composer' ), 'param_name' => 'video_bg_parallax', 'value' => array( __( 'None', 'js_composer' ) => '', __( 'Simple', 'js_composer' ) => 'content-moving', __( 'With fade', 'js_composer' ) => 'content-moving-fade', ), 'description' => __( 'Add parallax type background for section.', 'js_composer' ), 'dependency' => array( 'element' => 'video_bg', 'not_empty' => true, ), ), array( 'type' => 'dropdown', 'heading' => __( 'Parallax', 'js_composer' ), 'param_name' => 'parallax', 'value' => array( __( 'None', 'js_composer' ) => '', __( 'Simple', 'js_composer' ) => 'content-moving', __( 'With fade', 'js_composer' ) => 'content-moving-fade', ), 'description' => __( 'Add parallax type background for section (Note: If no image is specified, parallax will use background image from Design Options).', 'js_composer' ), 'dependency' => array( 'element' => 'video_bg', 'is_empty' => true, ), ), array( 'type' => 'attach_image', 'heading' => __( 'Image', 'js_composer' ), 'param_name' => 'parallax_image', 'value' => '', 'description' => __( 'Select image from media library.', 'js_composer' ), 'dependency' => array( 'element' => 'parallax', 'not_empty' => true, ), ), array( 'type' => 'textfield', 'heading' => __( 'Parallax speed', 'js_composer' ), 'param_name' => 'parallax_speed_video', 'value' => '1.5', 'description' => __( 'Enter parallax speed ratio (Note: Default value is 1.5, min value is 1)', 'js_composer' ), 'dependency' => array( 'element' => 'video_bg_parallax', 'not_empty' => true, ), ), array( 'type' => 'textfield', 'heading' => __( 'Parallax speed', 'js_composer' ), 'param_name' => 'parallax_speed_bg', 'value' => '1.5', 'description' => __( 'Enter parallax speed ratio (Note: Default value is 1.5, min value is 1)', 'js_composer' ), 'dependency' => array( 'element' => 'parallax', 'not_empty' => true, ), ), vc_map_add_css_animation( false ), array( 'type' => 'el_id', 'heading' => __( 'Section ID', 'js_composer' ), 'param_name' => 'el_id', 'description' => sprintf( __( 'Enter section ID (Note: make sure it is unique and valid according to <a href="%s" target="_blank">w3c specification</a>).', 'js_composer' ), 'http://www.w3schools.com/tags/att_global_id.asp' ), ), array( 'type' => 'checkbox', 'heading' => __( 'Disable section', 'js_composer' ), 'param_name' => 'disable_element', // Inner param name. 'description' => __( 'If checked the section won\'t be visible on the public side of your website. You can switch it back any time.', 'js_composer' ), 'value' => array( __( 'Yes', 'js_composer' ) => 'yes' ), ), array( 'type' => 'textfield', 'heading' => __( 'Extra class name', 'js_composer' ), 'param_name' => 'el_class', 'description' => __( 'Style particular content element differently - add a class name and refer to it in custom CSS.', 'js_composer' ), ), array( 'type' => 'css_editor', 'heading' => __( 'CSS box', 'js_composer' ), 'param_name' => 'css', 'group' => __( 'Design Options', 'js_composer' ), ), ), 'js_view' => 'VcSectionView', ); containers/shortcode-vc-column-inner.php 0000666 00000004246 15213303514 0014435 0 ustar 00 <?php if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } /** * @var $tag - shortcode tag; */ return array( 'name' => __( 'Inner Column', 'js_composer' ), 'base' => 'vc_column_inner', 'icon' => 'icon-wpb-row', 'class' => '', 'wrapper_class' => '', 'controls' => 'full', 'allowed_container_element' => false, 'content_element' => false, 'is_container' => true, 'description' => __( 'Place content elements inside the inner column', 'js_composer' ), 'params' => array( array( 'type' => 'textfield', 'heading' => __( 'Extra class name', 'js_composer' ), 'param_name' => 'el_class', 'value' => '', 'description' => __( 'Style particular content element differently - add a class name and refer to it in custom CSS.', 'js_composer' ), ), array( 'type' => 'css_editor', 'heading' => __( 'CSS box', 'js_composer' ), 'param_name' => 'css', 'group' => __( 'Design Options', 'js_composer' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Width', 'js_composer' ), 'param_name' => 'width', 'value' => array( __( '1 column - 1/12', 'js_composer' ) => '1/12', __( '2 columns - 1/6', 'js_composer' ) => '1/6', __( '3 columns - 1/4', 'js_composer' ) => '1/4', __( '4 columns - 1/3', 'js_composer' ) => '1/3', __( '5 columns - 5/12', 'js_composer' ) => '5/12', __( '6 columns - 1/2', 'js_composer' ) => '1/2', __( '7 columns - 7/12', 'js_composer' ) => '7/12', __( '8 columns - 2/3', 'js_composer' ) => '2/3', __( '9 columns - 3/4', 'js_composer' ) => '3/4', __( '10 columns - 5/6', 'js_composer' ) => '5/6', __( '11 columns - 11/12', 'js_composer' ) => '11/12', __( '12 columns - 1/1', 'js_composer' ) => '1/1', ), 'group' => __( 'Responsive Options', 'js_composer' ), 'description' => __( 'Select column width.', 'js_composer' ), 'std' => '1/1', ), array( 'type' => 'column_offset', 'heading' => __( 'Responsiveness', 'js_composer' ), 'param_name' => 'offset', 'group' => __( 'Responsive Options', 'js_composer' ), 'description' => __( 'Adjust column for different screen sizes. Control width, offset and visibility settings.', 'js_composer' ), ), ), 'js_view' => 'VcColumnView', ); containers/shortcode-vc-column.php 0000666 00000004051 15213303514 0013316 0 ustar 00 <?php if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } /** * @var $tag - shortcode tag; */ return array( 'name' => __( 'Column', 'js_composer' ), 'icon' => 'icon-wpb-row', 'is_container' => true, 'content_element' => false, 'description' => __( 'Place content elements inside the column', 'js_composer' ), 'params' => array( vc_map_add_css_animation( false ), array( 'type' => 'textfield', 'heading' => __( 'Extra class name', 'js_composer' ), 'param_name' => 'el_class', 'description' => __( 'Style particular content element differently - add a class name and refer to it in custom CSS.', 'js_composer' ), ), array( 'type' => 'css_editor', 'heading' => __( 'CSS box', 'js_composer' ), 'param_name' => 'css', 'group' => __( 'Design Options', 'js_composer' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Width', 'js_composer' ), 'param_name' => 'width', 'value' => array( __( '1 column - 1/12', 'js_composer' ) => '1/12', __( '2 columns - 1/6', 'js_composer' ) => '1/6', __( '3 columns - 1/4', 'js_composer' ) => '1/4', __( '4 columns - 1/3', 'js_composer' ) => '1/3', __( '5 columns - 5/12', 'js_composer' ) => '5/12', __( '6 columns - 1/2', 'js_composer' ) => '1/2', __( '7 columns - 7/12', 'js_composer' ) => '7/12', __( '8 columns - 2/3', 'js_composer' ) => '2/3', __( '9 columns - 3/4', 'js_composer' ) => '3/4', __( '10 columns - 5/6', 'js_composer' ) => '5/6', __( '11 columns - 11/12', 'js_composer' ) => '11/12', __( '12 columns - 1/1', 'js_composer' ) => '1/1', ), 'group' => __( 'Responsive Options', 'js_composer' ), 'description' => __( 'Select column width.', 'js_composer' ), 'std' => '1/1', ), array( 'type' => 'column_offset', 'heading' => __( 'Responsiveness', 'js_composer' ), 'param_name' => 'offset', 'group' => __( 'Responsive Options', 'js_composer' ), 'description' => __( 'Adjust column for different screen sizes. Control width, offset and visibility settings.', 'js_composer' ), ), ), 'js_view' => 'VcColumnView', ); containers/shortcode-vc-row-inner.php 0000666 00000005317 15213303514 0013747 0 ustar 00 <?php if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } return array( 'name' => __( 'Inner Row', 'js_composer' ), //Inner Row 'content_element' => false, 'is_container' => true, 'icon' => 'icon-wpb-row', 'weight' => 1000, 'show_settings_on_create' => false, 'description' => __( 'Place content elements inside the inner row', 'js_composer' ), 'params' => array( array( 'type' => 'el_id', 'heading' => __( 'Row ID', 'js_composer' ), 'param_name' => 'el_id', 'description' => sprintf( __( 'Enter optional row ID. Make sure it is unique, and it is valid as w3c specification: %s (Must not have spaces)', 'js_composer' ), '<a target="_blank" href="http://www.w3schools.com/tags/att_global_id.asp">' . __( 'link', 'js_composer' ) . '</a>' ), ), array( 'type' => 'checkbox', 'heading' => __( 'Equal height', 'js_composer' ), 'param_name' => 'equal_height', 'description' => __( 'If checked columns will be set to equal height.', 'js_composer' ), 'value' => array( __( 'Yes', 'js_composer' ) => 'yes' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Content position', 'js_composer' ), 'param_name' => 'content_placement', 'value' => array( __( 'Default', 'js_composer' ) => '', __( 'Top', 'js_composer' ) => 'top', __( 'Middle', 'js_composer' ) => 'middle', __( 'Bottom', 'js_composer' ) => 'bottom', ), 'description' => __( 'Select content position within columns.', 'js_composer' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Columns gap', 'js_composer' ), 'param_name' => 'gap', 'value' => array( '0px' => '0', '1px' => '1', '2px' => '2', '3px' => '3', '4px' => '4', '5px' => '5', '10px' => '10', '15px' => '15', '20px' => '20', '25px' => '25', '30px' => '30', '35px' => '35', ), 'std' => '0', 'description' => __( 'Select gap between columns in row.', 'js_composer' ), ), array( 'type' => 'checkbox', 'heading' => __( 'Disable row', 'js_composer' ), 'param_name' => 'disable_element', // Inner param name. 'description' => __( 'If checked the row won\'t be visible on the public side of your website. You can switch it back any time.', 'js_composer' ), 'value' => array( __( 'Yes', 'js_composer' ) => 'yes' ), ), array( 'type' => 'textfield', 'heading' => __( 'Extra class name', 'js_composer' ), 'param_name' => 'el_class', 'description' => __( 'Style particular content element differently - add a class name and refer to it in custom CSS.', 'js_composer' ), ), array( 'type' => 'css_editor', 'heading' => __( 'CSS box', 'js_composer' ), 'param_name' => 'css', 'group' => __( 'Design Options', 'js_composer' ), ), ), 'js_view' => 'VcRowView', ); wp/shortcode-vc-wp-search.php 0000666 00000001544 15213303514 0012177 0 ustar 00 <?php if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } return array( 'name' => 'WP ' . __( 'Search' ), 'base' => 'vc_wp_search', 'icon' => 'icon-wpb-wp', 'category' => __( 'WordPress Widgets', 'js_composer' ), 'class' => 'wpb_vc_wp_widget', 'weight' => - 50, 'description' => __( 'A search form for your site', 'js_composer' ), 'params' => array( array( 'type' => 'textfield', 'heading' => __( 'Widget title', 'js_composer' ), 'param_name' => 'title', 'description' => __( 'What text use as a widget title. Leave blank to use default widget title.', 'js_composer' ), ), array( 'type' => 'textfield', 'heading' => __( 'Extra class name', 'js_composer' ), 'param_name' => 'el_class', 'description' => __( 'Style particular content element differently - add a class name and refer to it in custom CSS.', 'js_composer' ), ), ), ); wp/shortcode-vc-wp-text.php 0000666 00000001750 15213303514 0011715 0 ustar 00 <?php if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } return array( 'name' => 'WP ' . __( 'Text' ), 'base' => 'vc_wp_text', 'icon' => 'icon-wpb-wp', 'category' => __( 'WordPress Widgets', 'js_composer' ), 'class' => 'wpb_vc_wp_widget', 'weight' => - 50, 'description' => __( 'Arbitrary text or HTML', 'js_composer' ), 'params' => array( array( 'type' => 'textfield', 'heading' => __( 'Widget title', 'js_composer' ), 'param_name' => 'title', 'description' => __( 'What text use as a widget title. Leave blank to use default widget title.', 'js_composer' ), ), array( 'type' => 'textarea_html', 'holder' => 'div', 'heading' => __( 'Text', 'js_composer' ), 'param_name' => 'content', ), array( 'type' => 'textfield', 'heading' => __( 'Extra class name', 'js_composer' ), 'param_name' => 'el_class', 'description' => __( 'Style particular content element differently - add a class name and refer to it in custom CSS.', 'js_composer' ), ), ), ); wp/shortcode-vc-wp-custommenu.php 0000666 00000003321 15213303514 0013124 0 ustar 00 <?php if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } $custom_menus = array(); if ( 'vc_edit_form' === vc_post_param( 'action' ) && vc_verify_admin_nonce() ) { $menus = get_terms( 'nav_menu', array( 'hide_empty' => false ) ); if ( is_array( $menus ) && ! empty( $menus ) ) { foreach ( $menus as $single_menu ) { if ( is_object( $single_menu ) && isset( $single_menu->name, $single_menu->term_id ) ) { $custom_menus[ $single_menu->name ] = $single_menu->term_id; } } } } return array( 'name' => 'WP ' . __( 'Custom Menu' ), 'base' => 'vc_wp_custommenu', 'icon' => 'icon-wpb-wp', 'category' => __( 'WordPress Widgets', 'js_composer' ), 'class' => 'wpb_vc_wp_widget', 'weight' => - 50, 'description' => __( 'Use this widget to add one of your custom menus as a widget', 'js_composer' ), 'params' => array( array( 'type' => 'textfield', 'heading' => __( 'Widget title', 'js_composer' ), 'param_name' => 'title', 'description' => __( 'What text use as a widget title. Leave blank to use default widget title.', 'js_composer' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Menu', 'js_composer' ), 'param_name' => 'nav_menu', 'value' => $custom_menus, 'description' => empty( $custom_menus ) ? __( 'Custom menus not found. Please visit <b>Appearance > Menus</b> page to create new menu.', 'js_composer' ) : __( 'Select menu to display.', 'js_composer' ), 'admin_label' => true, 'save_always' => true, ), array( 'type' => 'textfield', 'heading' => __( 'Extra class name', 'js_composer' ), 'param_name' => 'el_class', 'description' => __( 'Style particular content element differently - add a class name and refer to it in custom CSS.', 'js_composer' ), ), ), ); wp/shortcode-vc-wp-calendar.php 0000666 00000001553 15213303514 0012503 0 ustar 00 <?php if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } return array( 'name' => 'WP ' . __( 'Calendar' ), 'base' => 'vc_wp_calendar', 'icon' => 'icon-wpb-wp', 'category' => __( 'WordPress Widgets', 'js_composer' ), 'class' => 'wpb_vc_wp_widget', 'weight' => - 50, 'description' => __( 'A calendar of your sites posts', 'js_composer' ), 'params' => array( array( 'type' => 'textfield', 'heading' => __( 'Widget title', 'js_composer' ), 'param_name' => 'title', 'description' => __( 'What text use as a widget title. Leave blank to use default widget title.', 'js_composer' ), ), array( 'type' => 'textfield', 'heading' => __( 'Extra class name', 'js_composer' ), 'param_name' => 'el_class', 'description' => __( 'Style particular content element differently - add a class name and refer to it in custom CSS.', 'js_composer' ), ), ), ); wp/shortcode-vc-wp-rss.php 0000666 00000003635 15213303514 0011544 0 ustar 00 <?php if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } return array( 'name' => 'WP ' . __( 'RSS' ), 'base' => 'vc_wp_rss', 'icon' => 'icon-wpb-wp', 'category' => __( 'WordPress Widgets', 'js_composer' ), 'class' => 'wpb_vc_wp_widget', 'weight' => - 50, 'description' => __( 'Entries from any RSS or Atom feed', 'js_composer' ), 'params' => array( array( 'type' => 'textfield', 'heading' => __( 'Widget title', 'js_composer' ), 'param_name' => 'title', 'description' => __( 'What text use as a widget title. Leave blank to use default widget title.', 'js_composer' ), ), array( 'type' => 'textfield', 'heading' => __( 'RSS feed URL', 'js_composer' ), 'param_name' => 'url', 'description' => __( 'Enter the RSS feed URL.', 'js_composer' ), 'admin_label' => true, ), array( 'type' => 'dropdown', 'heading' => __( 'Items', 'js_composer' ), 'param_name' => 'items', 'value' => array( __( '10 - Default', 'js_composer' ) => 10, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, ), 'description' => __( 'Select how many items to display.', 'js_composer' ), 'admin_label' => true, ), array( 'type' => 'checkbox', 'heading' => __( 'Options', 'js_composer' ), 'param_name' => 'options', 'value' => array( __( 'Item content', 'js_composer' ) => 'show_summary', __( 'Display item author if available?', 'js_composer' ) => 'show_author', __( 'Display item date?', 'js_composer' ) => 'show_date', ), 'description' => __( 'Select display options for RSS feeds.', 'js_composer' ), ), array( 'type' => 'textfield', 'heading' => __( 'Extra class name', 'js_composer' ), 'param_name' => 'el_class', 'description' => __( 'Style particular content element differently - add a class name and refer to it in custom CSS.', 'js_composer' ), ), ), ); wp/shortcode-vc-wp-pages.php 0000666 00000003011 15213303514 0012020 0 ustar 00 <?php if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } return array( 'name' => 'WP ' . __( 'Pages' ), 'base' => 'vc_wp_pages', 'icon' => 'icon-wpb-wp', 'category' => __( 'WordPress Widgets', 'js_composer' ), 'class' => 'wpb_vc_wp_widget', 'weight' => - 50, 'description' => __( 'Your sites WordPress Pages', 'js_composer' ), 'params' => array( array( 'type' => 'textfield', 'heading' => __( 'Widget title', 'js_composer' ), 'param_name' => 'title', 'description' => __( 'What text use as a widget title. Leave blank to use default widget title.', 'js_composer' ), 'value' => __( 'Pages' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Order by', 'js_composer' ), 'param_name' => 'sortby', 'value' => array( __( 'Page title', 'js_composer' ) => 'post_title', __( 'Page order', 'js_composer' ) => 'menu_order', __( 'Page ID', 'js_composer' ) => 'ID', ), 'description' => __( 'Select how to sort pages.', 'js_composer' ), 'admin_label' => true, ), array( 'type' => 'textfield', 'heading' => __( 'Exclude', 'js_composer' ), 'param_name' => 'exclude', 'description' => __( 'Enter page IDs to be excluded (Note: separate values by commas (,)).', 'js_composer' ), 'admin_label' => true, ), array( 'type' => 'textfield', 'heading' => __( 'Extra class name', 'js_composer' ), 'param_name' => 'el_class', 'description' => __( 'Style particular content element differently - add a class name and refer to it in custom CSS.', 'js_composer' ), ), ), ); wp/shortcode-vc-wp-posts.php 0000666 00000002627 15213303514 0012105 0 ustar 00 <?php if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } return array( 'name' => 'WP ' . __( 'Recent Posts' ), 'base' => 'vc_wp_posts', 'icon' => 'icon-wpb-wp', 'category' => __( 'WordPress Widgets', 'js_composer' ), 'class' => 'wpb_vc_wp_widget', 'weight' => - 50, 'description' => __( 'The most recent posts on your site', 'js_composer' ), 'params' => array( array( 'type' => 'textfield', 'heading' => __( 'Widget title', 'js_composer' ), 'param_name' => 'title', 'description' => __( 'What text use as a widget title. Leave blank to use default widget title.', 'js_composer' ), 'value' => __( 'Recent Posts' ), ), array( 'type' => 'textfield', 'heading' => __( 'Number of posts', 'js_composer' ), 'description' => __( 'Enter number of posts to display.', 'js_composer' ), 'param_name' => 'number', 'value' => 5, 'admin_label' => true, ), array( 'type' => 'checkbox', 'heading' => __( 'Display post date?', 'js_composer' ), 'param_name' => 'show_date', 'value' => array( __( 'Yes', 'js_composer' ) => true ), 'description' => __( 'If checked, date will be displayed.', 'js_composer' ), ), array( 'type' => 'textfield', 'heading' => __( 'Extra class name', 'js_composer' ), 'param_name' => 'el_class', 'description' => __( 'Style particular content element differently - add a class name and refer to it in custom CSS.', 'js_composer' ), ), ), ); wp/shortcode-vc-wp-links.php 0000666 00000004237 15213303514 0012054 0 ustar 00 <?php if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } if ( 'vc_edit_form' === vc_post_param( 'action' ) && vc_verify_admin_nonce() ) { $link_category = array( __( 'All Links', 'js_composer' ) => '' ); $link_cats = get_terms( 'link_category' ); if ( is_array( $link_cats ) && ! empty( $link_cats ) ) { foreach ( $link_cats as $link_cat ) { if ( is_object( $link_cat ) && isset( $link_cat->name, $link_cat->term_id ) ) { $link_category[ $link_cat->name ] = $link_cat->term_id; } } } } else { $link_category = array(); } return array( 'name' => 'WP ' . __( 'Links' ), 'base' => 'vc_wp_links', 'icon' => 'icon-wpb-wp', 'category' => __( 'WordPress Widgets', 'js_composer' ), 'class' => 'wpb_vc_wp_widget', 'content_element' => (bool) get_option( 'link_manager_enabled' ), 'weight' => - 50, 'description' => __( 'Your blogroll', 'js_composer' ), 'params' => array( array( 'type' => 'dropdown', 'heading' => __( 'Link Category', 'js_composer' ), 'param_name' => 'category', 'value' => $link_category, 'admin_label' => true, ), array( 'type' => 'dropdown', 'heading' => __( 'Order by', 'js_composer' ), 'param_name' => 'orderby', 'value' => array( __( 'Link title', 'js_composer' ) => 'name', __( 'Link rating', 'js_composer' ) => 'rating', __( 'Link ID', 'js_composer' ) => 'id', __( 'Random', 'js_composer' ) => 'rand', ), ), array( 'type' => 'checkbox', 'heading' => __( 'Options', 'js_composer' ), 'param_name' => 'options', 'value' => array( __( 'Show Link Image', 'js_composer' ) => 'images', __( 'Show Link Name', 'js_composer' ) => 'name', __( 'Show Link Description', 'js_composer' ) => 'description', __( 'Show Link Rating', 'js_composer' ) => 'rating', ), ), array( 'type' => 'textfield', 'heading' => __( 'Number of links to show', 'js_composer' ), 'param_name' => 'limit', 'value' => - 1, ), array( 'type' => 'textfield', 'heading' => __( 'Extra class name', 'js_composer' ), 'param_name' => 'el_class', 'description' => __( 'Style particular content element differently - add a class name and refer to it in custom CSS.', 'js_composer' ), ), ), ); wp/shortcode-vc-wp-archives.php 0000666 00000002346 15213303514 0012537 0 ustar 00 <?php if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } return array( 'name' => 'WP ' . __( 'Archives' ), 'base' => 'vc_wp_archives', 'icon' => 'icon-wpb-wp', 'category' => __( 'WordPress Widgets', 'js_composer' ), 'class' => 'wpb_vc_wp_widget', 'weight' => - 50, 'description' => __( 'A monthly archive of your sites posts', 'js_composer' ), 'params' => array( array( 'type' => 'textfield', 'heading' => __( 'Widget title', 'js_composer' ), 'param_name' => 'title', 'description' => __( 'What text use as a widget title. Leave blank to use default widget title.', 'js_composer' ), 'value' => __( 'Archives' ), ), array( 'type' => 'checkbox', 'heading' => __( 'Display options', 'js_composer' ), 'param_name' => 'options', 'value' => array( __( 'Dropdown', 'js_composer' ) => 'dropdown', __( 'Show post counts', 'js_composer' ) => 'count', ), 'description' => __( 'Select display options for archives.', 'js_composer' ), ), array( 'type' => 'textfield', 'heading' => __( 'Extra class name', 'js_composer' ), 'param_name' => 'el_class', 'description' => __( 'Style particular content element differently - add a class name and refer to it in custom CSS.', 'js_composer' ), ), ), ); wp/shortcode-vc-wp-categories.php 0000666 00000002446 15213303514 0013061 0 ustar 00 <?php if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } return array( 'name' => 'WP ' . __( 'Categories' ), 'base' => 'vc_wp_categories', 'icon' => 'icon-wpb-wp', 'category' => __( 'WordPress Widgets', 'js_composer' ), 'class' => 'wpb_vc_wp_widget', 'weight' => - 50, 'description' => __( 'A list or dropdown of categories', 'js_composer' ), 'params' => array( array( 'type' => 'textfield', 'heading' => __( 'Widget title', 'js_composer' ), 'param_name' => 'title', 'description' => __( 'What text use as a widget title. Leave blank to use default widget title.', 'js_composer' ), 'value' => __( 'Categories' ), ), array( 'type' => 'checkbox', 'heading' => __( 'Display options', 'js_composer' ), 'param_name' => 'options', 'value' => array( __( 'Dropdown', 'js_composer' ) => 'dropdown', __( 'Show post counts', 'js_composer' ) => 'count', __( 'Show hierarchy', 'js_composer' ) => 'hierarchical', ), 'description' => __( 'Select display options for categories.', 'js_composer' ), ), array( 'type' => 'textfield', 'heading' => __( 'Extra class name', 'js_composer' ), 'param_name' => 'el_class', 'description' => __( 'Style particular content element differently - add a class name and refer to it in custom CSS.', 'js_composer' ), ), ), ); wp/shortcode-vc-wp-recentcomments.php 0000666 00000002225 15213303514 0013755 0 ustar 00 <?php if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } return array( 'name' => 'WP ' . __( 'Recent Comments' ), 'base' => 'vc_wp_recentcomments', 'icon' => 'icon-wpb-wp', 'category' => __( 'WordPress Widgets', 'js_composer' ), 'class' => 'wpb_vc_wp_widget', 'weight' => - 50, 'description' => __( 'The most recent comments', 'js_composer' ), 'params' => array( array( 'type' => 'textfield', 'heading' => __( 'Widget title', 'js_composer' ), 'param_name' => 'title', 'description' => __( 'What text use as a widget title. Leave blank to use default widget title.', 'js_composer' ), 'value' => __( 'Recent Comments' ), ), array( 'type' => 'textfield', 'heading' => __( 'Number of comments', 'js_composer' ), 'description' => __( 'Enter number of comments to display.', 'js_composer' ), 'param_name' => 'number', 'value' => 5, 'admin_label' => true, ), array( 'type' => 'textfield', 'heading' => __( 'Extra class name', 'js_composer' ), 'param_name' => 'el_class', 'description' => __( 'Style particular content element differently - add a class name and refer to it in custom CSS.', 'js_composer' ), ), ), ); wp/shortcode-vc-wp-meta.php 0000666 00000001614 15213303514 0011656 0 ustar 00 <?php if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } return array( 'name' => 'WP ' . __( 'Meta' ), 'base' => 'vc_wp_meta', 'icon' => 'icon-wpb-wp', 'category' => __( 'WordPress Widgets', 'js_composer' ), 'class' => 'wpb_vc_wp_widget', 'weight' => - 50, 'description' => __( 'Log in/out, admin, feed and WordPress links', 'js_composer' ), 'params' => array( array( 'type' => 'textfield', 'heading' => __( 'Widget title', 'js_composer' ), 'param_name' => 'title', 'description' => __( 'What text use as a widget title. Leave blank to use default widget title.', 'js_composer' ), 'value' => __( 'Meta' ), ), array( 'type' => 'textfield', 'heading' => __( 'Extra class name', 'js_composer' ), 'param_name' => 'el_class', 'description' => __( 'Style particular content element differently - add a class name and refer to it in custom CSS.', 'js_composer' ), ), ), ); wp/shortcode-vc-wp-tagcloud.php 0000666 00000003231 15213303514 0012527 0 ustar 00 <?php if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } $tag_taxonomies = array(); if ( 'vc_edit_form' === vc_post_param( 'action' ) && vc_verify_admin_nonce() ) { $taxonomies = get_taxonomies(); if ( is_array( $taxonomies ) && ! empty( $taxonomies ) ) { foreach ( $taxonomies as $taxonomy ) { $tax = get_taxonomy( $taxonomy ); if ( ( is_object( $tax ) && ( ! $tax->show_tagcloud || empty( $tax->labels->name ) ) ) || ! is_object( $tax ) ) { continue; } $tag_taxonomies[ $tax->labels->name ] = esc_attr( $taxonomy ); } } } return array( 'name' => 'WP ' . __( 'Tag Cloud' ), 'base' => 'vc_wp_tagcloud', 'icon' => 'icon-wpb-wp', 'category' => __( 'WordPress Widgets', 'js_composer' ), 'class' => 'wpb_vc_wp_widget', 'weight' => - 50, 'description' => __( 'Your most used tags in cloud format', 'js_composer' ), 'params' => array( array( 'type' => 'textfield', 'heading' => __( 'Widget title', 'js_composer' ), 'param_name' => 'title', 'value' => __( 'Tags', 'js_composer' ), 'description' => __( 'What text use as a widget title. Leave blank to use default widget title.', 'js_composer' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Taxonomy', 'js_composer' ), 'param_name' => 'taxonomy', 'value' => $tag_taxonomies, 'description' => __( 'Select source for tag cloud.', 'js_composer' ), 'admin_label' => true, 'save_always' => true, ), array( 'type' => 'textfield', 'heading' => __( 'Extra class name', 'js_composer' ), 'param_name' => 'el_class', 'description' => __( 'Style particular content element differently - add a class name and refer to it in custom CSS.', 'js_composer' ), ), ), ); social/shortcode-vc-facebook.php 0000666 00000001660 15213303514 0012702 0 ustar 00 <?php if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } return array( 'name' => __( 'Facebook Like', 'js_composer' ), 'base' => 'vc_facebook', 'icon' => 'icon-wpb-balloon-facebook-left', 'category' => __( 'Social', 'js_composer' ), 'description' => __( 'Facebook "Like" button', 'js_composer' ), 'params' => array( array( 'type' => 'dropdown', 'heading' => __( 'Button type', 'js_composer' ), 'param_name' => 'type', 'admin_label' => true, 'value' => array( __( 'Horizontal', 'js_composer' ) => 'standard', __( 'Horizontal with count', 'js_composer' ) => 'button_count', __( 'Vertical with count', 'js_composer' ) => 'box_count', ), 'description' => __( 'Select button type.', 'js_composer' ), ), vc_map_add_css_animation(), array( 'type' => 'css_editor', 'heading' => __( 'CSS box', 'js_composer' ), 'param_name' => 'css', 'group' => __( 'Design Options', 'js_composer' ), ), ), ); social/shortcode-vc-tweetmeme.php 0000666 00000024414 15213303514 0013127 0 ustar 00 <?php if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } return array( 'name' => __( 'Tweetmeme Button', 'js_composer' ), 'base' => 'vc_tweetmeme', 'icon' => 'icon-wpb-tweetme', 'category' => __( 'Social', 'js_composer' ), 'description' => __( 'Tweet button', 'js_composer' ), 'params' => array( array( 'type' => 'dropdown', 'param_name' => 'type', 'heading' => __( 'Choose a button', 'js_composer' ), 'value' => array( __( 'Share a link', 'js_composer' ) => 'share', __( 'Follow', 'js_composer' ) => 'follow', __( 'Hashtag', 'js_composer' ) => 'hashtag', __( 'Mention', 'js_composer' ) => 'mention', ), 'description' => __( 'Select type of Twitter button.', 'js_composer' ), ), //share type array( 'type' => 'checkbox', 'heading' => __( 'Share url: page URL', 'js_composer' ), 'param_name' => 'share_use_page_url', 'value' => array( __( 'Yes', 'js_composer' ) => 'page_url', ), 'std' => 'page_url', 'dependency' => array( 'element' => 'type', 'value' => 'share', ), 'description' => __( 'Use the current page url to share?', 'js_composer' ), ), array( 'type' => 'textfield', 'heading' => __( 'Share url: custom URL', 'js_composer' ), 'param_name' => 'share_use_custom_url', 'value' => '', 'dependency' => array( 'element' => 'share_use_page_url', 'value_not_equal_to' => 'page_url', ), 'description' => __( 'Enter custom page url which you like to share on twitter?', 'js_composer' ), ), array( 'type' => 'checkbox', 'heading' => __( 'Tweet text: page title', 'js_composer' ), 'param_name' => 'share_text_page_title', 'value' => array( __( 'Yes', 'js_composer' ) => 'page_title', ), 'std' => 'page_title', 'dependency' => array( 'element' => 'type', 'value' => 'share', ), 'description' => __( 'Use the current page title as tweet text?', 'js_composer' ), ), array( 'type' => 'textfield', 'heading' => __( 'Tweet text: custom text', 'js_composer' ), 'param_name' => 'share_text_custom_text', 'value' => '', 'dependency' => array( 'element' => 'share_text_page_title', 'value_not_equal_to' => 'page_title', ), 'description' => __( 'Enter the text to be used as a tweet?', 'js_composer' ), ), array( 'type' => 'textfield', 'heading' => __( 'Via @', 'js_composer' ), 'param_name' => 'share_via', 'value' => '', 'dependency' => array( 'element' => 'type', 'value' => 'share', ), 'description' => __( 'Enter your Twitter username.', 'js_composer' ), ), array( 'type' => 'textfield', 'heading' => __( 'Recommend @', 'js_composer' ), 'param_name' => 'share_recommend', 'value' => '', 'dependency' => array( 'element' => 'type', 'value' => 'share', ), 'description' => __( 'Enter the Twitter username to be recommended.', 'js_composer' ), ), array( 'type' => 'textfield', 'heading' => __( 'Hashtag #', 'js_composer' ), 'param_name' => 'share_hashtag', 'value' => '', 'dependency' => array( 'element' => 'type', 'value' => 'share', ), 'description' => __( 'Add a comma-separated list of hashtags to a Tweet using the hashtags parameter.', 'js_composer' ), ), //follow type array( 'type' => 'textfield', 'heading' => __( 'User @', 'js_composer' ), 'param_name' => 'follow_user', 'value' => '', 'dependency' => array( 'element' => 'type', 'value' => 'follow', ), 'description' => __( 'Enter username to follow.', 'js_composer' ), ), array( 'type' => 'checkbox', 'heading' => __( 'Show username', 'js_composer' ), 'param_name' => 'follow_show_username', 'value' => array( __( 'Yes', 'js_composer' ) => 'yes', ), 'std' => 'yes', 'dependency' => array( 'element' => 'type', 'value' => 'follow', ), 'description' => __( 'Do you want to show username in button?', 'js_composer' ), ), array( 'type' => 'checkbox', 'heading' => __( 'Show followers count', 'js_composer' ), 'param_name' => 'show_followers_count', 'value' => '', 'dependency' => array( 'element' => 'type', 'value' => 'follow', ), 'description' => __( 'Do you want to displat the follower count in button?', 'js_composer' ), ), //hashtag type array( 'type' => 'textfield', 'heading' => __( 'Hashtag #', 'js_composer' ), 'param_name' => 'hashtag_hash', 'value' => '', 'dependency' => array( 'element' => 'type', 'value' => 'hashtag', ), 'description' => __( 'Add hashtag to a Tweet using the hashtags parameter', 'js_composer' ), ), array( 'type' => 'checkbox', 'heading' => __( 'Tweet text: No default text', 'js_composer' ), 'param_name' => 'hashtag_no_default', 'value' => array( __( 'Yes', 'js_composer' ) => 'yes', ), 'std' => 'yes', 'dependency' => array( 'element' => 'type', 'value' => 'hashtag', ), 'description' => __( 'Set no default text for tweet?', 'js_composer' ), ), array( 'type' => 'textfield', 'heading' => __( 'Tweet text: custom', 'js_composer' ), 'param_name' => 'hashtag_custom_tweet_text', 'value' => '', 'dependency' => array( 'element' => 'hashtag_no_default', 'value_not_equal_to' => 'yes', ), 'description' => __( 'Set custom text for tweet.', 'js_composer' ), ), array( 'type' => 'textfield', 'heading' => __( 'Recommend @', 'js_composer' ), 'param_name' => 'hashtag_recommend_1', 'value' => '', 'dependency' => array( 'element' => 'type', 'value' => 'hashtag', ), 'description' => __( 'Enter username to be recommended.', 'js_composer' ), ), array( 'type' => 'textfield', 'heading' => __( 'Recommend @', 'js_composer' ), 'param_name' => 'hashtag_recommend_2', 'value' => '', 'dependency' => array( 'element' => 'type', 'value' => 'hashtag', ), 'description' => __( 'Enter username to be recommended.', 'js_composer' ), ), array( 'type' => 'checkbox', 'heading' => __( 'Tweet url: No URL', 'js_composer' ), 'param_name' => 'hashtag_no_url', 'value' => array( __( 'Yes', 'js_composer' ) => 'yes', ), 'std' => 'yes', 'dependency' => array( 'element' => 'type', 'value' => 'hashtag', ), 'description' => __( 'Do you want to set no url to be tweeted?', 'js_composer' ), ), array( 'type' => 'textfield', 'heading' => __( 'Tweet url: custom', 'js_composer' ), 'param_name' => 'hashtag_custom_tweet_url', 'value' => '', 'dependency' => array( 'element' => 'hashtag_no_url', 'value_not_equal_to' => 'yes', ), 'description' => __( 'Enter custom url to be used in the tweet.', 'js_composer' ), ), //mention type array( 'type' => 'textfield', 'heading' => __( 'Tweet to @', 'js_composer' ), 'param_name' => 'mention_tweet_to', 'value' => '', 'dependency' => array( 'element' => 'type', 'value' => 'mention', ), 'description' => __( 'Enter username where you want to send your tweet.', 'js_composer' ), ), array( 'type' => 'checkbox', 'heading' => __( 'Tweet text: No default text', 'js_composer' ), 'param_name' => 'mention_no_default', 'value' => array( __( 'Yes', 'js_composer' ) => 'yes', ), 'std' => 'yes', 'dependency' => array( 'element' => 'type', 'value' => 'mention', ), 'description' => __( 'Set no default text of the tweet?', 'js_composer' ), ), array( 'type' => 'textfield', 'heading' => __( 'Tweet text: custom', 'js_composer' ), 'param_name' => 'mention_custom_tweet_text', 'value' => '', 'dependency' => array( 'element' => 'mention_no_default', 'value_not_equal_to' => 'yes', ), 'description' => __( 'Enter custom text for the tweet.', 'js_composer' ), ), array( 'type' => 'textfield', 'heading' => __( 'Recommend @', 'js_composer' ), 'param_name' => 'mention_recommend_1', 'value' => '', 'dependency' => array( 'element' => 'type', 'value' => 'mention', ), 'description' => __( 'Enter username to recommend.', 'js_composer' ), ), array( 'type' => 'textfield', 'heading' => __( 'Recommend @', 'js_composer' ), 'param_name' => 'mention_recommend_2', 'value' => '', 'dependency' => array( 'element' => 'type', 'value' => 'mention', ), 'description' => __( 'Enter username to recommend.', 'js_composer' ), ), // general array( 'type' => 'checkbox', 'heading' => __( 'Use large button', 'js_composer' ), 'param_name' => 'large_button', 'value' => '', 'description' => __( 'Do you like to display a larger Tweet button?', 'js_composer' ), ), array( 'type' => 'checkbox', 'heading' => __( 'Opt-out of tailoring Twitter', 'js_composer' ), 'param_name' => 'disable_tailoring', 'value' => '', 'description' => __( 'Tailored suggestions make building a great timeline. Would you like to disable this feature?', 'js_composer' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Language', 'js_composer' ), 'param_name' => 'lang', 'value' => array( 'Automatic' => '', 'French - français' => 'fr', 'English' => 'en', 'Arabic - العربية' => 'ar', 'Japanese - 日本語' => 'ja', 'Spanish - Español' => 'es', 'German - Deutsch' => 'de', 'Italian - Italiano' => 'it', 'Indonesian - Bahasa Indonesia' => 'id', 'Portuguese - Português' => 'pt', 'Korean - 한국어' => 'ko', 'Turkish - Türkçe' => 'tr', 'Russian - Русский' => 'ru', 'Dutch - Nederlands' => 'nl', 'Filipino - Filipino' => 'fil', 'Malay - Bahasa Melayu' => 'msa', 'Traditional Chinese - 繁體中文' => 'zh-tw', 'Simplified Chinese - 简体中文' => 'zh-cn', 'Hindi - हिन्दी' => 'hi', 'Norwegian - Norsk' => 'no', 'Swedish - Svenska' => 'sv', 'Finnish - Suomi' => 'fi', 'Danish - Dansk' => 'da', 'Polish - Polski' => 'pl', 'Hungarian - Magyar' => 'hu', 'Farsi - فارسی' => 'fa', 'Hebrew - עִבְרִית' => 'he', 'Urdu - اردو' => 'ur', 'Thai - ภาษาไทย' => 'th', ), 'description' => __( 'Select button display language or allow it to be automatically defined by user preferences.', 'js_composer' ), ), vc_map_add_css_animation(), array( 'type' => 'css_editor', 'heading' => __( 'CSS box', 'js_composer' ), 'param_name' => 'css', 'group' => __( 'Design Options', 'js_composer' ), ), ), ); social/shortcode-vc-googleplus.php 0000666 00000003373 15213303514 0013314 0 ustar 00 <?php if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } return array( 'name' => __( 'Google+ Button', 'js_composer' ), 'base' => 'vc_googleplus', 'icon' => 'icon-wpb-application-plus', 'category' => __( 'Social', 'js_composer' ), 'description' => __( 'Recommend on Google', 'js_composer' ), 'params' => array( array( 'type' => 'dropdown', 'heading' => __( 'Button size', 'js_composer' ), 'param_name' => 'type', 'admin_label' => true, 'value' => array( __( 'Standard', 'js_composer' ) => 'standard', __( 'Small', 'js_composer' ) => 'small', __( 'Medium', 'js_composer' ) => 'medium', __( 'Tall', 'js_composer' ) => 'tall', ), 'description' => __( 'Select button size.', 'js_composer' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Annotation', 'js_composer' ), 'param_name' => 'annotation', 'admin_label' => true, 'value' => array( __( 'Bubble', 'js_composer' ) => 'bubble', __( 'Inline', 'js_composer' ) => 'inline', __( 'None', 'js_composer' ) => 'none', ), 'std' => 'bubble', 'description' => __( 'Select type of annotation.', 'js_composer' ), ), array( 'type' => 'textfield', 'heading' => __( 'Width', 'js_composer' ), 'param_name' => 'widget_width', 'dependency' => array( 'element' => 'annotation', 'value' => array( 'inline' ), ), 'description' => __( 'Minimum width of 120px to display. If annotation is set to "inline", this parameter sets the width in pixels to use for button and its inline annotation. Default width is 450px.', 'js_composer' ), ), vc_map_add_css_animation(), array( 'type' => 'css_editor', 'heading' => __( 'CSS box', 'js_composer' ), 'param_name' => 'css', 'group' => __( 'Design Options', 'js_composer' ), ), ), ); social/shortcode-vc-pinterest.php 0000666 00000001576 15213303514 0013154 0 ustar 00 <?php if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } return array( 'name' => __( 'Pinterest', 'js_composer' ), 'base' => 'vc_pinterest', 'icon' => 'icon-wpb-pinterest', 'category' => __( 'Social', 'js_composer' ), 'description' => __( 'Pinterest button', 'js_composer' ), 'params' => array( array( 'type' => 'dropdown', 'heading' => __( 'Button type', 'js_composer' ), 'param_name' => 'type', 'admin_label' => true, 'value' => array( __( 'Horizontal', 'js_composer' ) => 'horizontal', __( 'Vertical', 'js_composer' ) => 'vertical', __( 'No count', 'js_composer' ) => 'none', ), 'description' => __( 'Select button layout.', 'js_composer' ), ), vc_map_add_css_animation(), array( 'type' => 'css_editor', 'heading' => __( 'CSS box', 'js_composer' ), 'param_name' => 'css', 'group' => __( 'Design Options', 'js_composer' ), ), ), ); grids/shortcode-vc-masonry-grid.php 0000666 00000000722 15213303514 0013400 0 ustar 00 <?php if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } require_once( 'class-vc-grids-common.php' ); $masonryGridParams = VcGridsCommon::getMasonryCommonAtts(); return array( 'name' => __( 'Post Masonry Grid', 'js_composer' ), 'base' => 'vc_masonry_grid', 'icon' => 'vc_icon-vc-masonry-grid', 'category' => __( 'Content', 'js_composer' ), 'description' => __( 'Posts, pages or custom posts in masonry grid', 'js_composer' ), 'params' => $masonryGridParams, ); grids/shortcode-vc-masonry-media-grid.php 0000666 00000000747 15213303514 0014464 0 ustar 00 <?php if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } require_once( 'class-vc-grids-common.php' ); $masonryMediaGridParams = VcGridsCommon::getMasonryMediaCommonAtts(); return array( 'name' => __( 'Masonry Media Grid', 'js_composer' ), 'base' => 'vc_masonry_media_grid', 'icon' => 'vc_icon-vc-masonry-media-grid', 'category' => __( 'Content', 'js_composer' ), 'description' => __( 'Masonry media grid from Media Library', 'js_composer' ), 'params' => $masonryMediaGridParams, ); grids/vc-grids-functions.php 0000666 00000007732 15213303514 0012123 0 ustar 00 <?php if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } /** * @since 4.5.2 * * @param $term * * @return array|bool */ function vc_autocomplete_taxonomies_field_render( $term ) { $vc_taxonomies_types = vc_taxonomies_types(); $terms = get_terms( array_keys( $vc_taxonomies_types ), array( 'include' => array( $term['value'] ), 'hide_empty' => false, ) ); $data = false; if ( is_array( $terms ) && 1 === count( $terms ) ) { $term = $terms[0]; $data = vc_get_term_object( $term ); } return $data; } /** * @since 4.5.2 * * @param $search_string * * @return array|bool */ function vc_autocomplete_taxonomies_field_search( $search_string ) { $data = array(); $vc_filter_by = vc_post_param( 'vc_filter_by', '' ); $vc_taxonomies_types = strlen( $vc_filter_by ) > 0 ? array( $vc_filter_by ) : array_keys( vc_taxonomies_types() ); $vc_taxonomies = get_terms( $vc_taxonomies_types, array( 'hide_empty' => false, 'search' => $search_string, ) ); if ( is_array( $vc_taxonomies ) && ! empty( $vc_taxonomies ) ) { foreach ( $vc_taxonomies as $t ) { if ( is_object( $t ) ) { $data[] = vc_get_term_object( $t ); } } } return $data; } /** * @param $search * @param $wp_query * * @return string */ function vc_search_by_title_only( $search, &$wp_query ) { global $wpdb; if ( empty( $search ) ) { return $search; } // skip processing - no search term in query $q = $wp_query->query_vars; if ( isset( $q['vc_search_by_title_only'] ) && true == $q['vc_search_by_title_only'] ) { $n = ! empty( $q['exact'] ) ? '' : '%'; $search = $searchand = ''; foreach ( (array) $q['search_terms'] as $term ) { $term = $wpdb->esc_like( $term ); $like = $n . $term . $n; $search .= $wpdb->prepare( "{$searchand}($wpdb->posts.post_title LIKE %s)", $like ); $searchand = ' AND '; } if ( ! empty( $search ) ) { $search = " AND ({$search}) "; if ( ! is_user_logged_in() ) { $search .= " AND ($wpdb->posts.post_password = '') "; } } } return $search; } /** * @param $search_string * * @return array */ function vc_include_field_search( $search_string ) { $query = $search_string; $data = array(); $args = array( 's' => $query, 'post_type' => 'any', ); $args['vc_search_by_title_only'] = true; $args['numberposts'] = - 1; if ( 0 === strlen( $args['s'] ) ) { unset( $args['s'] ); } add_filter( 'posts_search', 'vc_search_by_title_only', 500, 2 ); $posts = get_posts( $args ); if ( is_array( $posts ) && ! empty( $posts ) ) { foreach ( $posts as $post ) { $data[] = array( 'value' => $post->ID, 'label' => $post->post_title, 'group' => $post->post_type, ); } } return $data; } /** * @param $value * * @return array|bool */ function vc_include_field_render( $value ) { $post = get_post( $value['value'] ); return is_null( $post ) ? false : array( 'label' => $post->post_title, 'value' => $post->ID, 'group' => $post->post_type, ); } /** * @param $data_arr * * @return array */ function vc_exclude_field_search( $data_arr ) { $query = isset( $data_arr['query'] ) ? $data_arr['query'] : null; $term = isset( $data_arr['term'] ) ? $data_arr['term'] : ''; $data = array(); $args = ! empty( $query ) ? array( 's' => $term, 'post_type' => $query, ) : array( 's' => $term, 'post_type' => 'any', ); $args['vc_search_by_title_only'] = true; $args['numberposts'] = - 1; if ( 0 === strlen( $args['s'] ) ) { unset( $args['s'] ); } add_filter( 'posts_search', 'vc_search_by_title_only', 500, 2 ); $posts = get_posts( $args ); if ( is_array( $posts ) && ! empty( $posts ) ) { foreach ( $posts as $post ) { $data[] = array( 'value' => $post->ID, 'label' => $post->post_title, 'group' => $post->post_type, ); } } return $data; } /** * @param $value * * @return array|bool */ function vc_exclude_field_render( $value ) { $post = get_post( $value['value'] ); return is_null( $post ) ? false : array( 'label' => $post->post_title, 'value' => $post->ID, 'group' => $post->post_type, ); } grids/class-vc-grids-common.php 0000666 00000120521 15213303514 0012476 0 ustar 00 <?php if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } require_once 'vc-grids-functions.php'; if ( ! class_exists( 'VcGridsCommon' ) ) { abstract class VcGridsCommon { protected static $basicGrid; protected static $masonryGrid; protected static $masonryMediaGrid; protected static $mediaGrid; protected static $gridCommon; protected static $btn3Params; protected static $gridColsList; protected static function initData() { self::$btn3Params = vc_map_integrate_shortcode( 'vc_btn', 'btn_', __( 'Load More Button', 'js_composer' ), array( 'exclude' => array( 'link', 'css', 'el_class', 'css_animation', ), ), array( 'element' => 'style', 'value' => array( 'load-more' ), ) ); foreach ( self::$btn3Params as $key => $value ) { if ( 'btn_title' == $value['param_name'] ) { self::$btn3Params[ $key ]['value'] = __( 'Load more', 'js_composer' ); } else if ( 'btn_color' == $value['param_name'] ) { self::$btn3Params[ $key ]['std'] = 'blue'; } else if ( 'btn_style' == $value['param_name'] ) { self::$btn3Params[ $key ]['std'] = 'flat'; } } // Grid column list self::$gridColsList = array( array( 'label' => '6', 'value' => 2, ), array( 'label' => '4', 'value' => 3, ), array( 'label' => '3', 'value' => 4, ), array( 'label' => '2', 'value' => 6, ), array( 'label' => '1', 'value' => 12, ), ); } // Basic Grid Common Settings public static function getBasicAtts() { if ( self::$basicGrid ) { return self::$basicGrid; } if ( is_null( self::$btn3Params ) && is_null( self::$gridColsList ) ) { self::initData(); } $postTypes = get_post_types( array() ); $postTypesList = array(); $excludedPostTypes = array( 'revision', 'nav_menu_item', 'vc_grid_item', ); if ( is_array( $postTypes ) && ! empty( $postTypes ) ) { foreach ( $postTypes as $postType ) { if ( ! in_array( $postType, $excludedPostTypes ) ) { $label = ucfirst( $postType ); $postTypesList[] = array( $postType, $label, ); } } } $postTypesList[] = array( 'custom', __( 'Custom query', 'js_composer' ), ); $postTypesList[] = array( 'ids', __( 'List of IDs', 'js_composer' ), ); $taxonomiesForFilter = array(); if ( 'vc_edit_form' === vc_post_param( 'action' ) ) { $vcTaxonomiesTypes = vc_taxonomies_types(); if ( is_array( $vcTaxonomiesTypes ) && ! empty( $vcTaxonomiesTypes ) ) { foreach ( $vcTaxonomiesTypes as $t => $data ) { if ( 'post_format' !== $t && is_object( $data ) ) { $taxonomiesForFilter[ $data->labels->name . '(' . $t . ')' ] = $t; } } } } self::$basicGrid = array_merge( array( array( 'type' => 'dropdown', 'heading' => __( 'Data source', 'js_composer' ), 'param_name' => 'post_type', 'value' => $postTypesList, 'save_always' => true, 'description' => __( 'Select content type for your grid.', 'js_composer' ), 'admin_label' => true, ), array( 'type' => 'autocomplete', 'heading' => __( 'Include only', 'js_composer' ), 'param_name' => 'include', 'description' => __( 'Add posts, pages, etc. by title.', 'js_composer' ), 'settings' => array( 'multiple' => true, 'sortable' => true, 'groups' => true, ), 'dependency' => array( 'element' => 'post_type', 'value' => array( 'ids' ), ), ), // Custom query tab array( 'type' => 'textarea_safe', 'heading' => __( 'Custom query', 'js_composer' ), 'param_name' => 'custom_query', 'description' => __( 'Build custom query according to <a href="http://codex.wordpress.org/Function_Reference/query_posts">WordPress Codex</a>.', 'js_composer' ), 'dependency' => array( 'element' => 'post_type', 'value' => array( 'custom' ), ), ), array( 'type' => 'autocomplete', 'heading' => __( 'Narrow data source', 'js_composer' ), 'param_name' => 'taxonomies', 'settings' => array( 'multiple' => true, 'min_length' => 1, 'groups' => true, // In UI show results grouped by groups, default false 'unique_values' => true, // In UI show results except selected. NB! You should manually check values in backend, default false 'display_inline' => true, // In UI show results inline view, default false (each value in own line) 'delay' => 500, // delay for search. default 500 'auto_focus' => true, // auto focus input, default true ), 'param_holder_class' => 'vc_not-for-custom', 'description' => __( 'Enter categories, tags or custom taxonomies.', 'js_composer' ), 'dependency' => array( 'element' => 'post_type', 'value_not_equal_to' => array( 'ids', 'custom', ), ), ), array( 'type' => 'textfield', 'heading' => __( 'Total items', 'js_composer' ), 'param_name' => 'max_items', 'value' => 10, // default value 'param_holder_class' => 'vc_not-for-custom', 'description' => __( 'Set max limit for items in grid or enter -1 to display all (limited to 1000).', 'js_composer' ), 'dependency' => array( 'element' => 'post_type', 'value_not_equal_to' => array( 'ids', 'custom', ), ), ), array( 'type' => 'dropdown', 'heading' => __( 'Display Style', 'js_composer' ), 'param_name' => 'style', 'value' => array( __( 'Show all', 'js_composer' ) => 'all', __( 'Load more button', 'js_composer' ) => 'load-more', __( 'Lazy loading', 'js_composer' ) => 'lazy', __( 'Pagination', 'js_composer' ) => 'pagination', ), 'dependency' => array( 'element' => 'post_type', 'value_not_equal_to' => array( 'custom' ), ), 'edit_field_class' => 'vc_col-sm-6', 'description' => __( 'Select display style for grid.', 'js_composer' ), ), array( 'type' => 'textfield', 'heading' => __( 'Items per page', 'js_composer' ), 'param_name' => 'items_per_page', 'description' => __( 'Number of items to show per page.', 'js_composer' ), 'value' => '10', 'dependency' => array( 'element' => 'style', 'value' => array( 'lazy', 'load-more', 'pagination', ), ), 'edit_field_class' => 'vc_col-sm-6', ), array( 'type' => 'checkbox', 'heading' => __( 'Show filter', 'js_composer' ), 'param_name' => 'show_filter', 'value' => array( __( 'Yes', 'js_composer' ) => 'yes' ), 'description' => __( 'Append filter to grid.', 'js_composer' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Grid elements per row', 'js_composer' ), 'param_name' => 'element_width', 'value' => self::$gridColsList, 'std' => '4', 'edit_field_class' => 'vc_col-sm-6', 'description' => __( 'Select number of single grid elements per row.', 'js_composer' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Gap', 'js_composer' ), 'param_name' => 'gap', 'value' => array( '0px' => '0', '1px' => '1', '2px' => '2', '3px' => '3', '4px' => '4', '5px' => '5', '10px' => '10', '15px' => '15', '20px' => '20', '25px' => '25', '30px' => '30', '35px' => '35', ), 'std' => '30', 'description' => __( 'Select gap between grid elements.', 'js_composer' ), 'edit_field_class' => 'vc_col-sm-6', ), // Data settings array( 'type' => 'dropdown', 'heading' => __( 'Order by', 'js_composer' ), 'param_name' => 'orderby', 'value' => array( __( 'Date', 'js_composer' ) => 'date', __( 'Order by post ID', 'js_composer' ) => 'ID', __( 'Author', 'js_composer' ) => 'author', __( 'Title', 'js_composer' ) => 'title', __( 'Last modified date', 'js_composer' ) => 'modified', __( 'Post/page parent ID', 'js_composer' ) => 'parent', __( 'Number of comments', 'js_composer' ) => 'comment_count', __( 'Menu order/Page Order', 'js_composer' ) => 'menu_order', __( 'Meta value', 'js_composer' ) => 'meta_value', __( 'Meta value number', 'js_composer' ) => 'meta_value_num', __( 'Random order', 'js_composer' ) => 'rand', ), 'description' => __( 'Select order type. If "Meta value" or "Meta value Number" is chosen then meta key is required.', 'js_composer' ), 'group' => __( 'Data Settings', 'js_composer' ), 'param_holder_class' => 'vc_grid-data-type-not-ids', 'dependency' => array( 'element' => 'post_type', 'value_not_equal_to' => array( 'ids', 'custom', ), ), ), array( 'type' => 'dropdown', 'heading' => __( 'Sort order', 'js_composer' ), 'param_name' => 'order', 'group' => __( 'Data Settings', 'js_composer' ), 'value' => array( __( 'Descending', 'js_composer' ) => 'DESC', __( 'Ascending', 'js_composer' ) => 'ASC', ), 'param_holder_class' => 'vc_grid-data-type-not-ids', 'description' => __( 'Select sorting order.', 'js_composer' ), 'dependency' => array( 'element' => 'post_type', 'value_not_equal_to' => array( 'ids', 'custom', ), ), ), array( 'type' => 'textfield', 'heading' => __( 'Meta key', 'js_composer' ), 'param_name' => 'meta_key', 'description' => __( 'Input meta key for grid ordering.', 'js_composer' ), 'group' => __( 'Data Settings', 'js_composer' ), 'param_holder_class' => 'vc_grid-data-type-not-ids', 'dependency' => array( 'element' => 'orderby', 'value' => array( 'meta_value', 'meta_value_num', ), ), ), array( 'type' => 'textfield', 'heading' => __( 'Offset', 'js_composer' ), 'param_name' => 'offset', 'description' => __( 'Number of grid elements to displace or pass over.', 'js_composer' ), 'group' => __( 'Data Settings', 'js_composer' ), 'param_holder_class' => 'vc_grid-data-type-not-ids', 'dependency' => array( 'element' => 'post_type', 'value_not_equal_to' => array( 'ids', 'custom', ), ), ), array( 'type' => 'autocomplete', 'heading' => __( 'Exclude', 'js_composer' ), 'param_name' => 'exclude', 'description' => __( 'Exclude posts, pages, etc. by title.', 'js_composer' ), 'group' => __( 'Data Settings', 'js_composer' ), 'settings' => array( 'multiple' => true, ), 'param_holder_class' => 'vc_grid-data-type-not-ids', 'dependency' => array( 'element' => 'post_type', 'value_not_equal_to' => array( 'ids', 'custom', ), 'callback' => 'vc_grid_exclude_dependency_callback', ), ), //Filter tab array( 'type' => 'dropdown', 'heading' => __( 'Filter by', 'js_composer' ), 'param_name' => 'filter_source', 'value' => $taxonomiesForFilter, 'group' => __( 'Filter', 'js_composer' ), 'dependency' => array( 'element' => 'show_filter', 'value' => array( 'yes' ), ), 'save_always' => true, 'description' => __( 'Select filter source.', 'js_composer' ), ), array( 'type' => 'autocomplete', 'heading' => __( 'Exclude from filter list', 'js_composer' ), 'param_name' => 'exclude_filter', 'settings' => array( 'multiple' => true, // is multiple values allowed? default false 'min_length' => 1, // min length to start search -> default 2 'groups' => true, // In UI show results grouped by groups, default false 'unique_values' => true, // In UI show results except selected. NB! You should manually check values in backend, default false 'display_inline' => true, // In UI show results inline view, default false (each value in own line) 'delay' => 500, // delay for search. default 500 'auto_focus' => true, // auto focus input, default true ), 'description' => __( 'Enter categories, tags won\'t be shown in the filters list', 'js_composer' ), 'dependency' => array( 'element' => 'show_filter', 'value' => array( 'yes' ), 'callback' => 'vcGridFilterExcludeCallBack', ), 'group' => __( 'Filter', 'js_composer' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Style', 'js_composer' ), 'param_name' => 'filter_style', 'value' => array( __( 'Rounded', 'js_composer' ) => 'default', __( 'Less Rounded', 'js_composer' ) => 'default-less-rounded', __( 'Border', 'js_composer' ) => 'bordered', __( 'Rounded Border', 'js_composer' ) => 'bordered-rounded', __( 'Less Rounded Border', 'js_composer' ) => 'bordered-rounded-less', __( 'Filled', 'js_composer' ) => 'filled', __( 'Rounded Filled', 'js_composer' ) => 'filled-rounded', __( 'Dropdown', 'js_composer' ) => 'dropdown', ), 'dependency' => array( 'element' => 'show_filter', 'value' => array( 'yes' ), ), 'group' => __( 'Filter', 'js_composer' ), 'description' => __( 'Select filter display style.', 'js_composer' ), ), array( 'type' => 'textfield', 'heading' => __( 'Default title', 'js_composer' ), 'param_name' => 'filter_default_title', 'value' => __( 'All', 'js_composer' ), 'description' => __( 'Enter default title for filter option display (empty: "All").', 'js_composer' ), 'dependency' => array( 'element' => 'show_filter', 'value' => array( 'yes' ), ), 'group' => __( 'Filter', 'js_composer' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Alignment', 'js_composer' ), 'param_name' => 'filter_align', 'value' => array( __( 'Center', 'js_composer' ) => 'center', __( 'Left', 'js_composer' ) => 'left', __( 'Right', 'js_composer' ) => 'right', ), 'dependency' => array( 'element' => 'show_filter', 'value' => array( 'yes' ), ), 'group' => __( 'Filter', 'js_composer' ), 'description' => __( 'Select filter alignment.', 'js_composer' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Color', 'js_composer' ), 'param_name' => 'filter_color', 'value' => getVcShared( 'colors' ), 'std' => 'grey', 'param_holder_class' => 'vc_colored-dropdown', 'dependency' => array( 'element' => 'show_filter', 'value' => array( 'yes' ), ), 'group' => __( 'Filter', 'js_composer' ), 'description' => __( 'Select filter color.', 'js_composer' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Filter size', 'js_composer' ), 'param_name' => 'filter_size', 'value' => getVcShared( 'sizes' ), 'std' => 'md', 'description' => __( 'Select filter size.', 'js_composer' ), 'dependency' => array( 'element' => 'show_filter', 'value' => array( 'yes' ), ), 'group' => __( 'Filter', 'js_composer' ), ), // moved to the end // Paging controls array( 'type' => 'dropdown', 'heading' => __( 'Arrows design', 'js_composer' ), 'param_name' => 'arrows_design', 'value' => array( __( 'None', 'js_composer' ) => 'none', __( 'Simple', 'js_composer' ) => 'vc_arrow-icon-arrow_01_left', __( 'Simple Circle Border', 'js_composer' ) => 'vc_arrow-icon-arrow_02_left', __( 'Simple Circle', 'js_composer' ) => 'vc_arrow-icon-arrow_03_left', __( 'Simple Square', 'js_composer' ) => 'vc_arrow-icon-arrow_09_left', __( 'Simple Square Rounded', 'js_composer' ) => 'vc_arrow-icon-arrow_12_left', __( 'Simple Rounded', 'js_composer' ) => 'vc_arrow-icon-arrow_11_left', __( 'Rounded', 'js_composer' ) => 'vc_arrow-icon-arrow_04_left', __( 'Rounded Circle Border', 'js_composer' ) => 'vc_arrow-icon-arrow_05_left', __( 'Rounded Circle', 'js_composer' ) => 'vc_arrow-icon-arrow_06_left', __( 'Rounded Square', 'js_composer' ) => 'vc_arrow-icon-arrow_10_left', __( 'Simple Arrow', 'js_composer' ) => 'vc_arrow-icon-arrow_08_left', __( 'Simple Rounded Arrow', 'js_composer' ) => 'vc_arrow-icon-arrow_07_left', ), 'group' => __( 'Pagination', 'js_composer' ), 'dependency' => array( 'element' => 'style', 'value' => array( 'pagination' ), ), 'description' => __( 'Select design for arrows.', 'js_composer' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Arrows position', 'js_composer' ), 'param_name' => 'arrows_position', 'value' => array( __( 'Inside Wrapper', 'js_composer' ) => 'inside', __( 'Outside Wrapper', 'js_composer' ) => 'outside', ), 'group' => __( 'Pagination', 'js_composer' ), 'dependency' => array( 'element' => 'arrows_design', 'value_not_equal_to' => array( 'none' ), // New dependency ), 'description' => __( 'Arrows will be displayed inside or outside grid.', 'js_composer' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Arrows color', 'js_composer' ), 'param_name' => 'arrows_color', 'value' => getVcShared( 'colors' ), 'param_holder_class' => 'vc_colored-dropdown', 'group' => __( 'Pagination', 'js_composer' ), 'dependency' => array( 'element' => 'arrows_design', 'value_not_equal_to' => array( 'none' ), // New dependency ), 'description' => __( 'Select color for arrows.', 'js_composer' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Pagination style', 'js_composer' ), 'param_name' => 'paging_design', 'value' => array( __( 'None', 'js_composer' ) => 'none', __( 'Square Dots', 'js_composer' ) => 'square_dots', __( 'Radio Dots', 'js_composer' ) => 'radio_dots', __( 'Point Dots', 'js_composer' ) => 'point_dots', __( 'Fill Square Dots', 'js_composer' ) => 'fill_square_dots', __( 'Rounded Fill Square Dots', 'js_composer' ) => 'round_fill_square_dots', __( 'Pagination Default', 'js_composer' ) => 'pagination_default', __( 'Outline Default Dark', 'js_composer' ) => 'pagination_default_dark', __( 'Outline Default Light', 'js_composer' ) => 'pagination_default_light', __( 'Pagination Rounded', 'js_composer' ) => 'pagination_rounded', __( 'Outline Rounded Dark', 'js_composer' ) => 'pagination_rounded_dark', __( 'Outline Rounded Light', 'js_composer' ) => 'pagination_rounded_light', __( 'Pagination Square', 'js_composer' ) => 'pagination_square', __( 'Outline Square Dark', 'js_composer' ) => 'pagination_square_dark', __( 'Outline Square Light', 'js_composer' ) => 'pagination_square_light', __( 'Pagination Rounded Square', 'js_composer' ) => 'pagination_rounded_square', __( 'Outline Rounded Square Dark', 'js_composer' ) => 'pagination_rounded_square_dark', __( 'Outline Rounded Square Light', 'js_composer' ) => 'pagination_rounded_square_light', __( 'Stripes Dark', 'js_composer' ) => 'pagination_stripes_dark', __( 'Stripes Light', 'js_composer' ) => 'pagination_stripes_light', ), 'std' => 'radio_dots', 'group' => __( 'Pagination', 'js_composer' ), 'dependency' => array( 'element' => 'style', 'value' => array( 'pagination' ), ), 'description' => __( 'Select pagination style.', 'js_composer' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Pagination color', 'js_composer' ), 'param_name' => 'paging_color', 'value' => getVcShared( 'colors' ), 'std' => 'grey', 'param_holder_class' => 'vc_colored-dropdown', 'group' => __( 'Pagination', 'js_composer' ), 'dependency' => array( 'element' => 'paging_design', 'value_not_equal_to' => array( 'none' ), // New dependency ), 'description' => __( 'Select pagination color.', 'js_composer' ), ), array( 'type' => 'checkbox', 'heading' => __( 'Loop pages?', 'js_composer' ), 'param_name' => 'loop', 'description' => __( 'Allow items to be repeated in infinite loop (carousel).', 'js_composer' ), 'value' => array( __( 'Yes', 'js_composer' ) => 'yes' ), 'group' => __( 'Pagination', 'js_composer' ), 'dependency' => array( 'element' => 'style', 'value' => array( 'pagination' ), ), ), array( 'type' => 'textfield', 'heading' => __( 'Autoplay delay', 'js_composer' ), 'param_name' => 'autoplay', 'value' => '-1', 'description' => __( 'Enter value in seconds. Set -1 to disable autoplay.', 'js_composer' ), 'group' => __( 'Pagination', 'js_composer' ), 'dependency' => array( 'element' => 'style', 'value' => array( 'pagination' ), ), ), array( 'type' => 'animation_style', 'heading' => __( 'Animation In', 'js_composer' ), 'param_name' => 'paging_animation_in', 'group' => __( 'Pagination', 'js_composer' ), 'settings' => array( 'type' => array( 'in', 'other', ), ), 'dependency' => array( 'element' => 'style', 'value' => array( 'pagination' ), ), 'description' => __( 'Select "animation in" for page transition.', 'js_composer' ), ), array( 'type' => 'animation_style', 'heading' => __( 'Animation Out', 'js_composer' ), 'param_name' => 'paging_animation_out', 'group' => __( 'Pagination', 'js_composer' ), 'settings' => array( 'type' => array( 'out' ), ), 'dependency' => array( 'element' => 'style', 'value' => array( 'pagination' ), ), 'description' => __( 'Select "animation out" for page transition.', 'js_composer' ), ), array( 'type' => 'vc_grid_item', 'heading' => __( 'Grid element template', 'js_composer' ), 'param_name' => 'item', 'description' => sprintf( __( '%sCreate new%s template or %smodify selected%s. Predefined templates will be cloned.', 'js_composer' ), '<a href="' . esc_url( admin_url( 'post-new.php?post_type=vc_grid_item' ) ) . '" target="_blank">', '</a>', '<a href="#" target="_blank" data-vc-grid-item="edit_link">', '</a>' ), 'group' => __( 'Item Design', 'js_composer' ), 'value' => 'none', ), array( 'type' => 'vc_grid_id', 'param_name' => 'grid_id', ), array( 'type' => 'animation_style', 'heading' => __( 'Initial loading animation', 'js_composer' ), 'param_name' => 'initial_loading_animation', 'value' => 'fadeIn', 'settings' => array( 'type' => array( 'in', 'other', ), ), 'description' => __( 'Select initial loading animation for grid element.', 'js_composer' ), ), array( 'type' => 'textfield', 'heading' => __( 'Extra class name', 'js_composer' ), 'param_name' => 'el_class', 'description' => __( 'Style particular content element differently - add a class name and refer to it in custom CSS.', 'js_composer' ), ), array( 'type' => 'css_editor', 'heading' => __( 'CSS box', 'js_composer' ), 'param_name' => 'css', 'group' => __( 'Design Options', 'js_composer' ), ), // Load more btn array( 'type' => 'hidden', 'heading' => __( 'Button style', 'js_composer' ), 'param_name' => 'button_style', 'value' => '', 'param_holder_class' => 'vc_colored-dropdown', 'group' => __( 'Load More Button', 'js_composer' ), 'dependency' => array( 'element' => 'style', 'value' => array( 'load-more' ), ), 'description' => __( 'Select button style.', 'js_composer' ), ), array( 'type' => 'hidden', 'heading' => __( 'Button color', 'js_composer' ), 'param_name' => 'button_color', 'value' => '', 'param_holder_class' => 'vc_colored-dropdown', 'group' => __( 'Load More Button', 'js_composer' ), 'dependency' => array( 'element' => 'style', 'value' => array( 'load-more' ), ), 'description' => __( 'Select button color.', 'js_composer' ), ), array( 'type' => 'hidden', 'heading' => __( 'Button size', 'js_composer' ), 'param_name' => 'button_size', 'value' => '', 'description' => __( 'Select button size.', 'js_composer' ), 'group' => __( 'Load More Button', 'js_composer' ), 'dependency' => array( 'element' => 'style', 'value' => array( 'load-more' ), ), ), ), self::$btn3Params ); self::$basicGrid = array_merge( self::$basicGrid ); return self::$basicGrid; } // Media grid common settings public static function getMediaCommonAtts() { if ( self::$mediaGrid ) { return self::$mediaGrid; } if ( is_null( self::$btn3Params ) && is_null( self::$gridColsList ) ) { self::initData(); } self::$mediaGrid = array_merge( array( array( 'type' => 'attach_images', 'heading' => __( 'Images', 'js_composer' ), 'param_name' => 'include', 'description' => __( 'Select images from media library.', 'js_composer' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Display Style', 'js_composer' ), 'param_name' => 'style', 'value' => array( __( 'Show all', 'js_composer' ) => 'all', __( 'Load more button', 'js_composer' ) => 'load-more', __( 'Lazy loading', 'js_composer' ) => 'lazy', __( 'Pagination', 'js_composer' ) => 'pagination', ), 'dependency' => array( 'element' => 'post_type', 'value_not_equal_to' => array( 'custom' ), ), 'edit_field_class' => 'vc_col-sm-6', 'description' => __( 'Select display style for grid.', 'js_composer' ), ), array( 'type' => 'textfield', 'heading' => __( 'Items per page', 'js_composer' ), 'param_name' => 'items_per_page', 'description' => __( 'Number of items to show per page.', 'js_composer' ), 'value' => '10', 'dependency' => array( 'element' => 'style', 'value' => array( 'lazy', 'load-more', 'pagination', ), ), 'edit_field_class' => 'vc_col-sm-6', ), array( 'type' => 'dropdown', 'heading' => __( 'Grid elements per row', 'js_composer' ), 'param_name' => 'element_width', 'value' => self::$gridColsList, 'std' => '4', 'edit_field_class' => 'vc_col-sm-6', 'description' => __( 'Select number of single grid elements per row.', 'js_composer' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Gap', 'js_composer' ), 'param_name' => 'gap', 'value' => array( '0px' => '0', '1px' => '1', '2px' => '2', '3px' => '3', '4px' => '4', '5px' => '5', '10px' => '10', '15px' => '15', '20px' => '20', '25px' => '25', '30px' => '30', '35px' => '35', ), 'std' => '5', 'description' => __( 'Select gap between grid elements.', 'js_composer' ), 'edit_field_class' => 'vc_col-sm-6', ), array( 'type' => 'hidden', 'heading' => __( 'Button style', 'js_composer' ), 'param_name' => 'button_style', 'value' => '', 'param_holder_class' => 'vc_colored-dropdown', 'group' => __( 'Load More Button', 'js_composer' ), 'dependency' => array( 'element' => 'style', 'value' => array( 'load-more' ), ), 'description' => __( 'Select button style.', 'js_composer' ), ), array( 'type' => 'hidden', 'heading' => __( 'Button color', 'js_composer' ), 'param_name' => 'button_color', 'value' => '', 'param_holder_class' => 'vc_colored-dropdown', 'group' => __( 'Load More Button', 'js_composer' ), 'dependency' => array( 'element' => 'style', 'value' => array( 'load-more' ), ), 'description' => __( 'Select button color.', 'js_composer' ), ), array( 'type' => 'hidden', 'heading' => __( 'Button size', 'js_composer' ), 'param_name' => 'button_size', 'value' => '', 'description' => __( 'Select button size.', 'js_composer' ), 'group' => __( 'Load More Button', 'js_composer' ), 'dependency' => array( 'element' => 'style', 'value' => array( 'load-more' ), ), ), array( 'type' => 'dropdown', 'heading' => __( 'Arrows design', 'js_composer' ), 'param_name' => 'arrows_design', 'value' => array( __( 'None', 'js_composer' ) => 'none', __( 'Simple', 'js_composer' ) => 'vc_arrow-icon-arrow_01_left', __( 'Simple Circle Border', 'js_composer' ) => 'vc_arrow-icon-arrow_02_left', __( 'Simple Circle', 'js_composer' ) => 'vc_arrow-icon-arrow_03_left', __( 'Simple Square', 'js_composer' ) => 'vc_arrow-icon-arrow_09_left', __( 'Simple Square Rounded', 'js_composer' ) => 'vc_arrow-icon-arrow_12_left', __( 'Simple Rounded', 'js_composer' ) => 'vc_arrow-icon-arrow_11_left', __( 'Rounded', 'js_composer' ) => 'vc_arrow-icon-arrow_04_left', __( 'Rounded Circle Border', 'js_composer' ) => 'vc_arrow-icon-arrow_05_left', __( 'Rounded Circle', 'js_composer' ) => 'vc_arrow-icon-arrow_06_left', __( 'Rounded Square', 'js_composer' ) => 'vc_arrow-icon-arrow_10_left', __( 'Simple Arrow', 'js_composer' ) => 'vc_arrow-icon-arrow_08_left', __( 'Simple Rounded Arrow', 'js_composer' ) => 'vc_arrow-icon-arrow_07_left', ), 'group' => __( 'Pagination', 'js_composer' ), 'dependency' => array( 'element' => 'style', 'value' => array( 'pagination' ), ), 'description' => __( 'Select design for arrows.', 'js_composer' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Arrows position', 'js_composer' ), 'param_name' => 'arrows_position', 'value' => array( __( 'Inside Wrapper', 'js_composer' ) => 'inside', __( 'Outside Wrapper', 'js_composer' ) => 'outside', ), 'group' => __( 'Pagination', 'js_composer' ), 'dependency' => array( 'element' => 'arrows_design', 'value_not_equal_to' => array( 'none' ), // New dependency ), 'description' => __( 'Arrows will be displayed inside or outside grid.', 'js_composer' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Arrows color', 'js_composer' ), 'param_name' => 'arrows_color', 'value' => getVcShared( 'colors' ), 'param_holder_class' => 'vc_colored-dropdown', 'group' => __( 'Pagination', 'js_composer' ), 'dependency' => array( 'element' => 'arrows_design', 'value_not_equal_to' => array( 'none' ), // New dependency ), 'description' => __( 'Select color for arrows.', 'js_composer' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Pagination style', 'js_composer' ), 'param_name' => 'paging_design', 'value' => array( __( 'None', 'js_composer' ) => 'none', __( 'Square Dots', 'js_composer' ) => 'square_dots', __( 'Radio Dots', 'js_composer' ) => 'radio_dots', __( 'Point Dots', 'js_composer' ) => 'point_dots', __( 'Fill Square Dots', 'js_composer' ) => 'fill_square_dots', __( 'Rounded Fill Square Dots', 'js_composer' ) => 'round_fill_square_dots', __( 'Pagination Default', 'js_composer' ) => 'pagination_default', __( 'Outline Default Dark', 'js_composer' ) => 'pagination_default_dark', __( 'Outline Default Light', 'js_composer' ) => 'pagination_default_light', __( 'Pagination Rounded', 'js_composer' ) => 'pagination_rounded', __( 'Outline Rounded Dark', 'js_composer' ) => 'pagination_rounded_dark', __( 'Outline Rounded Light', 'js_composer' ) => 'pagination_rounded_light', __( 'Pagination Square', 'js_composer' ) => 'pagination_square', __( 'Outline Square Dark', 'js_composer' ) => 'pagination_square_dark', __( 'Outline Square Light', 'js_composer' ) => 'pagination_square_light', __( 'Pagination Rounded Square', 'js_composer' ) => 'pagination_rounded_square', __( 'Outline Rounded Square Dark', 'js_composer' ) => 'pagination_rounded_square_dark', __( 'Outline Rounded Square Light', 'js_composer' ) => 'pagination_rounded_square_light', __( 'Stripes Dark', 'js_composer' ) => 'pagination_stripes_dark', __( 'Stripes Light', 'js_composer' ) => 'pagination_stripes_light', ), 'std' => 'radio_dots', 'group' => __( 'Pagination', 'js_composer' ), 'dependency' => array( 'element' => 'style', 'value' => array( 'pagination' ), ), 'description' => __( 'Select pagination style.', 'js_composer' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Pagination color', 'js_composer' ), 'param_name' => 'paging_color', 'value' => getVcShared( 'colors' ), 'std' => 'grey', 'param_holder_class' => 'vc_colored-dropdown', 'group' => __( 'Pagination', 'js_composer' ), 'dependency' => array( 'element' => 'paging_design', 'value_not_equal_to' => array( 'none' ), // New dependency ), 'description' => __( 'Select pagination color.', 'js_composer' ), ), array( 'type' => 'checkbox', 'heading' => __( 'Loop pages?', 'js_composer' ), 'param_name' => 'loop', 'description' => __( 'Allow items to be repeated in infinite loop (carousel).', 'js_composer' ), 'value' => array( __( 'Yes', 'js_composer' ) => 'yes' ), 'group' => __( 'Pagination', 'js_composer' ), 'dependency' => array( 'element' => 'style', 'value' => array( 'pagination' ), ), ), array( 'type' => 'textfield', 'heading' => __( 'Autoplay delay', 'js_composer' ), 'param_name' => 'autoplay', 'value' => '-1', 'description' => __( 'Enter value in seconds. Set -1 to disable autoplay.', 'js_composer' ), 'group' => __( 'Pagination', 'js_composer' ), 'dependency' => array( 'element' => 'style', 'value' => array( 'pagination' ), ), ), array( 'type' => 'animation_style', 'heading' => __( 'Animation In', 'js_composer' ), 'param_name' => 'paging_animation_in', 'group' => __( 'Pagination', 'js_composer' ), 'settings' => array( 'type' => array( 'in', 'other', ), ), 'dependency' => array( 'element' => 'style', 'value' => array( 'pagination' ), ), 'description' => __( 'Select "animation in" for page transition.', 'js_composer' ), ), array( 'type' => 'animation_style', 'heading' => __( 'Animation Out', 'js_composer' ), 'param_name' => 'paging_animation_out', 'group' => __( 'Pagination', 'js_composer' ), 'settings' => array( 'type' => array( 'out' ), ), 'dependency' => array( 'element' => 'style', 'value' => array( 'pagination' ), ), 'description' => __( 'Select "animation out" for page transition.', 'js_composer' ), ), array( 'type' => 'vc_grid_item', 'heading' => __( 'Grid element template', 'js_composer' ), 'param_name' => 'item', 'description' => sprintf( __( '%sCreate new%s template or %smodify selected%s. Predefined templates will be cloned.', 'js_composer' ), '<a href="' . esc_url( admin_url( 'post-new.php?post_type=vc_grid_item' ) ) . '" target="_blank">', '</a>', '<a href="#" target="_blank" data-vc-grid-item="edit_link">', '</a>' ), 'group' => __( 'Item Design', 'js_composer' ), 'value' => 'mediaGrid_Default', ), array( 'type' => 'vc_grid_id', 'param_name' => 'grid_id', ), array( 'type' => 'css_editor', 'heading' => __( 'CSS box', 'js_composer' ), 'param_name' => 'css', 'group' => __( 'Design Options', 'js_composer' ), ), ), self::$btn3Params, array( // Load more btn bc array( 'type' => 'hidden', 'heading' => __( 'Button style', 'js_composer' ), 'param_name' => 'button_style', 'value' => '', 'param_holder_class' => 'vc_colored-dropdown', 'group' => __( 'Load More Button', 'js_composer' ), 'dependency' => array( 'element' => 'style', 'value' => array( 'load-more' ), ), 'description' => __( 'Select button style.', 'js_composer' ), ), array( 'type' => 'hidden', 'heading' => __( 'Button color', 'js_composer' ), 'param_name' => 'button_color', 'value' => '', 'param_holder_class' => 'vc_colored-dropdown', 'group' => __( 'Load More Button', 'js_composer' ), 'dependency' => array( 'element' => 'style', 'value' => array( 'load-more' ), ), 'description' => __( 'Select button color.', 'js_composer' ), ), array( 'type' => 'hidden', 'heading' => __( 'Button size', 'js_composer' ), 'param_name' => 'button_size', 'value' => '', 'description' => __( 'Select button size.', 'js_composer' ), 'group' => __( 'Load More Button', 'js_composer' ), 'dependency' => array( 'element' => 'style', 'value' => array( 'load-more' ), ), ), array( 'type' => 'animation_style', 'heading' => __( 'Initial loading animation', 'js_composer' ), 'param_name' => 'initial_loading_animation', 'value' => 'fadeIn', 'settings' => array( 'type' => array( 'in', 'other', ), ), 'description' => __( 'Select initial loading animation for grid element.', 'js_composer' ), ), ) ); self::$mediaGrid = array_merge( self::$mediaGrid ); return self::$mediaGrid; } public static function getMasonryCommonAtts() { if ( self::$masonryGrid ) { return self::$masonryGrid; } $gridParams = self::getBasicAtts(); self::$masonryGrid = $gridParams; $style = self::arraySearch( self::$masonryGrid, 'param_name', 'style' ); unset( self::$masonryGrid[ $style ]['value'][ __( 'Pagination', 'js_composer' ) ] ); $animation = self::arraySearch( self::$masonryGrid, 'param_name', 'initial_loading_animation' ); $masonryAnimation = array( 'type' => 'dropdown', 'heading' => __( 'Initial loading animation', 'js_composer' ), 'param_name' => 'initial_loading_animation', 'value' => array( __( 'None', 'js_composer' ) => 'none', __( 'Default', 'js_composer' ) => 'zoomIn', __( 'Fade In', 'js_composer' ) => 'fadeIn', ), 'std' => 'zoomIn', 'description' => __( 'Select initial loading animation for grid element.', 'js_composer' ), ); // unset( self::$masonryGrid[$animation] ); self::$masonryGrid[ $animation ] = $masonryAnimation; while ( $key = self::arraySearch( self::$masonryGrid, 'group', __( 'Pagination', 'js_composer' ) ) ) { unset( self::$masonryGrid[ $key ] ); } $vcGridItem = self::arraySearch( self::$masonryGrid, 'param_name', 'item' ); self::$masonryGrid[ $vcGridItem ]['value'] = 'masonryGrid_Default'; self::$masonryGrid = array_merge( self::$masonryGrid ); return array_merge( self::$masonryGrid ); } public static function getMasonryMediaCommonAtts() { if ( self::$masonryMediaGrid ) { return self::$masonryMediaGrid; } $mediaGridParams = self::getMediaCommonAtts(); self::$masonryMediaGrid = $mediaGridParams; while ( $key = self::arraySearch( self::$masonryMediaGrid, 'group', __( 'Pagination', 'js_composer' ) ) ) { unset( self::$masonryMediaGrid[ $key ] ); } $vcGridItem = self::arraySearch( self::$masonryMediaGrid, 'param_name', 'item' ); self::$masonryMediaGrid[ $vcGridItem ]['value'] = 'masonryMedia_Default'; $style = self::arraySearch( self::$masonryMediaGrid, 'param_name', 'style' ); unset( self::$masonryMediaGrid[ $style ]['value'][ __( 'Pagination', 'js_composer' ) ] ); $animation = self::arraySearch( self::$masonryMediaGrid, 'param_name', 'initial_loading_animation' ); $masonryAnimation = array( 'type' => 'dropdown', 'heading' => __( 'Initial loading animation', 'js_composer' ), 'param_name' => 'initial_loading_animation', 'value' => array( __( 'None', 'js_composer' ) => 'none', __( 'Default', 'js_composer' ) => 'zoomIn', __( 'Fade In', 'js_composer' ) => 'fadeIn', ), 'std' => 'zoomIn', 'settings' => array( 'type' => array( 'in', 'other', ), ), 'description' => __( 'Select initial loading animation for grid element.', 'js_composer' ), ); self::$masonryMediaGrid[ $animation ] = $masonryAnimation; self::$masonryMediaGrid = array_merge( self::$masonryMediaGrid ); return array_merge( self::$masonryMediaGrid ); } // Function to search array public static function arraySearch( $array, $column, $value ) { if ( ! is_array( $array ) ) { return false; } foreach ( $array as $key => $innerArray ) { $exists = isset( $innerArray[ $column ] ) && $innerArray[ $column ] == $value; if ( $exists ) { return $key; } } return false; } } // class ends } grids/shortcode-vc-basic-grid.php 0000666 00000000662 15213303514 0012774 0 ustar 00 <?php if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } require_once( 'class-vc-grids-common.php' ); $gridParams = VcGridsCommon::getBasicAtts(); return array( 'name' => __( 'Post Grid', 'js_composer' ), 'base' => 'vc_basic_grid', 'icon' => 'icon-wpb-application-icon-large', 'category' => __( 'Content', 'js_composer' ), 'description' => __( 'Posts, pages or custom posts in grid', 'js_composer' ), 'params' => $gridParams, ); grids/shortcode-vc-media-grid.php 0000666 00000000662 15213303514 0012772 0 ustar 00 <?php if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } require_once( 'class-vc-grids-common.php' ); $mediaGridParams = VcGridsCommon::getMediaCommonAtts(); return array( 'name' => __( 'Media Grid', 'js_composer' ), 'base' => 'vc_media_grid', 'icon' => 'vc_icon-vc-media-grid', 'category' => __( 'Content', 'js_composer' ), 'description' => __( 'Media grid from Media Library', 'js_composer' ), 'params' => $mediaGridParams, ); deprecated/shortcode-vc-posts-grid.php 0000666 00000007361 15213303514 0014056 0 ustar 00 <?php if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } $vc_layout_sub_controls = array( array( 'link_post', __( 'Link to post', 'js_composer' ), ), array( 'no_link', __( 'No link', 'js_composer' ), ), array( 'link_image', __( 'Link to bigger image', 'js_composer' ), ), ); return array( 'name' => __( 'Old Posts Grid', 'js_composer' ), 'base' => 'vc_posts_grid', 'content_element' => false, 'deprecated' => '4.4', 'icon' => 'icon-wpb-application-icon-large', 'description' => __( 'Posts in grid view', 'js_composer' ), 'params' => array( array( 'type' => 'textfield', 'heading' => __( 'Widget title', 'js_composer' ), 'param_name' => 'title', 'description' => __( 'Enter text used as widget title (Note: located above content element).', 'js_composer' ), ), array( 'type' => 'loop', 'heading' => __( 'Grids content', 'js_composer' ), 'param_name' => 'loop', 'value' => 'size:10|order_by:date', 'settings' => array( 'size' => array( 'hidden' => false, 'value' => 10, ), 'order_by' => array( 'value' => 'date' ), ), 'description' => __( 'Create WordPress loop, to populate content from your site.', 'js_composer' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Columns count', 'js_composer' ), 'param_name' => 'grid_columns_count', 'value' => array( 6, 4, 3, 2, 1, ), 'std' => 3, 'admin_label' => true, 'description' => __( 'Select columns count.', 'js_composer' ), ), array( 'type' => 'sorted_list', 'heading' => __( 'Teaser layout', 'js_composer' ), 'param_name' => 'grid_layout', 'description' => __( 'Control teasers look. Enable blocks and place them in desired order. Note: This setting can be overrriden on post to post basis.', 'js_composer' ), 'value' => 'title,image,text', 'options' => array( array( 'image', __( 'Thumbnail', 'js_composer' ), $vc_layout_sub_controls, ), array( 'title', __( 'Title', 'js_composer' ), $vc_layout_sub_controls, ), array( 'text', __( 'Text', 'js_composer' ), array( array( 'excerpt', __( 'Teaser/Excerpt', 'js_composer' ), ), array( 'text', __( 'Full content', 'js_composer' ), ), ), ), array( 'link', __( 'Read more link', 'js_composer' ), ), ), ), array( 'type' => 'dropdown', 'heading' => __( 'Link target', 'js_composer' ), 'param_name' => 'grid_link_target', 'value' => vc_target_param_list(), ), array( 'type' => 'checkbox', 'heading' => __( 'Show filter', 'js_composer' ), 'param_name' => 'filter', 'value' => array( __( 'Yes', 'js_composer' ) => 'yes' ), 'description' => __( 'Select to add animated category filter to your posts grid.', 'js_composer' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Layout mode', 'js_composer' ), 'param_name' => 'grid_layout_mode', 'value' => array( __( 'Fit rows', 'js_composer' ) => 'fitRows', __( 'Masonry', 'js_composer' ) => 'masonry', ), 'description' => __( 'Teaser layout template.', 'js_composer' ), ), array( 'type' => 'textfield', 'heading' => __( 'Thumbnail size', 'js_composer' ), 'param_name' => 'grid_thumb_size', 'value' => 'thumbnail', 'description' => __( 'Enter thumbnail size. Example: thumbnail, medium, large, full or other sizes defined by current theme. Alternatively enter image size in pixels: 200x100 (Width x Height) . ', 'js_composer' ), ), array( 'type' => 'textfield', 'heading' => __( 'Extra class name', 'js_composer' ), 'param_name' => 'el_class', 'description' => __( 'Style particular content element differently - add a class name and refer to it in custom CSS.', 'js_composer' ), ), ), ); deprecated/shortcode-vc-accordion-tab.php 0000666 00000001703 15213303514 0014462 0 ustar 00 <?php if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } return array( 'name' => __( 'Old Section', 'js_composer' ), 'base' => 'vc_accordion_tab', 'allowed_container_element' => 'vc_row', 'is_container' => true, 'deprecated' => '4.6', 'content_element' => false, 'params' => array( array( 'type' => 'textfield', 'heading' => __( 'Title', 'js_composer' ), 'param_name' => 'title', 'value' => __( 'Section', 'js_composer' ), 'description' => __( 'Enter accordion section title.', 'js_composer' ), ), array( 'type' => 'el_id', 'heading' => __( 'Section ID', 'js_composer' ), 'param_name' => 'el_id', 'description' => sprintf( __( 'Enter optional row ID. Make sure it is unique, and it is valid as w3c specification: %s (Must not have spaces)', 'js_composer' ), '<a target="_blank" href="http://www.w3schools.com/tags/att_global_id.asp">' . __( 'link', 'js_composer' ) . '</a>' ), ), ), 'js_view' => 'VcAccordionTabView', ); deprecated/shortcode-vc-button2.php 0000666 00000004354 15213303514 0013357 0 ustar 00 <?php if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } return array( 'name' => __( 'Old Button', 'js_composer' ) . ' 2', 'base' => 'vc_button2', 'icon' => 'icon-wpb-ui-button', 'deprecated' => '4.5', 'content_element' => false, 'category' => array( __( 'Content', 'js_composer' ), ), 'description' => __( 'Eye catching button', 'js_composer' ), 'params' => array( array( 'type' => 'vc_link', 'heading' => __( 'URL (Link)', 'js_composer' ), 'param_name' => 'link', 'description' => __( 'Add link to button.', 'js_composer' ), ), array( 'type' => 'textfield', 'heading' => __( 'Text', 'js_composer' ), 'holder' => 'button', 'class' => 'vc_btn', 'param_name' => 'title', 'value' => __( 'Text on the button', 'js_composer' ), 'description' => __( 'Enter text on the button.', 'js_composer' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Alignment', 'js_composer' ), 'param_name' => 'align', 'value' => array( __( 'Inline', 'js_composer' ) => 'inline', __( 'Left', 'js_composer' ) => 'left', __( 'Center', 'js_composer' ) => 'center', __( 'Right', 'js_composer' ) => 'right', ), 'description' => __( 'Select button alignment.', 'js_composer' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Shape', 'js_composer' ), 'param_name' => 'style', 'value' => getVcShared( 'button styles' ), 'description' => __( 'Select button display style and shape.', 'js_composer' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Color', 'js_composer' ), 'param_name' => 'color', 'value' => getVcShared( 'colors' ), 'description' => __( 'Select button color.', 'js_composer' ), 'param_holder_class' => 'vc_colored-dropdown', ), array( 'type' => 'dropdown', 'heading' => __( 'Size', 'js_composer' ), 'param_name' => 'size', 'value' => getVcShared( 'sizes' ), 'std' => 'md', 'description' => __( 'Select button size.', 'js_composer' ), ), array( 'type' => 'textfield', 'heading' => __( 'Extra class name', 'js_composer' ), 'param_name' => 'el_class', 'description' => __( 'Style particular content element differently - add a class name and refer to it in custom CSS.', 'js_composer' ), ), ), 'js_view' => 'VcButton2View', ); deprecated/shortcode-vc-tabs.php 0000666 00000003013 15213303514 0012702 0 ustar 00 <?php if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } return array( 'name' => __( 'Old Tabs', 'js_composer' ), 'base' => 'vc_tabs', 'show_settings_on_create' => false, 'is_container' => true, 'icon' => 'icon-wpb-ui-tab-content', 'category' => __( 'Content', 'js_composer' ), 'deprecated' => '4.6', 'description' => __( 'Tabbed content', 'js_composer' ), 'params' => array( array( 'type' => 'textfield', 'heading' => __( 'Widget title', 'js_composer' ), 'param_name' => 'title', 'description' => __( 'Enter text used as widget title (Note: located above content element).', 'js_composer' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Auto rotate', 'js_composer' ), 'param_name' => 'interval', 'value' => array( __( 'Disable', 'js_composer' ) => 0, 3, 5, 10, 15, ), 'std' => 0, 'description' => __( 'Auto rotate tabs each X seconds.', 'js_composer' ), ), array( 'type' => 'textfield', 'heading' => __( 'Extra class name', 'js_composer' ), 'param_name' => 'el_class', 'description' => __( 'Style particular content element differently - add a class name and refer to it in custom CSS.', 'js_composer' ), ), ), 'custom_markup' => ' <div class="wpb_tabs_holder wpb_holder vc_container_for_children"> <ul class="tabs_controls"> </ul> %content% </div>', 'default_content' => ' [vc_tab title="' . __( 'Tab 1', 'js_composer' ) . '" tab_id=""][/vc_tab] [vc_tab title="' . __( 'Tab 2', 'js_composer' ) . '" tab_id=""][/vc_tab] ', 'js_view' => 'VcTabsView', ); deprecated/shortcode-vc-cta-button.php 0000666 00000005507 15213303514 0014043 0 ustar 00 <?php if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } $colors_arr = vc_colors_arr(); $icons_arr = vc_icons_arr(); $size_arr = vc_size_arr(); return array( 'name' => __( 'Old Call to Action', 'js_composer' ), 'base' => 'vc_cta_button', 'icon' => 'icon-wpb-call-to-action', 'deprecated' => '4.5', 'content_element' => false, 'category' => __( 'Content', 'js_composer' ), 'description' => __( 'Catch visitors attention with CTA block', 'js_composer' ), 'params' => array( array( 'type' => 'textarea', 'admin_label' => true, 'heading' => __( 'Text', 'js_composer' ), 'param_name' => 'call_text', 'value' => __( 'Click edit button to change this text.', 'js_composer' ), 'description' => __( 'Enter text content.', 'js_composer' ), ), array( 'type' => 'textfield', 'heading' => __( 'Text on the button', 'js_composer' ), 'param_name' => 'title', 'value' => __( 'Text on the button', 'js_composer' ), 'description' => __( 'Enter text on the button.', 'js_composer' ), ), array( 'type' => 'href', 'heading' => __( 'URL (Link)', 'js_composer' ), 'param_name' => 'href', 'description' => __( 'Enter button link.', 'js_composer' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Target', 'js_composer' ), 'param_name' => 'target', 'value' => vc_target_param_list(), 'dependency' => array( 'element' => 'href', 'not_empty' => true, 'callback' => 'vc_cta_button_param_target_callback', ), ), array( 'type' => 'dropdown', 'heading' => __( 'Color', 'js_composer' ), 'param_name' => 'color', 'value' => $colors_arr, 'description' => __( 'Select button color.', 'js_composer' ), 'param_holder_class' => 'vc_colored-dropdown', ), array( 'type' => 'dropdown', 'heading' => __( 'Button icon', 'js_composer' ), 'param_name' => 'icon', 'value' => $icons_arr, 'description' => __( 'Select icon to display on button.', 'js_composer' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Size', 'js_composer' ), 'param_name' => 'size', 'value' => $size_arr, 'description' => __( 'Select button size.', 'js_composer' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Button position', 'js_composer' ), 'param_name' => 'position', 'value' => array( __( 'Right', 'js_composer' ) => 'cta_align_right', __( 'Left', 'js_composer' ) => 'cta_align_left', __( 'Bottom', 'js_composer' ) => 'cta_align_bottom', ), 'description' => __( 'Select button alignment.', 'js_composer' ), ), vc_map_add_css_animation(), array( 'type' => 'textfield', 'heading' => __( 'Extra class name', 'js_composer' ), 'param_name' => 'el_class', 'description' => __( 'Style particular content element differently - add a class name and refer to it in custom CSS.', 'js_composer' ), ), ), 'js_view' => 'VcCallToActionView', ); deprecated/shortcode-vc-accordion.php 0000666 00000004546 15213303514 0013726 0 ustar 00 <?php if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } return array( 'name' => __( 'Old Accordion', 'js_composer' ), 'base' => 'vc_accordion', 'show_settings_on_create' => false, 'is_container' => true, 'icon' => 'icon-wpb-ui-accordion', 'deprecated' => '4.6', 'category' => __( 'Content', 'js_composer' ), 'description' => __( 'Collapsible content panels', 'js_composer' ), 'params' => array( array( 'type' => 'textfield', 'heading' => __( 'Widget title', 'js_composer' ), 'param_name' => 'title', 'description' => __( 'Enter text used as widget title (Note: located above content element).', 'js_composer' ), ), array( 'type' => 'textfield', 'heading' => __( 'Active section', 'js_composer' ), 'param_name' => 'active_tab', 'value' => 1, 'description' => __( 'Enter section number to be active on load or enter "false" to collapse all sections.', 'js_composer' ), ), array( 'type' => 'checkbox', 'heading' => __( 'Allow collapse all sections?', 'js_composer' ), 'param_name' => 'collapsible', 'description' => __( 'If checked, it is allowed to collapse all sections.', 'js_composer' ), 'value' => array( __( 'Yes', 'js_composer' ) => 'yes' ), ), array( 'type' => 'checkbox', 'heading' => __( 'Disable keyboard interactions?', 'js_composer' ), 'param_name' => 'disable_keyboard', 'description' => __( 'If checked, disables keyboard arrow interactions (Keys: Left, Up, Right, Down, Space).', 'js_composer' ), 'value' => array( __( 'Yes', 'js_composer' ) => 'yes' ), ), array( 'type' => 'textfield', 'heading' => __( 'Extra class name', 'js_composer' ), 'param_name' => 'el_class', 'description' => __( 'Style particular content element differently - add a class name and refer to it in custom CSS.', 'js_composer' ), ), ), 'custom_markup' => ' <div class="wpb_accordion_holder wpb_holder clearfix vc_container_for_children"> %content% </div> <div class="tab_controls"> <a class="add_tab" title="' . __( 'Add section', 'js_composer' ) . '"><span class="vc_icon"></span> <span class="tab-label">' . __( 'Add section', 'js_composer' ) . '</span></a> </div> ', 'default_content' => ' [vc_accordion_tab title="' . __( 'Section 1', 'js_composer' ) . '"][/vc_accordion_tab] [vc_accordion_tab title="' . __( 'Section 2', 'js_composer' ) . '"][/vc_accordion_tab] ', 'js_view' => 'VcAccordionView', ); deprecated/shortcode-vc-tour.php 0000666 00000003167 15213303514 0012754 0 ustar 00 <?php if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } return array( 'name' => __( 'Old Tour', 'js_composer' ), 'base' => 'vc_tour', 'show_settings_on_create' => false, 'is_container' => true, 'container_not_allowed' => true, 'deprecated' => '4.6', 'icon' => 'icon-wpb-ui-tab-content-vertical', 'category' => __( 'Content', 'js_composer' ), 'wrapper_class' => 'vc_clearfix', 'description' => __( 'Vertical tabbed content', 'js_composer' ), 'params' => array( array( 'type' => 'textfield', 'heading' => __( 'Widget title', 'js_composer' ), 'param_name' => 'title', 'description' => __( 'Enter text used as widget title (Note: located above content element).', 'js_composer' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Auto rotate slides', 'js_composer' ), 'param_name' => 'interval', 'value' => array( __( 'Disable', 'js_composer' ) => 0, 3, 5, 10, 15, ), 'std' => 0, 'description' => __( 'Auto rotate slides each X seconds.', 'js_composer' ), ), array( 'type' => 'textfield', 'heading' => __( 'Extra class name', 'js_composer' ), 'param_name' => 'el_class', 'description' => __( 'Style particular content element differently - add a class name and refer to it in custom CSS.', 'js_composer' ), ), ), 'custom_markup' => ' <div class="wpb_tabs_holder wpb_holder vc_clearfix vc_container_for_children"> <ul class="tabs_controls"> </ul> %content% </div>', 'default_content' => ' [vc_tab title="' . __( 'Tab 1', 'js_composer' ) . '" tab_id=""][/vc_tab] [vc_tab title="' . __( 'Tab 2', 'js_composer' ) . '" tab_id=""][/vc_tab] ', 'js_view' => 'VcTabsView', ); deprecated/shortcode-vc-tab.php 0000666 00000001126 15213303514 0012522 0 ustar 00 <?php if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } return array( 'name' => __( 'Old Tab', 'js_composer' ), 'base' => 'vc_tab', 'allowed_container_element' => 'vc_row', 'is_container' => true, 'content_element' => false, 'deprecated' => '4.6', 'params' => array( array( 'type' => 'textfield', 'heading' => __( 'Title', 'js_composer' ), 'param_name' => 'title', 'description' => __( 'Enter title of tab.', 'js_composer' ), ), array( 'type' => 'tab_id', 'heading' => __( 'Tab ID', 'js_composer' ), 'param_name' => 'tab_id', ), ), 'js_view' => 'VcTabView', ); deprecated/shortcode-vc-carousel.php 0000666 00000011557 15213303514 0013602 0 ustar 00 <?php if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } return array( 'name' => __( 'Old Post Carousel', 'js_composer' ), 'base' => 'vc_carousel', 'content_element' => false, 'deprecated' => '4.4', 'class' => '', 'icon' => 'icon-wpb-vc_carousel', 'category' => __( 'Content', 'js_composer' ), 'description' => __( 'Animated carousel with posts', 'js_composer' ), 'params' => array( array( 'type' => 'textfield', 'heading' => __( 'Widget title', 'js_composer' ), 'param_name' => 'title', 'description' => __( 'Enter text used as widget title (Note: located above content element).', 'js_composer' ), ), array( 'type' => 'loop', 'heading' => __( 'Carousel content', 'js_composer' ), 'param_name' => 'posts_query', 'value' => 'size:10|order_by:date', 'settings' => array( 'size' => array( 'hidden' => false, 'value' => 10, ), 'order_by' => array( 'value' => 'date' ), ), 'description' => __( 'Create WordPress loop, to populate content from your site.', 'js_composer' ), ), array( 'type' => 'sorted_list', 'heading' => __( 'Teaser layout', 'js_composer' ), 'param_name' => 'layout', 'description' => __( 'Control teasers look. Enable blocks and place them in desired order. Note: This setting can be overrriden on post to post basis.', 'js_composer' ), 'value' => 'title,image,text', 'options' => array( array( 'image', __( 'Thumbnail', 'js_composer' ), vc_layout_sub_controls(), ), array( 'title', __( 'Title', 'js_composer' ), vc_layout_sub_controls(), ), array( 'text', __( 'Text', 'js_composer' ), array( array( 'excerpt', __( 'Teaser/Excerpt', 'js_composer' ), ), array( 'text', __( 'Full content', 'js_composer' ), ), ), ), array( 'link', __( 'Read more link', 'js_composer' ), ), ), ), array( 'type' => 'dropdown', 'heading' => __( 'Link target', 'js_composer' ), 'param_name' => 'link_target', 'value' => vc_target_param_list(), ), array( 'type' => 'textfield', 'heading' => __( 'Thumbnail size', 'js_composer' ), 'param_name' => 'thumb_size', 'value' => 'thumbnail', 'description' => __( 'Enter thumbnail size. Example: thumbnail, medium, large, full or other sizes defined by current theme. Alternatively enter image size in pixels: 200x100 (Width x Height) . ', 'js_composer' ), ), array( 'type' => 'textfield', 'heading' => __( 'Slider speed', 'js_composer' ), 'param_name' => 'speed', 'value' => '5000', 'description' => __( 'Duration of animation between slides (in ms).', 'js_composer' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Slider orientation', 'js_composer' ), 'param_name' => 'mode', 'value' => array( __( 'Horizontal', 'js_composer' ) => 'horizontal', __( 'Vertical', 'js_composer' ) => 'vertical', ), 'description' => __( 'Select slider position (Note: this affects swiping orientation).', 'js_composer' ), ), array( 'type' => 'textfield', 'heading' => __( 'Slides per view', 'js_composer' ), 'param_name' => 'slides_per_view', 'value' => '1', 'description' => __( 'Enter number of slides to display at the same time.', 'js_composer' ), ), array( 'type' => 'checkbox', 'heading' => __( 'Slider autoplay', 'js_composer' ), 'param_name' => 'autoplay', 'description' => __( 'Enable autoplay mode.', 'js_composer' ), 'value' => array( __( 'Yes', 'js_composer' ) => 'yes' ), ), array( 'type' => 'checkbox', 'heading' => __( 'Hide pagination control', 'js_composer' ), 'param_name' => 'hide_pagination_control', 'description' => __( 'If "YES" pagination control will be removed', 'js_composer' ), 'value' => array( __( 'Yes', 'js_composer' ) => 'yes' ), ), array( 'type' => 'checkbox', 'heading' => __( 'Hide prev/next buttons', 'js_composer' ), 'param_name' => 'hide_prev_next_buttons', 'description' => __( 'If "YES" prev/next control will be removed', 'js_composer' ), 'value' => array( __( 'Yes', 'js_composer' ) => 'yes' ), ), array( 'type' => 'checkbox', 'heading' => __( 'Partial view', 'js_composer' ), 'param_name' => 'partial_view', 'description' => __( 'If "YES" part of the next slide will be visible on the right side', 'js_composer' ), 'value' => array( __( 'Yes', 'js_composer' ) => 'yes' ), ), array( 'type' => 'checkbox', 'heading' => __( 'Slider loop', 'js_composer' ), 'param_name' => 'wrap', 'description' => __( 'Enable slider loop mode.', 'js_composer' ), 'value' => array( __( 'Yes', 'js_composer' ) => 'yes' ), ), array( 'type' => 'textfield', 'heading' => __( 'Extra class name', 'js_composer' ), 'param_name' => 'el_class', 'description' => __( 'Style particular content element differently - add a class name and refer to it in custom CSS.', 'js_composer' ), ), ), ); deprecated/shortcode-vc-button.php 0000666 00000004203 15213303514 0013266 0 ustar 00 <?php if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } $colors_arr = vc_colors_arr(); $size_arr = vc_size_arr(); $icons_arr = vc_icons_arr(); return array( 'name' => __( 'Old Button', 'js_composer' ) . ' 1', 'base' => 'vc_button', 'icon' => 'icon-wpb-ui-button', 'category' => __( 'Content', 'js_composer' ), 'deprecated' => '4.5', 'content_element' => false, 'description' => __( 'Eye catching button', 'js_composer' ), 'params' => array( array( 'type' => 'textfield', 'heading' => __( 'Text', 'js_composer' ), 'holder' => 'button', 'class' => 'wpb_button', 'param_name' => 'title', 'value' => __( 'Text on the button', 'js_composer' ), 'description' => __( 'Enter text on the button.', 'js_composer' ), ), array( 'type' => 'href', 'heading' => __( 'URL (Link)', 'js_composer' ), 'param_name' => 'href', 'description' => __( 'Enter button link.', 'js_composer' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Target', 'js_composer' ), 'param_name' => 'target', 'value' => vc_target_param_list(), 'dependency' => array( 'element' => 'href', 'not_empty' => true, 'callback' => 'vc_button_param_target_callback', ), ), array( 'type' => 'dropdown', 'heading' => __( 'Color', 'js_composer' ), 'param_name' => 'color', 'value' => $colors_arr, 'description' => __( 'Select button color.', 'js_composer' ), 'param_holder_class' => 'vc_colored-dropdown', ), array( 'type' => 'dropdown', 'heading' => __( 'Icon', 'js_composer' ), 'param_name' => 'icon', 'value' => $icons_arr, 'description' => __( 'Select icon to display on button.', 'js_composer' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Size', 'js_composer' ), 'param_name' => 'size', 'value' => $size_arr, 'description' => __( 'Select button size.', 'js_composer' ), ), array( 'type' => 'textfield', 'heading' => __( 'Extra class name', 'js_composer' ), 'param_name' => 'el_class', 'description' => __( 'Style particular content element differently - add a class name and refer to it in custom CSS.', 'js_composer' ), ), ), 'js_view' => 'VcButtonView', ); deprecated/shortcode-vc-cta-button2.php 0000666 00000007771 15213303514 0014132 0 ustar 00 <?php if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } return array( 'name' => __( 'Old Call to Action Button', 'js_composer' ) . ' 2', 'base' => 'vc_cta_button2', 'icon' => 'icon-wpb-call-to-action', 'deprecated' => '4.5', 'content_element' => false, 'category' => array( __( 'Content', 'js_composer' ) ), 'description' => __( 'Catch visitors attention with CTA block', 'js_composer' ), 'params' => array( array( 'type' => 'textfield', 'heading' => __( 'Heading', 'js_composer' ), 'admin_label' => true, 'param_name' => 'h2', 'value' => __( 'Hey! I am first heading line feel free to change me', 'js_composer' ), 'description' => __( 'Enter text for heading line.', 'js_composer' ), ), array( 'type' => 'textfield', 'heading' => __( 'Subheading', 'js_composer' ), 'param_name' => 'h4', 'value' => '', 'description' => __( 'Enter text for subheading line.', 'js_composer' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Shape', 'js_composer' ), 'param_name' => 'style', 'value' => getVcShared( 'cta styles' ), 'description' => __( 'Select display shape and style.', 'js_composer' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Width', 'js_composer' ), 'param_name' => 'el_width', 'value' => getVcShared( 'cta widths' ), 'description' => __( 'Select element width (percentage).', 'js_composer' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Text alignment', 'js_composer' ), 'param_name' => 'txt_align', 'value' => getVcShared( 'text align' ), 'description' => __( 'Select text alignment in "Call to Action" block.', 'js_composer' ), ), array( 'type' => 'colorpicker', 'heading' => __( 'Background color', 'js_composer' ), 'param_name' => 'accent_color', 'description' => __( 'Select background color.', 'js_composer' ), ), array( 'type' => 'textarea_html', 'heading' => __( 'Text', 'js_composer' ), 'param_name' => 'content', 'value' => __( 'I am promo text. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.', 'js_composer' ), ), array( 'type' => 'vc_link', 'heading' => __( 'URL (Link)', 'js_composer' ), 'param_name' => 'link', 'description' => __( 'Add link to button (Important: adding link automatically adds button).', 'js_composer' ), ), array( 'type' => 'textfield', 'heading' => __( 'Text on the button', 'js_composer' ), 'param_name' => 'title', 'value' => __( 'Text on the button', 'js_composer' ), 'description' => __( 'Add text on the button.', 'js_composer' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Shape', 'js_composer' ), 'param_name' => 'btn_style', 'value' => getVcShared( 'button styles' ), 'description' => __( 'Select button display style and shape.', 'js_composer' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Color', 'js_composer' ), 'param_name' => 'color', 'value' => getVcShared( 'colors' ), 'description' => __( 'Select button color.', 'js_composer' ), 'param_holder_class' => 'vc_colored-dropdown', ), array( 'type' => 'dropdown', 'heading' => __( 'Size', 'js_composer' ), 'param_name' => 'size', 'value' => getVcShared( 'sizes' ), 'std' => 'md', 'description' => __( 'Select button size.', 'js_composer' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Button position', 'js_composer' ), 'param_name' => 'position', 'value' => array( __( 'Right', 'js_composer' ) => 'right', __( 'Left', 'js_composer' ) => 'left', __( 'Bottom', 'js_composer' ) => 'bottom', ), 'description' => __( 'Select button alignment.', 'js_composer' ), ), vc_map_add_css_animation(), array( 'type' => 'textfield', 'heading' => __( 'Extra class name', 'js_composer' ), 'param_name' => 'el_class', 'description' => __( 'Style particular content element differently - add a class name and refer to it in custom CSS.', 'js_composer' ), ), ), ); content/shortcode-vc-message.php 0000666 00000022466 15213303514 0012764 0 ustar 00 <?php if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } /* Message box 2 ---------------------------------------------------------- */ $pixel_icons = vc_pixel_icons(); $custom_colors = array( __( 'Informational', 'js_composer' ) => 'info', __( 'Warning', 'js_composer' ) => 'warning', __( 'Success', 'js_composer' ) => 'success', __( 'Error', 'js_composer' ) => 'danger', __( 'Informational Classic', 'js_composer' ) => 'alert-info', __( 'Warning Classic', 'js_composer' ) => 'alert-warning', __( 'Success Classic', 'js_composer' ) => 'alert-success', __( 'Error Classic', 'js_composer' ) => 'alert-danger', ); return array( 'name' => __( 'Message Box', 'js_composer' ), 'base' => 'vc_message', 'icon' => 'icon-wpb-information-white', 'category' => __( 'Content', 'js_composer' ), 'description' => __( 'Notification box', 'js_composer' ), 'params' => array( array( 'type' => 'params_preset', 'heading' => __( 'Message Box Presets', 'js_composer' ), 'param_name' => 'color', // due to backward compatibility, really it is message_box_type 'value' => '', 'options' => array( array( 'label' => __( 'Custom', 'js_composer' ), 'value' => '', 'params' => array(), ), array( 'label' => __( 'Informational', 'js_composer' ), 'value' => 'info', 'params' => array( 'message_box_color' => 'info', 'icon_type' => 'fontawesome', 'icon_fontawesome' => 'fa fa-info-circle', ), ), array( 'label' => __( 'Warning', 'js_composer' ), 'value' => 'warning', 'params' => array( 'message_box_color' => 'warning', 'icon_type' => 'fontawesome', 'icon_fontawesome' => 'fa fa-exclamation-triangle', ), ), array( 'label' => __( 'Success', 'js_composer' ), 'value' => 'success', 'params' => array( 'message_box_color' => 'success', 'icon_type' => 'fontawesome', 'icon_fontawesome' => 'fa fa-check', ), ), array( 'label' => __( 'Error', 'js_composer' ), 'value' => 'danger', 'params' => array( 'message_box_color' => 'danger', 'icon_type' => 'fontawesome', 'icon_fontawesome' => 'fa fa-times', ), ), array( 'label' => __( 'Informational Classic', 'js_composer' ), 'value' => 'alert-info', // due to backward compatibility 'params' => array( 'message_box_color' => 'alert-info', 'icon_type' => 'pixelicons', 'icon_pixelicons' => 'vc_pixel_icon vc_pixel_icon-info', ), ), array( 'label' => __( 'Warning Classic', 'js_composer' ), 'value' => 'alert-warning', // due to backward compatibility 'params' => array( 'message_box_color' => 'alert-warning', 'icon_type' => 'pixelicons', 'icon_pixelicons' => 'vc_pixel_icon vc_pixel_icon-alert', ), ), array( 'label' => __( 'Success Classic', 'js_composer' ), 'value' => 'alert-success', // due to backward compatibility 'params' => array( 'message_box_color' => 'alert-success', 'icon_type' => 'pixelicons', 'icon_pixelicons' => 'vc_pixel_icon vc_pixel_icon-tick', ), ), array( 'label' => __( 'Error Classic', 'js_composer' ), 'value' => 'alert-danger', // due to backward compatibility 'params' => array( 'message_box_color' => 'alert-danger', 'icon_type' => 'pixelicons', 'icon_pixelicons' => 'vc_pixel_icon vc_pixel_icon-explanation', ), ), ), 'description' => __( 'Select predefined message box design or choose "Custom" for custom styling.', 'js_composer' ), 'param_holder_class' => 'vc_message-type vc_colored-dropdown', ), array( 'type' => 'dropdown', 'heading' => __( 'Style', 'js_composer' ), 'param_name' => 'message_box_style', 'value' => getVcShared( 'message_box_styles' ), 'description' => __( 'Select message box design style.', 'js_composer' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Shape', 'js_composer' ), 'param_name' => 'style', // due to backward compatibility message_box_shape 'std' => 'rounded', 'value' => array( __( 'Square', 'js_composer' ) => 'square', __( 'Rounded', 'js_composer' ) => 'rounded', __( 'Round', 'js_composer' ) => 'round', ), 'description' => __( 'Select message box shape.', 'js_composer' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Color', 'js_composer' ), 'param_name' => 'message_box_color', 'value' => $custom_colors + getVcShared( 'colors' ), 'description' => __( 'Select message box color.', 'js_composer' ), 'param_holder_class' => 'vc_message-type vc_colored-dropdown', ), array( 'type' => 'dropdown', 'heading' => __( 'Icon library', 'js_composer' ), 'value' => array( __( 'Font Awesome', 'js_composer' ) => 'fontawesome', __( 'Open Iconic', 'js_composer' ) => 'openiconic', __( 'Typicons', 'js_composer' ) => 'typicons', __( 'Entypo', 'js_composer' ) => 'entypo', __( 'Linecons', 'js_composer' ) => 'linecons', __( 'Pixel', 'js_composer' ) => 'pixelicons', __( 'Mono Social', 'js_composer' ) => 'monosocial', ), 'param_name' => 'icon_type', 'description' => __( 'Select icon library.', 'js_composer' ), ), array( 'type' => 'iconpicker', 'heading' => __( 'Icon', 'js_composer' ), 'param_name' => 'icon_fontawesome', 'value' => 'fa fa-info-circle', 'settings' => array( 'emptyIcon' => false, // default true, display an "EMPTY" icon? 'iconsPerPage' => 4000, // default 100, how many icons per/page to display ), 'dependency' => array( 'element' => 'icon_type', 'value' => 'fontawesome', ), 'description' => __( 'Select icon from library.', 'js_composer' ), ), array( 'type' => 'iconpicker', 'heading' => __( 'Icon', 'js_composer' ), 'param_name' => 'icon_openiconic', 'settings' => array( 'emptyIcon' => false, // default true, display an "EMPTY" icon? 'type' => 'openiconic', 'iconsPerPage' => 4000, // default 100, how many icons per/page to display ), 'dependency' => array( 'element' => 'icon_type', 'value' => 'openiconic', ), 'description' => __( 'Select icon from library.', 'js_composer' ), ), array( 'type' => 'iconpicker', 'heading' => __( 'Icon', 'js_composer' ), 'param_name' => 'icon_typicons', 'settings' => array( 'emptyIcon' => false, // default true, display an "EMPTY" icon? 'type' => 'typicons', 'iconsPerPage' => 4000, // default 100, how many icons per/page to display ), 'dependency' => array( 'element' => 'icon_type', 'value' => 'typicons', ), 'description' => __( 'Select icon from library.', 'js_composer' ), ), array( 'type' => 'iconpicker', 'heading' => __( 'Icon', 'js_composer' ), 'param_name' => 'icon_entypo', 'settings' => array( 'emptyIcon' => false, // default true, display an "EMPTY" icon? 'type' => 'entypo', 'iconsPerPage' => 4000, // default 100, how many icons per/page to display ), 'dependency' => array( 'element' => 'icon_type', 'value' => 'entypo', ), ), array( 'type' => 'iconpicker', 'heading' => __( 'Icon', 'js_composer' ), 'param_name' => 'icon_linecons', 'settings' => array( 'emptyIcon' => false, // default true, display an "EMPTY" icon? 'type' => 'linecons', 'iconsPerPage' => 4000, // default 100, how many icons per/page to display ), 'dependency' => array( 'element' => 'icon_type', 'value' => 'linecons', ), 'description' => __( 'Select icon from library.', 'js_composer' ), ), array( 'type' => 'iconpicker', 'heading' => __( 'Icon', 'js_composer' ), 'param_name' => 'icon_pixelicons', 'settings' => array( 'emptyIcon' => false, // default true, display an "EMPTY" icon? 'type' => 'pixelicons', 'source' => $pixel_icons, ), 'dependency' => array( 'element' => 'icon_type', 'value' => 'pixelicons', ), 'description' => __( 'Select icon from library.', 'js_composer' ), ), array( 'type' => 'iconpicker', 'heading' => __( 'Icon', 'js_composer' ), 'param_name' => 'icon_monosocial', 'value' => 'vc-mono vc-mono-fivehundredpx', // default value to backend editor admin_label 'settings' => array( 'emptyIcon' => false, // default true, display an "EMPTY" icon? 'type' => 'monosocial', 'iconsPerPage' => 4000, // default 100, how many icons per/page to display ), 'dependency' => array( 'element' => 'icon_type', 'value' => 'monosocial', ), 'description' => __( 'Select icon from library.', 'js_composer' ), ), array( 'type' => 'textarea_html', 'holder' => 'div', 'class' => 'messagebox_text', 'heading' => __( 'Message text', 'js_composer' ), 'param_name' => 'content', 'value' => __( '<p>I am message box. Click edit button to change this text.</p>', 'js_composer' ), ), vc_map_add_css_animation( false ), array( 'type' => 'textfield', 'heading' => __( 'Extra class name', 'js_composer' ), 'param_name' => 'el_class', 'description' => __( 'Style particular content element differently - add a class name and refer to it in custom CSS.', 'js_composer' ), ), array( 'type' => 'css_editor', 'heading' => __( 'CSS box', 'js_composer' ), 'param_name' => 'css', 'group' => __( 'Design Options', 'js_composer' ), ), ), 'js_view' => 'VcMessageView_Backend', ); content/shortcode-vc-gallery.php 0000666 00000011636 15213303514 0012774 0 ustar 00 <?php if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } return array( 'name' => __( 'Image Gallery', 'js_composer' ), 'base' => 'vc_gallery', 'icon' => 'icon-wpb-images-stack', 'category' => __( 'Content', 'js_composer' ), 'description' => __( 'Responsive image gallery', 'js_composer' ), 'params' => array( array( 'type' => 'textfield', 'heading' => __( 'Widget title', 'js_composer' ), 'param_name' => 'title', 'description' => __( 'Enter text used as widget title (Note: located above content element).', 'js_composer' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Gallery type', 'js_composer' ), 'param_name' => 'type', 'value' => array( __( 'Flex slider fade', 'js_composer' ) => 'flexslider_fade', __( 'Flex slider slide', 'js_composer' ) => 'flexslider_slide', __( 'Nivo slider', 'js_composer' ) => 'nivo', __( 'Image grid', 'js_composer' ) => 'image_grid', ), 'description' => __( 'Select gallery type.', 'js_composer' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Auto rotate', 'js_composer' ), 'param_name' => 'interval', 'value' => array( 3, 5, 10, 15, __( 'Disable', 'js_composer' ) => 0, ), 'description' => __( 'Auto rotate slides each X seconds.', 'js_composer' ), 'dependency' => array( 'element' => 'type', 'value' => array( 'flexslider_fade', 'flexslider_slide', 'nivo', ), ), ), array( 'type' => 'dropdown', 'heading' => __( 'Image source', 'js_composer' ), 'param_name' => 'source', 'value' => array( __( 'Media library', 'js_composer' ) => 'media_library', __( 'External links', 'js_composer' ) => 'external_link', ), 'std' => 'media_library', 'description' => __( 'Select image source.', 'js_composer' ), ), array( 'type' => 'attach_images', 'heading' => __( 'Images', 'js_composer' ), 'param_name' => 'images', 'value' => '', 'description' => __( 'Select images from media library.', 'js_composer' ), 'dependency' => array( 'element' => 'source', 'value' => 'media_library', ), ), array( 'type' => 'exploded_textarea_safe', 'heading' => __( 'External links', 'js_composer' ), 'param_name' => 'custom_srcs', 'description' => __( 'Enter external link for each gallery image (Note: divide links with linebreaks (Enter)).', 'js_composer' ), 'dependency' => array( 'element' => 'source', 'value' => 'external_link', ), ), array( 'type' => 'textfield', 'heading' => __( 'Image size', 'js_composer' ), 'param_name' => 'img_size', 'value' => 'thumbnail', 'description' => __( 'Enter image size. Example: thumbnail, medium, large, full or other sizes defined by current theme. Alternatively enter image size in pixels: 200x100 (Width x Height). Leave empty to use "thumbnail" size.', 'js_composer' ), 'dependency' => array( 'element' => 'source', 'value' => 'media_library', ), ), array( 'type' => 'textfield', 'heading' => __( 'Image size', 'js_composer' ), 'param_name' => 'external_img_size', 'value' => '', 'description' => __( 'Enter image size in pixels. Example: 200x100 (Width x Height).', 'js_composer' ), 'dependency' => array( 'element' => 'source', 'value' => 'external_link', ), ), array( 'type' => 'dropdown', 'heading' => __( 'On click action', 'js_composer' ), 'param_name' => 'onclick', 'value' => array( __( 'None', 'js_composer' ) => '', __( 'Link to large image', 'js_composer' ) => 'img_link_large', __( 'Open prettyPhoto', 'js_composer' ) => 'link_image', __( 'Open custom link', 'js_composer' ) => 'custom_link', ), 'description' => __( 'Select action for click action.', 'js_composer' ), 'std' => 'link_image', ), array( 'type' => 'exploded_textarea_safe', 'heading' => __( 'Custom links', 'js_composer' ), 'param_name' => 'custom_links', 'description' => __( 'Enter links for each slide (Note: divide links with linebreaks (Enter)).', 'js_composer' ), 'dependency' => array( 'element' => 'onclick', 'value' => array( 'custom_link' ), ), ), array( 'type' => 'dropdown', 'heading' => __( 'Custom link target', 'js_composer' ), 'param_name' => 'custom_links_target', 'description' => __( 'Select where to open custom links.', 'js_composer' ), 'dependency' => array( 'element' => 'onclick', 'value' => array( 'custom_link', 'img_link_large', ), ), 'value' => vc_target_param_list(), ), vc_map_add_css_animation(), array( 'type' => 'textfield', 'heading' => __( 'Extra class name', 'js_composer' ), 'param_name' => 'el_class', 'description' => __( 'Style particular content element differently - add a class name and refer to it in custom CSS.', 'js_composer' ), ), array( 'type' => 'css_editor', 'heading' => __( 'CSS box', 'js_composer' ), 'param_name' => 'css', 'group' => __( 'Design Options', 'js_composer' ), ), ), ); content/shortcode-vc-separator.php 0000666 00000005060 15213303514 0013327 0 ustar 00 <?php if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } return array( 'name' => __( 'Separator', 'js_composer' ), 'base' => 'vc_separator', 'icon' => 'icon-wpb-ui-separator', 'show_settings_on_create' => true, 'category' => __( 'Content', 'js_composer' ), 'description' => __( 'Horizontal separator line', 'js_composer' ), 'params' => array( array( 'type' => 'dropdown', 'heading' => __( 'Color', 'js_composer' ), 'param_name' => 'color', 'value' => array_merge( getVcShared( 'colors' ), array( __( 'Custom color', 'js_composer' ) => 'custom' ) ), 'std' => 'grey', 'description' => __( 'Select color of separator.', 'js_composer' ), 'param_holder_class' => 'vc_colored-dropdown', ), array( 'type' => 'dropdown', 'heading' => __( 'Alignment', 'js_composer' ), 'param_name' => 'align', 'value' => array( __( 'Center', 'js_composer' ) => 'align_center', __( 'Left', 'js_composer' ) => 'align_left', __( 'Right', 'js_composer' ) => 'align_right', ), 'description' => __( 'Select separator alignment.', 'js_composer' ), ), array( 'type' => 'colorpicker', 'heading' => __( 'Custom Border Color', 'js_composer' ), 'param_name' => 'accent_color', 'description' => __( 'Select border color for your element.', 'js_composer' ), 'dependency' => array( 'element' => 'color', 'value' => array( 'custom' ), ), ), array( 'type' => 'dropdown', 'heading' => __( 'Style', 'js_composer' ), 'param_name' => 'style', 'value' => getVcShared( 'separator styles' ), 'description' => __( 'Separator display style.', 'js_composer' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Border width', 'js_composer' ), 'param_name' => 'border_width', 'value' => getVcShared( 'separator border widths' ), 'description' => __( 'Select border width (pixels).', 'js_composer' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Element width', 'js_composer' ), 'param_name' => 'el_width', 'value' => getVcShared( 'separator widths' ), 'description' => __( 'Select separator width (percentage).', 'js_composer' ), ), vc_map_add_css_animation(), array( 'type' => 'textfield', 'heading' => __( 'Extra class name', 'js_composer' ), 'param_name' => 'el_class', 'description' => __( 'Style particular content element differently - add a class name and refer to it in custom CSS.', 'js_composer' ), ), array( 'type' => 'css_editor', 'heading' => __( 'CSS box', 'js_composer' ), 'param_name' => 'css', 'group' => __( 'Design Options', 'js_composer' ), ), ), ); content/shortcode-vc-progress-bar.php 0000666 00000012737 15213303514 0013746 0 ustar 00 <?php if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } return array( 'name' => __( 'Progress Bar', 'js_composer' ), 'base' => 'vc_progress_bar', 'icon' => 'icon-wpb-graph', 'category' => __( 'Content', 'js_composer' ), 'description' => __( 'Animated progress bar', 'js_composer' ), 'params' => array( array( 'type' => 'textfield', 'heading' => __( 'Widget title', 'js_composer' ), 'param_name' => 'title', 'description' => __( 'Enter text used as widget title (Note: located above content element).', 'js_composer' ), ), array( 'type' => 'param_group', 'heading' => __( 'Values', 'js_composer' ), 'param_name' => 'values', 'description' => __( 'Enter values for graph - value, title and color.', 'js_composer' ), 'value' => urlencode( json_encode( array( array( 'label' => __( 'Development', 'js_composer' ), 'value' => '90', ), array( 'label' => __( 'Design', 'js_composer' ), 'value' => '80', ), array( 'label' => __( 'Marketing', 'js_composer' ), 'value' => '70', ), ) ) ), 'params' => array( array( 'type' => 'textfield', 'heading' => __( 'Label', 'js_composer' ), 'param_name' => 'label', 'description' => __( 'Enter text used as title of bar.', 'js_composer' ), 'admin_label' => true, ), array( 'type' => 'textfield', 'heading' => __( 'Value', 'js_composer' ), 'param_name' => 'value', 'description' => __( 'Enter value of bar.', 'js_composer' ), 'admin_label' => true, ), array( 'type' => 'dropdown', 'heading' => __( 'Color', 'js_composer' ), 'param_name' => 'color', 'value' => array( __( 'Default', 'js_composer' ) => '', ) + array( __( 'Classic Grey', 'js_composer' ) => 'bar_grey', __( 'Classic Blue', 'js_composer' ) => 'bar_blue', __( 'Classic Turquoise', 'js_composer' ) => 'bar_turquoise', __( 'Classic Green', 'js_composer' ) => 'bar_green', __( 'Classic Orange', 'js_composer' ) => 'bar_orange', __( 'Classic Red', 'js_composer' ) => 'bar_red', __( 'Classic Black', 'js_composer' ) => 'bar_black', ) + getVcShared( 'colors-dashed' ) + array( __( 'Custom Color', 'js_composer' ) => 'custom', ), 'description' => __( 'Select single bar background color.', 'js_composer' ), 'admin_label' => true, 'param_holder_class' => 'vc_colored-dropdown', ), array( 'type' => 'colorpicker', 'heading' => __( 'Custom color', 'js_composer' ), 'param_name' => 'customcolor', 'description' => __( 'Select custom single bar background color.', 'js_composer' ), 'dependency' => array( 'element' => 'color', 'value' => array( 'custom' ), ), ), array( 'type' => 'colorpicker', 'heading' => __( 'Custom text color', 'js_composer' ), 'param_name' => 'customtxtcolor', 'description' => __( 'Select custom single bar text color.', 'js_composer' ), 'dependency' => array( 'element' => 'color', 'value' => array( 'custom' ), ), ), ), ), array( 'type' => 'textfield', 'heading' => __( 'Units', 'js_composer' ), 'param_name' => 'units', 'description' => __( 'Enter measurement units (Example: %, px, points, etc. Note: graph value and units will be appended to graph title).', 'js_composer' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Color', 'js_composer' ), 'param_name' => 'bgcolor', 'value' => array( __( 'Classic Grey', 'js_composer' ) => 'bar_grey', __( 'Classic Blue', 'js_composer' ) => 'bar_blue', __( 'Classic Turquoise', 'js_composer' ) => 'bar_turquoise', __( 'Classic Green', 'js_composer' ) => 'bar_green', __( 'Classic Orange', 'js_composer' ) => 'bar_orange', __( 'Classic Red', 'js_composer' ) => 'bar_red', __( 'Classic Black', 'js_composer' ) => 'bar_black', ) + getVcShared( 'colors-dashed' ) + array( __( 'Custom Color', 'js_composer' ) => 'custom', ), 'description' => __( 'Select bar background color.', 'js_composer' ), 'admin_label' => true, 'param_holder_class' => 'vc_colored-dropdown', ), array( 'type' => 'colorpicker', 'heading' => __( 'Bar custom background color', 'js_composer' ), 'param_name' => 'custombgcolor', 'description' => __( 'Select custom background color for bars.', 'js_composer' ), 'dependency' => array( 'element' => 'bgcolor', 'value' => array( 'custom' ), ), ), array( 'type' => 'colorpicker', 'heading' => __( 'Bar custom text color', 'js_composer' ), 'param_name' => 'customtxtcolor', 'description' => __( 'Select custom text color for bars.', 'js_composer' ), 'dependency' => array( 'element' => 'bgcolor', 'value' => array( 'custom' ), ), ), array( 'type' => 'checkbox', 'heading' => __( 'Options', 'js_composer' ), 'param_name' => 'options', 'value' => array( __( 'Add stripes', 'js_composer' ) => 'striped', __( 'Add animation (Note: visible only with striped bar).', 'js_composer' ) => 'animated', ), ), vc_map_add_css_animation(), array( 'type' => 'textfield', 'heading' => __( 'Extra class name', 'js_composer' ), 'param_name' => 'el_class', 'description' => __( 'Style particular content element differently - add a class name and refer to it in custom CSS.', 'js_composer' ), ), array( 'type' => 'css_editor', 'heading' => __( 'CSS box', 'js_composer' ), 'param_name' => 'css', 'group' => __( 'Design Options', 'js_composer' ), ), ), ); content/shortcode-vc-posts-slider.php 0000666 00000013761 15213303514 0013766 0 ustar 00 <?php if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } return array( 'name' => __( 'Posts Slider', 'js_composer' ), 'base' => 'vc_posts_slider', 'icon' => 'icon-wpb-slideshow', 'category' => __( 'Content', 'js_composer' ), 'description' => __( 'Slider with WP Posts', 'js_composer' ), 'params' => array( array( 'type' => 'textfield', 'heading' => __( 'Widget title', 'js_composer' ), 'param_name' => 'title', 'description' => __( 'Enter text used as widget title (Note: located above content element).', 'js_composer' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Slider type', 'js_composer' ), 'param_name' => 'type', 'admin_label' => true, 'value' => array( __( 'Flex slider fade', 'js_composer' ) => 'flexslider_fade', __( 'Flex slider slide', 'js_composer' ) => 'flexslider_slide', __( 'Nivo slider', 'js_composer' ) => 'nivo', ), 'description' => __( 'Select slider type.', 'js_composer' ), ), array( 'type' => 'textfield', 'heading' => __( 'Slider count', 'js_composer' ), 'param_name' => 'count', 'value' => 3, 'description' => __( 'Enter number of slides to display (Note: Enter "All" to display all slides).', 'js_composer' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Auto rotate', 'js_composer' ), 'param_name' => 'interval', 'value' => array( 3, 5, 10, 15, __( 'Disable', 'js_composer' ) => 0, ), 'description' => __( 'Auto rotate slides each X seconds.', 'js_composer' ), ), array( 'type' => 'posttypes', 'heading' => __( 'Post types', 'js_composer' ), 'param_name' => 'posttypes', 'description' => __( 'Select source for slider.', 'js_composer' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Description', 'js_composer' ), 'param_name' => 'slides_content', 'value' => array( __( 'No description', 'js_composer' ) => '', __( 'Teaser (Excerpt)', 'js_composer' ) => 'teaser', ), 'description' => __( 'Select source to use for description (Note: some sliders do not support it).', 'js_composer' ), 'dependency' => array( 'element' => 'type', 'value' => array( 'flexslider_fade', 'flexslider_slide', ), ), ), array( 'type' => 'checkbox', 'heading' => __( 'Output post title?', 'js_composer' ), 'param_name' => 'slides_title', 'description' => __( 'If selected, title will be printed before the teaser text.', 'js_composer' ), 'value' => array( __( 'Yes', 'js_composer' ) => true ), 'dependency' => array( 'element' => 'slides_content', 'value' => array( 'teaser' ), ), ), array( 'type' => 'dropdown', 'heading' => __( 'Link', 'js_composer' ), 'param_name' => 'link', 'value' => array( __( 'Link to post', 'js_composer' ) => 'link_post', __( 'Link to bigger image', 'js_composer' ) => 'link_image', __( 'Open custom links', 'js_composer' ) => 'custom_link', __( 'No link', 'js_composer' ) => 'link_no', ), 'description' => __( 'Link type.', 'js_composer' ), ), array( 'type' => 'exploded_textarea_safe', 'heading' => __( 'Custom links', 'js_composer' ), 'param_name' => 'custom_links', 'value' => site_url() . '/', 'dependency' => array( 'element' => 'link', 'value' => 'custom_link', ), 'description' => __( 'Enter links for each slide here. Divide links with linebreaks (Enter).', 'js_composer' ), ), array( 'type' => 'textfield', 'heading' => __( 'Thumbnail size', 'js_composer' ), 'param_name' => 'thumb_size', 'value' => 'medium', 'description' => __( 'Enter thumbnail size. Example: thumbnail, medium, large, full or other sizes defined by current theme. Alternatively enter image size in pixels: 200x100 (Width x Height) . ', 'js_composer' ), ), array( 'type' => 'textfield', 'heading' => __( 'Post/Page IDs', 'js_composer' ), 'param_name' => 'posts_in', 'description' => __( 'Enter page/posts IDs to display only those records (Note: separate values by commas (,)). Use this field in conjunction with "Post types" field.', 'js_composer' ), ), array( 'type' => 'exploded_textarea_safe', 'heading' => __( 'Categories', 'js_composer' ), 'param_name' => 'categories', 'description' => __( 'Enter categories by names to narrow output (Note: only listed categories will be displayed, divide categories with linebreak (Enter)).', 'js_composer' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Order by', 'js_composer' ), 'param_name' => 'orderby', 'value' => array( '', __( 'Date', 'js_composer' ) => 'date', __( 'ID', 'js_composer' ) => 'ID', __( 'Author', 'js_composer' ) => 'author', __( 'Title', 'js_composer' ) => 'title', __( 'Modified', 'js_composer' ) => 'modified', __( 'Random', 'js_composer' ) => 'rand', __( 'Comment count', 'js_composer' ) => 'comment_count', __( 'Menu order', 'js_composer' ) => 'menu_order', ), 'description' => sprintf( __( 'Select how to sort retrieved posts. More at %s.', 'js_composer' ), '<a href="http://codex.wordpress.org/Class_Reference/WP_Query#Order_.26_Orderby_Parameters" target="_blank">WordPress codex page</a>' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Sort order', 'js_composer' ), 'param_name' => 'order', 'value' => array( __( 'Descending', 'js_composer' ) => 'DESC', __( 'Ascending', 'js_composer' ) => 'ASC', ), 'description' => sprintf( __( 'Select ascending or descending order. More at %s.', 'js_composer' ), '<a href="http://codex.wordpress.org/Class_Reference/WP_Query#Order_.26_Orderby_Parameters" target="_blank">WordPress codex page</a>' ), ), array( 'type' => 'textfield', 'heading' => __( 'Extra class name', 'js_composer' ), 'param_name' => 'el_class', 'description' => __( 'Style particular content element differently - add a class name and refer to it in custom CSS.', 'js_composer' ), ), array( 'type' => 'css_editor', 'heading' => __( 'CSS box', 'js_composer' ), 'param_name' => 'css', 'group' => __( 'Design Options', 'js_composer' ), ), ), ); content/shortcode-vc-line-chart.php 0000666 00000010576 15213303514 0013365 0 ustar 00 <?php if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } return array( 'name' => __( 'Line Chart', 'js_composer' ), 'base' => 'vc_line_chart', 'class' => '', 'icon' => 'icon-wpb-vc-line-chart', 'category' => __( 'Content', 'js_composer' ), 'description' => __( 'Line and Bar charts', 'js_composer' ), 'params' => array( array( 'type' => 'textfield', 'heading' => __( 'Widget title', 'js_composer' ), 'param_name' => 'title', 'description' => __( 'Enter text used as widget title (Note: located above content element).', 'js_composer' ), 'admin_label' => true, ), array( 'type' => 'dropdown', 'heading' => __( 'Design', 'js_composer' ), 'param_name' => 'type', 'value' => array( __( 'Line', 'js_composer' ) => 'line', __( 'Bar', 'js_composer' ) => 'bar', ), 'std' => 'bar', 'description' => __( 'Select type of chart.', 'js_composer' ), 'admin_label' => true, ), array( 'type' => 'dropdown', 'heading' => __( 'Style', 'js_composer' ), 'description' => __( 'Select chart color style.', 'js_composer' ), 'param_name' => 'style', 'value' => array( __( 'Flat', 'js_composer' ) => 'flat', __( 'Modern', 'js_composer' ) => 'modern', __( 'Custom', 'js_composer' ) => 'custom', ), 'dependency' => array( 'callback' => 'vcChartCustomColorDependency', ), ), array( 'type' => 'checkbox', 'heading' => __( 'Show legend?', 'js_composer' ), 'param_name' => 'legend', 'description' => __( 'If checked, chart will have legend.', 'js_composer' ), 'value' => array( __( 'Yes', 'js_composer' ) => 'yes' ), 'std' => 'yes', ), array( 'type' => 'checkbox', 'heading' => __( 'Show hover values?', 'js_composer' ), 'param_name' => 'tooltips', 'description' => __( 'If checked, chart will show values on hover.', 'js_composer' ), 'value' => array( __( 'Yes', 'js_composer' ) => 'yes' ), 'std' => 'yes', ), array( 'type' => 'textfield', 'heading' => __( 'X-axis values', 'js_composer' ), 'param_name' => 'x_values', 'description' => __( 'Enter values for axis (Note: separate values with ";").', 'js_composer' ), 'value' => 'JAN; FEB; MAR; APR; MAY; JUN; JUL; AUG', ), array( 'type' => 'param_group', 'heading' => __( 'Values', 'js_composer' ), 'param_name' => 'values', 'value' => urlencode( json_encode( array( array( 'title' => __( 'One', 'js_composer' ), 'y_values' => '10; 15; 20; 25; 27; 25; 23; 25', 'color' => 'blue', ), array( 'title' => __( 'Two', 'js_composer' ), 'y_values' => '25; 18; 16; 17; 20; 25; 30; 35', 'color' => 'pink', ), ) ) ), 'params' => array( array( 'type' => 'textfield', 'heading' => __( 'Title', 'js_composer' ), 'param_name' => 'title', 'description' => __( 'Enter title for chart dataset.', 'js_composer' ), 'admin_label' => true, ), array( 'type' => 'textfield', 'heading' => __( 'Y-axis values', 'js_composer' ), 'param_name' => 'y_values', 'description' => __( 'Enter values for axis (Note: separate values with ";").', 'js_composer' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Color', 'js_composer' ), 'param_name' => 'color', 'value' => getVcShared( 'colors-dashed' ), 'description' => __( 'Select chart color.', 'js_composer' ), 'param_holder_class' => 'vc_colored-dropdown', ), array( 'type' => 'colorpicker', 'heading' => __( 'Custom color', 'js_composer' ), 'param_name' => 'custom_color', 'description' => __( 'Select custom chart color.', 'js_composer' ), ), ), 'callbacks' => array( 'after_add' => 'vcChartParamAfterAddCallback', ), ), array( 'type' => 'dropdown', 'heading' => __( 'Animation', 'js_composer' ), 'description' => __( 'Select animation style.', 'js_composer' ), 'param_name' => 'animation', 'value' => getVcShared( 'animation styles' ), 'std' => 'easeinOutCubic', ), vc_map_add_css_animation(), array( 'type' => 'textfield', 'heading' => __( 'Extra class name', 'js_composer' ), 'param_name' => 'el_class', 'description' => __( 'Style particular content element differently - add a class name and refer to it in custom CSS.', 'js_composer' ), ), array( 'type' => 'css_editor', 'heading' => __( 'CSS box', 'js_composer' ), 'param_name' => 'css', 'group' => __( 'Design Options', 'js_composer' ), ), ), ); content/shortcode-vc-column-text.php 0000666 00000002224 15213303514 0013605 0 ustar 00 <?php if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } return array( 'name' => __( 'Text Block', 'js_composer' ), 'icon' => 'icon-wpb-layer-shape-text', 'wrapper_class' => 'clearfix', 'category' => __( 'Content', 'js_composer' ), 'description' => __( 'A block of text with WYSIWYG editor', 'js_composer' ), 'params' => array( array( 'type' => 'textarea_html', 'holder' => 'div', 'heading' => __( 'Text', 'js_composer' ), 'param_name' => 'content', 'value' => __( '<p>I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.</p>', 'js_composer' ), ), vc_map_add_css_animation(), array( 'type' => 'textfield', 'heading' => __( 'Extra class name', 'js_composer' ), 'param_name' => 'el_class', 'description' => __( 'Style particular content element differently - add a class name and refer to it in custom CSS.', 'js_composer' ), ), array( 'type' => 'css_editor', 'heading' => __( 'CSS box', 'js_composer' ), 'param_name' => 'css', 'group' => __( 'Design Options', 'js_composer' ), ), ), ); content/shortcode-vc-text-separator.php 0000666 00000010443 15213303514 0014312 0 ustar 00 <?php if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } require_once 'vc-icon-element.php'; $icon_params = vc_icon_element_params(); /* Separator (Divider) ---------------------------------------------------------- */ $icons_params = vc_map_integrate_shortcode( $icon_params, 'i_', __( 'Icon', 'js_composer' ), array( 'exclude' => array( 'align', 'css', 'el_class', 'link', 'css_animation', ), // we need only type, icon_fontawesome, icon_blabla..., NOT color and etc ), array( 'element' => 'add_icon', 'value' => 'true', ) ); // populate integrated vc_icons params. if ( is_array( $icons_params ) && ! empty( $icons_params ) ) { foreach ( $icons_params as $key => $param ) { if ( is_array( $param ) && ! empty( $param ) ) { if ( isset( $param['admin_label'] ) ) { // remove admin label unset( $icons_params[ $key ]['admin_label'] ); } } } } return array( 'name' => __( 'Separator with Text', 'js_composer' ), 'base' => 'vc_text_separator', 'icon' => 'icon-wpb-ui-separator-label', 'category' => __( 'Content', 'js_composer' ), 'description' => __( 'Horizontal separator line with heading', 'js_composer' ), 'params' => array_merge( array( array( 'type' => 'textfield', 'heading' => __( 'Title', 'js_composer' ), 'param_name' => 'title', 'holder' => 'div', 'value' => __( 'Title', 'js_composer' ), 'description' => __( 'Add text to separator.', 'js_composer' ), ), array( 'type' => 'checkbox', 'heading' => __( 'Add icon?', 'js_composer' ), 'param_name' => 'add_icon', ), ), $icons_params, array( array( 'type' => 'dropdown', 'heading' => __( 'Title position', 'js_composer' ), 'param_name' => 'title_align', 'value' => array( __( 'Center', 'js_composer' ) => 'separator_align_center', __( 'Left', 'js_composer' ) => 'separator_align_left', __( 'Right', 'js_composer' ) => 'separator_align_right', ), 'description' => __( 'Select title location.', 'js_composer' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Separator alignment', 'js_composer' ), 'param_name' => 'align', 'value' => array( __( 'Center', 'js_composer' ) => 'align_center', __( 'Left', 'js_composer' ) => 'align_left', __( 'Right', 'js_composer' ) => 'align_right', ), 'description' => __( 'Select separator alignment.', 'js_composer' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Color', 'js_composer' ), 'param_name' => 'color', 'value' => array_merge( getVcShared( 'colors' ), array( __( 'Custom color', 'js_composer' ) => 'custom' ) ), 'std' => 'grey', 'description' => __( 'Select color of separator.', 'js_composer' ), 'param_holder_class' => 'vc_colored-dropdown', ), array( 'type' => 'colorpicker', 'heading' => __( 'Custom Color', 'js_composer' ), 'param_name' => 'accent_color', 'description' => __( 'Custom separator color for your element.', 'js_composer' ), 'dependency' => array( 'element' => 'color', 'value' => array( 'custom' ), ), ), array( 'type' => 'dropdown', 'heading' => __( 'Style', 'js_composer' ), 'param_name' => 'style', 'value' => getVcShared( 'separator styles' ), 'description' => __( 'Separator display style.', 'js_composer' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Border width', 'js_composer' ), 'param_name' => 'border_width', 'value' => getVcShared( 'separator border widths' ), 'description' => __( 'Select border width (pixels).', 'js_composer' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Element width', 'js_composer' ), 'param_name' => 'el_width', 'value' => getVcShared( 'separator widths' ), 'description' => __( 'Separator element width in percents.', 'js_composer' ), ), vc_map_add_css_animation(), array( 'type' => 'textfield', 'heading' => __( 'Extra class name', 'js_composer' ), 'param_name' => 'el_class', 'description' => __( 'Style particular content element differently - add a class name and refer to it in custom CSS.', 'js_composer' ), ), array( 'type' => 'hidden', 'param_name' => 'layout', 'value' => 'separator_with_text', ), array( 'type' => 'css_editor', 'heading' => __( 'CSS box', 'js_composer' ), 'param_name' => 'css', 'group' => __( 'Design Options', 'js_composer' ), ), ) ), 'js_view' => 'VcTextSeparatorView', ); content/shortcode-vc-custom-heading.php 0000666 00000000266 15213303514 0014241 0 ustar 00 <?php if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } require_once vc_path_dir( 'CONFIG_DIR', 'content/vc-custom-heading-element.php' ); return vc_custom_heading_element_params(); content/shortcode-vc-icon.php 0000666 00000000175 15213303514 0012261 0 ustar 00 <?php if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } require_once 'vc-icon-element.php'; return vc_icon_element_params(); content/vc-custom-heading-element.php 0000666 00000006577 15213303514 0013713 0 ustar 00 <?php if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } function vc_custom_heading_element_params() { return array( 'name' => __( 'Custom Heading', 'js_composer' ), 'base' => 'vc_custom_heading', 'icon' => 'icon-wpb-ui-custom_heading', 'show_settings_on_create' => true, 'category' => __( 'Content', 'js_composer' ), 'description' => __( 'Text with Google fonts', 'js_composer' ), 'params' => array( array( 'type' => 'dropdown', 'heading' => __( 'Text source', 'js_composer' ), 'param_name' => 'source', 'value' => array( __( 'Custom text', 'js_composer' ) => '', __( 'Post or Page Title', 'js_composer' ) => 'post_title', ), 'std' => '', 'description' => __( 'Select text source.', 'js_composer' ), ), array( 'type' => 'textarea', 'heading' => __( 'Text', 'js_composer' ), 'param_name' => 'text', 'admin_label' => true, 'value' => __( 'This is custom heading element', 'js_composer' ), 'description' => __( 'Note: If you are using non-latin characters be sure to activate them under Settings/Visual Composer/General Settings.', 'js_composer' ), 'dependency' => array( 'element' => 'source', 'is_empty' => true, ), ), array( 'type' => 'vc_link', 'heading' => __( 'URL (Link)', 'js_composer' ), 'param_name' => 'link', 'description' => __( 'Add link to custom heading.', 'js_composer' ), // compatible with btn2 and converted from href{btn1} ), array( 'type' => 'font_container', 'param_name' => 'font_container', 'value' => 'tag:h2|text_align:left', 'settings' => array( 'fields' => array( 'tag' => 'h2', // default value h2 'text_align', 'font_size', 'line_height', 'color', 'tag_description' => __( 'Select element tag.', 'js_composer' ), 'text_align_description' => __( 'Select text alignment.', 'js_composer' ), 'font_size_description' => __( 'Enter font size.', 'js_composer' ), 'line_height_description' => __( 'Enter line height.', 'js_composer' ), 'color_description' => __( 'Select heading color.', 'js_composer' ), ), ), ), array( 'type' => 'checkbox', 'heading' => __( 'Use theme default font family?', 'js_composer' ), 'param_name' => 'use_theme_fonts', 'value' => array( __( 'Yes', 'js_composer' ) => 'yes' ), 'description' => __( 'Use font family from the theme.', 'js_composer' ), ), array( 'type' => 'google_fonts', 'param_name' => 'google_fonts', 'value' => 'font_family:Abril%20Fatface%3Aregular|font_style:400%20regular%3A400%3Anormal', 'settings' => array( 'fields' => array( 'font_family_description' => __( 'Select font family.', 'js_composer' ), 'font_style_description' => __( 'Select font styling.', 'js_composer' ), ), ), 'dependency' => array( 'element' => 'use_theme_fonts', 'value_not_equal_to' => 'yes', ), ), vc_map_add_css_animation(), array( 'type' => 'textfield', 'heading' => __( 'Extra class name', 'js_composer' ), 'param_name' => 'el_class', 'description' => __( 'Style particular content element differently - add a class name and refer to it in custom CSS.', 'js_composer' ), ), array( 'type' => 'css_editor', 'heading' => __( 'CSS box', 'js_composer' ), 'param_name' => 'css', 'group' => __( 'Design Options', 'js_composer' ), ), ), ); } content/shortcode-vc-video.php 0000666 00000004727 15213303514 0012446 0 ustar 00 <?php if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } return array( 'name' => __( 'Video Player', 'js_composer' ), 'base' => 'vc_video', 'icon' => 'icon-wpb-film-youtube', 'category' => __( 'Content', 'js_composer' ), 'description' => __( 'Embed YouTube/Vimeo player', 'js_composer' ), 'params' => array( array( 'type' => 'textfield', 'heading' => __( 'Widget title', 'js_composer' ), 'param_name' => 'title', 'description' => __( 'Enter text used as widget title (Note: located above content element).', 'js_composer' ), ), array( 'type' => 'textfield', 'heading' => __( 'Video link', 'js_composer' ), 'param_name' => 'link', 'value' => 'https://vimeo.com/51589652', 'admin_label' => true, 'description' => sprintf( __( 'Enter link to video (Note: read more about available formats at WordPress <a href="%s" target="_blank">codex page</a>).', 'js_composer' ), 'http://codex.wordpress.org/Embeds#Okay.2C_So_What_Sites_Can_I_Embed_From.3F' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Video width', 'js_composer' ), 'param_name' => 'el_width', 'value' => array( '100%' => '100', '90%' => '90', '80%' => '80', '70%' => '70', '60%' => '60', '50%' => '50', '40%' => '40', '30%' => '30', '20%' => '20', '10%' => '10', ), 'description' => __( 'Select video width (percentage).', 'js_composer' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Video aspect ration', 'js_composer' ), 'param_name' => 'el_aspect', 'value' => array( '16:9' => '169', '4:3' => '43', '2.35:1' => '235', ), 'description' => __( 'Select video aspect ratio.', 'js_composer' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Alignment', 'js_composer' ), 'param_name' => 'align', 'description' => __( 'Select video alignment.', 'js_composer' ), 'value' => array( __( 'Left', 'js_composer' ) => 'left', __( 'Right', 'js_composer' ) => 'right', __( 'Center', 'js_composer' ) => 'center', ), ), vc_map_add_css_animation(), array( 'type' => 'textfield', 'heading' => __( 'Extra class name', 'js_composer' ), 'param_name' => 'el_class', 'description' => __( 'Style particular content element differently - add a class name and refer to it in custom CSS.', 'js_composer' ), ), array( 'type' => 'css_editor', 'heading' => __( 'CSS box', 'js_composer' ), 'param_name' => 'css', 'group' => __( 'Design Options', 'js_composer' ), ), ), ); content/shortcode-vc-single-image.php 0000666 00000015555 15213303514 0013702 0 ustar 00 <?php if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } return array( 'name' => __( 'Single Image', 'js_composer' ), 'base' => 'vc_single_image', 'icon' => 'icon-wpb-single-image', 'category' => __( 'Content', 'js_composer' ), 'description' => __( 'Simple image with CSS animation', 'js_composer' ), 'params' => array( array( 'type' => 'textfield', 'heading' => __( 'Widget title', 'js_composer' ), 'param_name' => 'title', 'description' => __( 'Enter text used as widget title (Note: located above content element).', 'js_composer' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Image source', 'js_composer' ), 'param_name' => 'source', 'value' => array( __( 'Media library', 'js_composer' ) => 'media_library', __( 'External link', 'js_composer' ) => 'external_link', __( 'Featured Image', 'js_composer' ) => 'featured_image', ), 'std' => 'media_library', 'description' => __( 'Select image source.', 'js_composer' ), ), array( 'type' => 'attach_image', 'heading' => __( 'Image', 'js_composer' ), 'param_name' => 'image', 'value' => '', 'description' => __( 'Select image from media library.', 'js_composer' ), 'dependency' => array( 'element' => 'source', 'value' => 'media_library', ), 'admin_label' => true, ), array( 'type' => 'textfield', 'heading' => __( 'External link', 'js_composer' ), 'param_name' => 'custom_src', 'description' => __( 'Select external link.', 'js_composer' ), 'dependency' => array( 'element' => 'source', 'value' => 'external_link', ), 'admin_label' => true, ), array( 'type' => 'textfield', 'heading' => __( 'Image size', 'js_composer' ), 'param_name' => 'img_size', 'value' => 'thumbnail', 'description' => __( 'Enter image size (Example: "thumbnail", "medium", "large", "full" or other sizes defined by theme). Alternatively enter size in pixels (Example: 200x100 (Width x Height)).', 'js_composer' ), 'dependency' => array( 'element' => 'source', 'value' => array( 'media_library', 'featured_image', ), ), ), array( 'type' => 'textfield', 'heading' => __( 'Image size', 'js_composer' ), 'param_name' => 'external_img_size', 'value' => '', 'description' => __( 'Enter image size in pixels. Example: 200x100 (Width x Height).', 'js_composer' ), 'dependency' => array( 'element' => 'source', 'value' => 'external_link', ), ), array( 'type' => 'textfield', 'heading' => __( 'Caption', 'js_composer' ), 'param_name' => 'caption', 'description' => __( 'Enter text for image caption.', 'js_composer' ), 'dependency' => array( 'element' => 'source', 'value' => 'external_link', ), ), array( 'type' => 'checkbox', 'heading' => __( 'Add caption?', 'js_composer' ), 'param_name' => 'add_caption', 'description' => __( 'Add image caption.', 'js_composer' ), 'value' => array( __( 'Yes', 'js_composer' ) => 'yes' ), 'dependency' => array( 'element' => 'source', 'value' => array( 'media_library', 'featured_image', ), ), ), array( 'type' => 'dropdown', 'heading' => __( 'Image alignment', 'js_composer' ), 'param_name' => 'alignment', 'value' => array( __( 'Left', 'js_composer' ) => 'left', __( 'Right', 'js_composer' ) => 'right', __( 'Center', 'js_composer' ) => 'center', ), 'description' => __( 'Select image alignment.', 'js_composer' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Image style', 'js_composer' ), 'param_name' => 'style', 'value' => getVcShared( 'single image styles' ), 'description' => __( 'Select image display style.', 'js_comopser' ), 'dependency' => array( 'element' => 'source', 'value' => array( 'media_library', 'featured_image', ), ), ), array( 'type' => 'dropdown', 'heading' => __( 'Image style', 'js_composer' ), 'param_name' => 'external_style', 'value' => getVcShared( 'single image external styles' ), 'description' => __( 'Select image display style.', 'js_comopser' ), 'dependency' => array( 'element' => 'source', 'value' => 'external_link', ), ), array( 'type' => 'dropdown', 'heading' => __( 'Border color', 'js_composer' ), 'param_name' => 'border_color', 'value' => getVcShared( 'colors' ), 'std' => 'grey', 'dependency' => array( 'element' => 'style', 'value' => array( 'vc_box_border', 'vc_box_border_circle', 'vc_box_outline', 'vc_box_outline_circle', 'vc_box_border_circle_2', 'vc_box_outline_circle_2', ), ), 'description' => __( 'Border color.', 'js_composer' ), 'param_holder_class' => 'vc_colored-dropdown', ), array( 'type' => 'dropdown', 'heading' => __( 'Border color', 'js_composer' ), 'param_name' => 'external_border_color', 'value' => getVcShared( 'colors' ), 'std' => 'grey', 'dependency' => array( 'element' => 'external_style', 'value' => array( 'vc_box_border', 'vc_box_border_circle', 'vc_box_outline', 'vc_box_outline_circle', ), ), 'description' => __( 'Border color.', 'js_composer' ), 'param_holder_class' => 'vc_colored-dropdown', ), array( 'type' => 'dropdown', 'heading' => __( 'On click action', 'js_composer' ), 'param_name' => 'onclick', 'value' => array( __( 'None', 'js_composer' ) => '', __( 'Link to large image', 'js_composer' ) => 'img_link_large', __( 'Open prettyPhoto', 'js_composer' ) => 'link_image', __( 'Open custom link', 'js_composer' ) => 'custom_link', __( 'Zoom', 'js_composer' ) => 'zoom', ), 'description' => __( 'Select action for click action.', 'js_composer' ), 'std' => '', ), array( 'type' => 'href', 'heading' => __( 'Image link', 'js_composer' ), 'param_name' => 'link', 'description' => __( 'Enter URL if you want this image to have a link (Note: parameters like "mailto:" are also accepted).', 'js_composer' ), 'dependency' => array( 'element' => 'onclick', 'value' => 'custom_link', ), ), array( 'type' => 'dropdown', 'heading' => __( 'Link Target', 'js_composer' ), 'param_name' => 'img_link_target', 'value' => vc_target_param_list(), 'dependency' => array( 'element' => 'onclick', 'value' => array( 'custom_link', 'img_link_large', ), ), ), vc_map_add_css_animation(), array( 'type' => 'textfield', 'heading' => __( 'Extra class name', 'js_composer' ), 'param_name' => 'el_class', 'description' => __( 'Style particular content element differently - add a class name and refer to it in custom CSS.', 'js_composer' ), ), array( 'type' => 'css_editor', 'heading' => __( 'CSS box', 'js_composer' ), 'param_name' => 'css', 'group' => __( 'Design Options', 'js_composer' ), ), // backward compatibility. since 4.6 array( 'type' => 'hidden', 'param_name' => 'img_link_large', ), ), ); content/shortcode-vc-flickr.php 0000666 00000004321 15213303514 0012600 0 ustar 00 <?php if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } return array( 'base' => 'vc_flickr', 'name' => __( 'Flickr Widget', 'js_composer' ), 'icon' => 'icon-wpb-flickr', 'category' => __( 'Content', 'js_composer' ), 'description' => __( 'Image feed from Flickr account', 'js_composer' ), 'params' => array( array( 'type' => 'textfield', 'heading' => __( 'Widget title', 'js_composer' ), 'param_name' => 'title', 'description' => __( 'Enter text used as widget title (Note: located above content element).', 'js_composer' ), ), array( 'type' => 'textfield', 'heading' => __( 'Flickr ID', 'js_composer' ), 'param_name' => 'flickr_id', 'value' => '95572727@N00', 'admin_label' => true, 'description' => sprintf( __( 'To find your flickID visit %s.', 'js_composer' ), '<a href="http://idgettr.com/" target="_blank">idGettr</a>' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Number of photos', 'js_composer' ), 'param_name' => 'count', 'value' => array( 9, 8, 7, 6, 5, 4, 3, 2, 1, ), 'description' => __( 'Select number of photos to display.', 'js_composer' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Type', 'js_composer' ), 'param_name' => 'type', 'value' => array( __( 'User', 'js_composer' ) => 'user', __( 'Group', 'js_composer' ) => 'group', ), 'description' => __( 'Select photo stream type.', 'js_composer' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Display order', 'js_composer' ), 'param_name' => 'display', 'value' => array( __( 'Latest first', 'js_composer' ) => 'latest', __( 'Random', 'js_composer' ) => 'random', ), 'description' => __( 'Select photo display order.', 'js_composer' ), ), vc_map_add_css_animation(), array( 'type' => 'textfield', 'heading' => __( 'Extra class name', 'js_composer' ), 'param_name' => 'el_class', 'description' => __( 'Style particular content element differently - add a class name and refer to it in custom CSS.', 'js_composer' ), ), array( 'type' => 'css_editor', 'heading' => __( 'CSS box', 'js_composer' ), 'param_name' => 'css', 'group' => __( 'Design Options', 'js_composer' ), ), ), ); content/shortcode-vc-empty-space.php 0000666 00000002061 15213303514 0013554 0 ustar 00 <?php if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } return array( 'name' => __( 'Empty Space', 'js_composer' ), 'base' => 'vc_empty_space', 'icon' => 'icon-wpb-ui-empty_space', 'show_settings_on_create' => true, 'category' => __( 'Content', 'js_composer' ), 'description' => __( 'Blank space with custom height', 'js_composer' ), 'params' => array( array( 'type' => 'textfield', 'heading' => __( 'Height', 'js_composer' ), 'param_name' => 'height', 'value' => '32px', 'admin_label' => true, 'description' => __( 'Enter empty space height (Note: CSS measurement units allowed).', 'js_composer' ), ), array( 'type' => 'textfield', 'heading' => __( 'Extra class name', 'js_composer' ), 'param_name' => 'el_class', 'description' => __( 'Style particular content element differently - add a class name and refer to it in custom CSS.', 'js_composer' ), ), array( 'type' => 'css_editor', 'heading' => __( 'CSS box', 'js_composer' ), 'param_name' => 'css', 'group' => __( 'Design Options', 'js_composer' ), ), ), ); content/shortcode-vc-images-carousel.php 0000666 00000011713 15213303514 0014411 0 ustar 00 <?php if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } return array( 'name' => __( 'Image Carousel', 'js_composer' ), 'base' => 'vc_images_carousel', 'icon' => 'icon-wpb-images-carousel', 'category' => __( 'Content', 'js_composer' ), 'description' => __( 'Animated carousel with images', 'js_composer' ), 'params' => array( array( 'type' => 'textfield', 'heading' => __( 'Widget title', 'js_composer' ), 'param_name' => 'title', 'description' => __( 'Enter text used as widget title (Note: located above content element).', 'js_composer' ), ), array( 'type' => 'attach_images', 'heading' => __( 'Images', 'js_composer' ), 'param_name' => 'images', 'value' => '', 'description' => __( 'Select images from media library.', 'js_composer' ), ), array( 'type' => 'textfield', 'heading' => __( 'Carousel size', 'js_composer' ), 'param_name' => 'img_size', 'value' => 'thumbnail', 'description' => __( 'Enter image size. Example: thumbnail, medium, large, full or other sizes defined by current theme. Alternatively enter image size in pixels: 200x100 (Width x Height). Leave empty to use "thumbnail" size. If used slides per view, this will be used to define carousel wrapper size.', 'js_composer' ), ), array( 'type' => 'dropdown', 'heading' => __( 'On click action', 'js_composer' ), 'param_name' => 'onclick', 'value' => array( __( 'Open prettyPhoto', 'js_composer' ) => 'link_image', __( 'None', 'js_composer' ) => 'link_no', __( 'Open custom links', 'js_composer' ) => 'custom_link', ), 'description' => __( 'Select action for click event.', 'js_composer' ), ), array( 'type' => 'exploded_textarea_safe', 'heading' => __( 'Custom links', 'js_composer' ), 'param_name' => 'custom_links', 'description' => __( 'Enter links for each slide (Note: divide links with linebreaks (Enter)).', 'js_composer' ), 'dependency' => array( 'element' => 'onclick', 'value' => array( 'custom_link' ), ), ), array( 'type' => 'dropdown', 'heading' => __( 'Custom link target', 'js_composer' ), 'param_name' => 'custom_links_target', 'description' => __( 'Select how to open custom links.', 'js_composer' ), 'dependency' => array( 'element' => 'onclick', 'value' => array( 'custom_link' ), ), 'value' => vc_target_param_list(), ), array( 'type' => 'dropdown', 'heading' => __( 'Slider orientation', 'js_composer' ), 'param_name' => 'mode', 'value' => array( __( 'Horizontal', 'js_composer' ) => 'horizontal', __( 'Vertical', 'js_composer' ) => 'vertical', ), 'description' => __( 'Select slider position (Note: this affects swiping orientation).', 'js_composer' ), ), array( 'type' => 'textfield', 'heading' => __( 'Slider speed', 'js_composer' ), 'param_name' => 'speed', 'value' => '5000', 'description' => __( 'Duration of animation between slides (in ms).', 'js_composer' ), ), array( 'type' => 'textfield', 'heading' => __( 'Slides per view', 'js_composer' ), 'param_name' => 'slides_per_view', 'value' => '1', 'description' => __( 'Enter number of slides to display at the same time.', 'js_composer' ), ), array( 'type' => 'checkbox', 'heading' => __( 'Slider autoplay', 'js_composer' ), 'param_name' => 'autoplay', 'description' => __( 'Enable autoplay mode.', 'js_composer' ), 'value' => array( __( 'Yes', 'js_composer' ) => 'yes' ), ), array( 'type' => 'checkbox', 'heading' => __( 'Hide pagination control', 'js_composer' ), 'param_name' => 'hide_pagination_control', 'description' => __( 'If checked, pagination controls will be hidden.', 'js_composer' ), 'value' => array( __( 'Yes', 'js_composer' ) => 'yes' ), ), array( 'type' => 'checkbox', 'heading' => __( 'Hide prev/next buttons', 'js_composer' ), 'param_name' => 'hide_prev_next_buttons', 'description' => __( 'If checked, prev/next buttons will be hidden.', 'js_composer' ), 'value' => array( __( 'Yes', 'js_composer' ) => 'yes' ), ), array( 'type' => 'checkbox', 'heading' => __( 'Partial view', 'js_composer' ), 'param_name' => 'partial_view', 'description' => __( 'If checked, part of the next slide will be visible.', 'js_composer' ), 'value' => array( __( 'Yes', 'js_composer' ) => 'yes' ), ), array( 'type' => 'checkbox', 'heading' => __( 'Slider loop', 'js_composer' ), 'param_name' => 'wrap', 'description' => __( 'Enable slider loop mode.', 'js_composer' ), 'value' => array( __( 'Yes', 'js_composer' ) => 'yes' ), ), vc_map_add_css_animation(), array( 'type' => 'textfield', 'heading' => __( 'Extra class name', 'js_composer' ), 'param_name' => 'el_class', 'description' => __( 'Style particular content element differently - add a class name and refer to it in custom CSS.', 'js_composer' ), ), array( 'type' => 'css_editor', 'heading' => __( 'CSS box', 'js_composer' ), 'param_name' => 'css', 'group' => __( 'Design Options', 'js_composer' ), ), ), ); content/shortcode-vc-toggle.php 0000666 00000007203 15213303514 0012611 0 ustar 00 <?php if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } require_once vc_path_dir( 'CONFIG_DIR', 'content/vc-custom-heading-element.php' ); $cta_custom_heading = vc_map_integrate_shortcode( vc_custom_heading_element_params(), 'custom_', __( 'Heading', 'js_composer' ), array( 'exclude' => array( 'source', 'text', 'css', 'link', ), ), array( 'element' => 'use_custom_heading', 'value' => 'true', ) ); $params = array_merge( array( array( 'type' => 'textfield', 'holder' => 'h4', 'class' => 'vc_toggle_title', 'heading' => __( 'Toggle title', 'js_composer' ), 'param_name' => 'title', 'value' => __( 'Toggle title', 'js_composer' ), 'description' => __( 'Enter title of toggle block.', 'js_composer' ), 'edit_field_class' => 'vc_col-sm-9', ), array( 'type' => 'checkbox', 'heading' => __( 'Use custom font?', 'js_composer' ), 'param_name' => 'use_custom_heading', 'description' => __( 'Enable Google fonts.', 'js_composer' ), 'edit_field_class' => 'vc_col-sm-3', ), array( 'type' => 'textarea_html', 'holder' => 'div', 'class' => 'vc_toggle_content', 'heading' => __( 'Toggle content', 'js_composer' ), 'param_name' => 'content', 'value' => __( '<p>Toggle content goes here, click edit button to change this text.</p>', 'js_composer' ), 'description' => __( 'Toggle block content.', 'js_composer' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Style', 'js_composer' ), 'param_name' => 'style', 'value' => getVcShared( 'toggle styles' ), 'description' => __( 'Select toggle design style.', 'js_composer' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Icon color', 'js_composer' ), 'param_name' => 'color', 'value' => array( __( 'Default', 'js_composer' ) => 'default' ) + getVcShared( 'colors' ), 'description' => __( 'Select icon color.', 'js_composer' ), 'param_holder_class' => 'vc_colored-dropdown', ), array( 'type' => 'dropdown', 'heading' => __( 'Size', 'js_composer' ), 'param_name' => 'size', 'value' => array_diff_key( getVcShared( 'sizes' ), array( 'Mini' => '' ) ), 'std' => 'md', 'description' => __( 'Select toggle size', 'js_composer' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Default state', 'js_composer' ), 'param_name' => 'open', 'value' => array( __( 'Closed', 'js_composer' ) => 'false', __( 'Open', 'js_composer' ) => 'true', ), 'description' => __( 'Select "Open" if you want toggle to be open by default.', 'js_composer' ), ), vc_map_add_css_animation(), array( 'type' => 'el_id', 'heading' => __( 'Element ID', 'js_composer' ), 'param_name' => 'el_id', 'description' => sprintf( __( 'Enter optional ID. Make sure it is unique, and it is valid as w3c specification: %s (Must not have spaces)', 'js_composer' ), '<a target="_blank" href="http://www.w3schools.com/tags/att_global_id.asp">' . __( 'link', 'js_composer' ) . '</a>' ), 'settings' => array( 'auto_generate' => true, ), ), array( 'type' => 'textfield', 'heading' => __( 'Extra class name', 'js_composer' ), 'param_name' => 'el_class', 'description' => __( 'Style particular content element differently - add a class name and refer to it in custom CSS.', 'js_composer' ), ), ), $cta_custom_heading, array( array( 'type' => 'css_editor', 'heading' => __( 'CSS box', 'js_composer' ), 'param_name' => 'css', 'group' => __( 'Design Options', 'js_composer' ), ), ) ); return array( 'name' => __( 'FAQ', 'js_composer' ), 'base' => 'vc_toggle', 'icon' => 'icon-wpb-toggle-small-expand', 'category' => __( 'Content', 'js_composer' ), 'description' => __( 'Toggle element for Q&A block', 'js_composer' ), 'params' => $params, 'js_view' => 'VcToggleView', ); content/shortcode-vc-gmaps.php 0000666 00000004154 15213303514 0012441 0 ustar 00 <?php if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } return array( 'name' => __( 'Google Maps', 'js_composer' ), 'base' => 'vc_gmaps', 'icon' => 'icon-wpb-map-pin', 'category' => __( 'Content', 'js_composer' ), 'description' => __( 'Map block', 'js_composer' ), 'params' => array( array( 'type' => 'textfield', 'heading' => __( 'Widget title', 'js_composer' ), 'param_name' => 'title', 'description' => __( 'Enter text used as widget title (Note: located above content element).', 'js_composer' ), ), array( 'type' => 'textarea_safe', 'heading' => __( 'Map embed iframe', 'js_composer' ), 'param_name' => 'link', 'value' => '<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d6304.829986131271!2d-122.4746968033092!3d37.80374752160443!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x808586e6302615a1%3A0x86bd130251757c00!2sStorey+Ave%2C+San+Francisco%2C+CA+94129!5e0!3m2!1sen!2sus!4v1435826432051" width="600" height="450" frameborder="0" style="border:0" allowfullscreen></iframe>', 'description' => sprintf( __( 'Visit %s to create your map (Step by step: 1) Find location 2) Click the cog symbol in the lower right corner and select "Share or embed map" 3) On modal window select "Embed map" 4) Copy iframe code and paste it).' ), '<a href="https://www.google.com/maps" target="_blank">' . __( 'Google maps', 'js_composer' ) . '</a>' ), ), array( 'type' => 'textfield', 'heading' => __( 'Map height', 'js_composer' ), 'param_name' => 'size', 'value' => 'standard', 'admin_label' => true, 'description' => __( 'Enter map height (in pixels or leave empty for responsive map).', 'js_composer' ), ), vc_map_add_css_animation(), array( 'type' => 'textfield', 'heading' => __( 'Extra class name', 'js_composer' ), 'param_name' => 'el_class', 'description' => __( 'Style particular content element differently - add a class name and refer to it in custom CSS.', 'js_composer' ), ), array( 'type' => 'css_editor', 'heading' => __( 'CSS box', 'js_composer' ), 'param_name' => 'css', 'group' => __( 'Design Options', 'js_composer' ), ), ), ); content/shortcode-vc-round-chart.php 0000666 00000012011 15213303514 0013547 0 ustar 00 <?php if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } return array( 'name' => __( 'Round Chart', 'js_composer' ), 'base' => 'vc_round_chart', 'class' => '', 'icon' => 'icon-wpb-vc-round-chart', 'category' => __( 'Content', 'js_composer' ), 'description' => __( 'Pie and Doughnat charts', 'js_composer' ), 'params' => array( array( 'type' => 'textfield', 'heading' => __( 'Widget title', 'js_composer' ), 'param_name' => 'title', 'description' => __( 'Enter text used as widget title (Note: located above content element).', 'js_composer' ), 'admin_label' => true, ), array( 'type' => 'dropdown', 'heading' => __( 'Design', 'js_composer' ), 'param_name' => 'type', 'value' => array( __( 'Pie', 'js_composer' ) => 'pie', __( 'Doughnut', 'js_composer' ) => 'doughnut', ), 'description' => __( 'Select type of chart.', 'js_composer' ), 'admin_label' => true, ), array( 'type' => 'dropdown', 'heading' => __( 'Style', 'js_composer' ), 'description' => __( 'Select chart color style.', 'js_composer' ), 'param_name' => 'style', 'value' => array( __( 'Flat', 'js_composer' ) => 'flat', __( 'Modern', 'js_composer' ) => 'modern', __( 'Custom', 'js_composer' ) => 'custom', ), 'dependency' => array( 'callback' => 'vcChartCustomColorDependency', ), ), array( 'type' => 'dropdown', 'heading' => __( 'Gap', 'js_composer' ), 'param_name' => 'stroke_width', 'value' => array( 0 => 0, 1 => 1, 2 => 2, 5 => 5, ), 'description' => __( 'Select gap size.', 'js_composer' ), 'std' => 2, ), array( 'type' => 'dropdown', 'heading' => __( 'Outline color', 'js_composer' ), 'param_name' => 'stroke_color', 'value' => getVcShared( 'colors-dashed' ) + array( __( 'Custom', 'js_composer' ) => 'custom' ), 'description' => __( 'Select outline color.', 'js_composer' ), 'param_holder_class' => 'vc_colored-dropdown', 'std' => 'white', 'dependency' => array( 'element' => 'stroke_width', 'value_not_equal_to' => '0', ), ), array( 'type' => 'colorpicker', 'heading' => __( 'Custom outline color', 'js_composer' ), 'param_name' => 'custom_stroke_color', 'description' => __( 'Select custom outline color.', 'js_composer' ), 'dependency' => array( 'element' => 'stroke_color', 'value' => array( 'custom' ), ), ), array( 'type' => 'checkbox', 'heading' => __( 'Show legend?', 'js_composer' ), 'param_name' => 'legend', 'description' => __( 'If checked, chart will have legend.', 'js_composer' ), 'value' => array( __( 'Yes', 'js_composer' ) => 'yes' ), 'std' => 'yes', ), array( 'type' => 'checkbox', 'heading' => __( 'Show hover values?', 'js_composer' ), 'param_name' => 'tooltips', 'description' => __( 'If checked, chart will show values on hover.', 'js_composer' ), 'value' => array( __( 'Yes', 'js_composer' ) => 'yes' ), 'std' => 'yes', ), array( 'type' => 'param_group', 'heading' => __( 'Values', 'js_composer' ), 'param_name' => 'values', 'value' => urlencode( json_encode( array( array( 'title' => __( 'One', 'js_composer' ), 'value' => '60', 'color' => 'blue', ), array( 'title' => __( 'Two', 'js_composer' ), 'value' => '40', 'color' => 'pink', ), ) ) ), 'params' => array( array( 'type' => 'textfield', 'heading' => __( 'Title', 'js_composer' ), 'param_name' => 'title', 'description' => __( 'Enter title for chart area.', 'js_composer' ), 'admin_label' => true, ), array( 'type' => 'textfield', 'heading' => __( 'Value', 'js_composer' ), 'param_name' => 'value', 'description' => __( 'Enter value for area.', 'js_composer' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Color', 'js_composer' ), 'param_name' => 'color', 'value' => getVcShared( 'colors-dashed' ), 'description' => __( 'Select area color.', 'js_composer' ), 'param_holder_class' => 'vc_colored-dropdown', ), array( 'type' => 'colorpicker', 'heading' => __( 'Custom color', 'js_composer' ), 'param_name' => 'custom_color', 'description' => __( 'Select custom area color.', 'js_composer' ), ), ), 'callbacks' => array( 'after_add' => 'vcChartParamAfterAddCallback', ), ), array( 'type' => 'dropdown', 'heading' => __( 'Animation', 'js_composer' ), 'description' => __( 'Select animation style.', 'js_composer' ), 'param_name' => 'animation', 'value' => getVcShared( 'animation styles' ), 'std' => 'easeinOutCubic', ), vc_map_add_css_animation(), array( 'type' => 'textfield', 'heading' => __( 'Extra class name', 'js_composer' ), 'param_name' => 'el_class', 'description' => __( 'Style particular content element differently - add a class name and refer to it in custom CSS.', 'js_composer' ), ), array( 'type' => 'css_editor', 'heading' => __( 'CSS box', 'js_composer' ), 'param_name' => 'css', 'group' => __( 'Design Options', 'js_composer' ), ), ), ); content/shortcode-vc-pie.php 0000666 00000004721 15213303514 0012107 0 ustar 00 <?php if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } return array( 'name' => __( 'Pie Chart', 'js_composer' ), 'base' => 'vc_pie', 'class' => '', 'icon' => 'icon-wpb-vc_pie', 'category' => __( 'Content', 'js_composer' ), 'description' => __( 'Animated pie chart', 'js_composer' ), 'params' => array( array( 'type' => 'textfield', 'heading' => __( 'Widget title', 'js_composer' ), 'param_name' => 'title', 'description' => __( 'Enter text used as widget title (Note: located above content element).', 'js_composer' ), 'admin_label' => true, ), array( 'type' => 'textfield', 'heading' => __( 'Value', 'js_composer' ), 'param_name' => 'value', 'description' => __( 'Enter value for graph (Note: choose range from 0 to 100).', 'js_composer' ), 'value' => '50', 'admin_label' => true, ), array( 'type' => 'textfield', 'heading' => __( 'Label value', 'js_composer' ), 'param_name' => 'label_value', 'description' => __( 'Enter label for pie chart (Note: leaving empty will set value from "Value" field).', 'js_composer' ), 'value' => '', ), array( 'type' => 'textfield', 'heading' => __( 'Units', 'js_composer' ), 'param_name' => 'units', 'description' => __( 'Enter measurement units (Example: %, px, points, etc. Note: graph value and units will be appended to graph title).', 'js_composer' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Color', 'js_composer' ), 'param_name' => 'color', 'value' => getVcShared( 'colors-dashed' ) + array( __( 'Custom', 'js_composer' ) => 'custom' ), 'description' => __( 'Select pie chart color.', 'js_composer' ), 'admin_label' => true, 'param_holder_class' => 'vc_colored-dropdown', 'std' => 'grey', ), array( 'type' => 'colorpicker', 'heading' => __( 'Custom color', 'js_composer' ), 'param_name' => 'custom_color', 'description' => __( 'Select custom color.', 'js_composer' ), 'dependency' => array( 'element' => 'color', 'value' => array( 'custom' ), ), ), vc_map_add_css_animation(), array( 'type' => 'textfield', 'heading' => __( 'Extra class name', 'js_composer' ), 'param_name' => 'el_class', 'description' => __( 'Style particular content element differently - add a class name and refer to it in custom CSS.', 'js_composer' ), ), array( 'type' => 'css_editor', 'heading' => __( 'CSS box', 'js_composer' ), 'param_name' => 'css', 'group' => __( 'Design Options', 'js_composer' ), ), ), ); content/vc-icon-element.php 0000666 00000020636 15213303514 0011724 0 ustar 00 <?php if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } function vc_icon_element_params() { return array( 'name' => __( 'Icon', 'js_composer' ), 'base' => 'vc_icon', 'icon' => 'icon-wpb-vc_icon', 'category' => __( 'Content', 'js_composer' ), 'description' => __( 'Eye catching icons from libraries', 'js_composer' ), 'params' => array( array( 'type' => 'dropdown', 'heading' => __( 'Icon library', 'js_composer' ), 'value' => array( __( 'Font Awesome', 'js_composer' ) => 'fontawesome', __( 'Open Iconic', 'js_composer' ) => 'openiconic', __( 'Typicons', 'js_composer' ) => 'typicons', __( 'Entypo', 'js_composer' ) => 'entypo', __( 'Linecons', 'js_composer' ) => 'linecons', __( 'Mono Social', 'js_composer' ) => 'monosocial', __( 'Material', 'js_composer' ) => 'material', ), 'admin_label' => true, 'param_name' => 'type', 'description' => __( 'Select icon library.', 'js_composer' ), ), array( 'type' => 'iconpicker', 'heading' => __( 'Icon', 'js_composer' ), 'param_name' => 'icon_fontawesome', 'value' => 'fa fa-adjust', // default value to backend editor admin_label 'settings' => array( 'emptyIcon' => false, // default true, display an "EMPTY" icon? 'iconsPerPage' => 4000, // default 100, how many icons per/page to display, we use (big number) to display all icons in single page ), 'dependency' => array( 'element' => 'type', 'value' => 'fontawesome', ), 'description' => __( 'Select icon from library.', 'js_composer' ), ), array( 'type' => 'iconpicker', 'heading' => __( 'Icon', 'js_composer' ), 'param_name' => 'icon_openiconic', 'value' => 'vc-oi vc-oi-dial', // default value to backend editor admin_label 'settings' => array( 'emptyIcon' => false, // default true, display an "EMPTY" icon? 'type' => 'openiconic', 'iconsPerPage' => 4000, // default 100, how many icons per/page to display ), 'dependency' => array( 'element' => 'type', 'value' => 'openiconic', ), 'description' => __( 'Select icon from library.', 'js_composer' ), ), array( 'type' => 'iconpicker', 'heading' => __( 'Icon', 'js_composer' ), 'param_name' => 'icon_typicons', 'value' => 'typcn typcn-adjust-brightness', // default value to backend editor admin_label 'settings' => array( 'emptyIcon' => false, // default true, display an "EMPTY" icon? 'type' => 'typicons', 'iconsPerPage' => 4000, // default 100, how many icons per/page to display ), 'dependency' => array( 'element' => 'type', 'value' => 'typicons', ), 'description' => __( 'Select icon from library.', 'js_composer' ), ), array( 'type' => 'iconpicker', 'heading' => __( 'Icon', 'js_composer' ), 'param_name' => 'icon_entypo', 'value' => 'entypo-icon entypo-icon-note', // default value to backend editor admin_label 'settings' => array( 'emptyIcon' => false, // default true, display an "EMPTY" icon? 'type' => 'entypo', 'iconsPerPage' => 4000, // default 100, how many icons per/page to display ), 'dependency' => array( 'element' => 'type', 'value' => 'entypo', ), ), array( 'type' => 'iconpicker', 'heading' => __( 'Icon', 'js_composer' ), 'param_name' => 'icon_linecons', 'value' => 'vc_li vc_li-heart', // default value to backend editor admin_label 'settings' => array( 'emptyIcon' => false, // default true, display an "EMPTY" icon? 'type' => 'linecons', 'iconsPerPage' => 4000, // default 100, how many icons per/page to display ), 'dependency' => array( 'element' => 'type', 'value' => 'linecons', ), 'description' => __( 'Select icon from library.', 'js_composer' ), ), array( 'type' => 'iconpicker', 'heading' => __( 'Icon', 'js_composer' ), 'param_name' => 'icon_monosocial', 'value' => 'vc-mono vc-mono-fivehundredpx', // default value to backend editor admin_label 'settings' => array( 'emptyIcon' => false, // default true, display an "EMPTY" icon? 'type' => 'monosocial', 'iconsPerPage' => 4000, // default 100, how many icons per/page to display ), 'dependency' => array( 'element' => 'type', 'value' => 'monosocial', ), 'description' => __( 'Select icon from library.', 'js_composer' ), ), array( 'type' => 'iconpicker', 'heading' => __( 'Icon', 'js_composer' ), 'param_name' => 'icon_material', 'value' => 'vc-material vc-material-cake', // default value to backend editor admin_label 'settings' => array( 'emptyIcon' => false, // default true, display an "EMPTY" icon? 'type' => 'material', 'iconsPerPage' => 4000, // default 100, how many icons per/page to display ), 'dependency' => array( 'element' => 'type', 'value' => 'material', ), 'description' => __( 'Select icon from library.', 'js_composer' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Icon color', 'js_composer' ), 'param_name' => 'color', 'value' => array_merge( getVcShared( 'colors' ), array( __( 'Custom color', 'js_composer' ) => 'custom' ) ), 'description' => __( 'Select icon color.', 'js_composer' ), 'param_holder_class' => 'vc_colored-dropdown', ), array( 'type' => 'colorpicker', 'heading' => __( 'Custom color', 'js_composer' ), 'param_name' => 'custom_color', 'description' => __( 'Select custom icon color.', 'js_composer' ), 'dependency' => array( 'element' => 'color', 'value' => 'custom', ), ), array( 'type' => 'dropdown', 'heading' => __( 'Background shape', 'js_composer' ), 'param_name' => 'background_style', 'value' => array( __( 'None', 'js_composer' ) => '', __( 'Circle', 'js_composer' ) => 'rounded', __( 'Square', 'js_composer' ) => 'boxed', __( 'Rounded', 'js_composer' ) => 'rounded-less', __( 'Outline Circle', 'js_composer' ) => 'rounded-outline', __( 'Outline Square', 'js_composer' ) => 'boxed-outline', __( 'Outline Rounded', 'js_composer' ) => 'rounded-less-outline', ), 'description' => __( 'Select background shape and style for icon.', 'js_composer' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Background color', 'js_composer' ), 'param_name' => 'background_color', 'value' => array_merge( getVcShared( 'colors' ), array( __( 'Custom color', 'js_composer' ) => 'custom' ) ), 'std' => 'grey', 'description' => __( 'Select background color for icon.', 'js_composer' ), 'param_holder_class' => 'vc_colored-dropdown', 'dependency' => array( 'element' => 'background_style', 'not_empty' => true, ), ), array( 'type' => 'colorpicker', 'heading' => __( 'Custom background color', 'js_composer' ), 'param_name' => 'custom_background_color', 'description' => __( 'Select custom icon background color.', 'js_composer' ), 'dependency' => array( 'element' => 'background_color', 'value' => 'custom', ), ), array( 'type' => 'dropdown', 'heading' => __( 'Size', 'js_composer' ), 'param_name' => 'size', 'value' => array_merge( getVcShared( 'sizes' ), array( 'Extra Large' => 'xl' ) ), 'std' => 'md', 'description' => __( 'Icon size.', 'js_composer' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Icon alignment', 'js_composer' ), 'param_name' => 'align', 'value' => array( __( 'Left', 'js_composer' ) => 'left', __( 'Right', 'js_composer' ) => 'right', __( 'Center', 'js_composer' ) => 'center', ), 'description' => __( 'Select icon alignment.', 'js_composer' ), ), array( 'type' => 'vc_link', 'heading' => __( 'URL (Link)', 'js_composer' ), 'param_name' => 'link', 'description' => __( 'Add link to icon.', 'js_composer' ), ), vc_map_add_css_animation(), array( 'type' => 'textfield', 'heading' => __( 'Extra class name', 'js_composer' ), 'param_name' => 'el_class', 'description' => __( 'Style particular content element differently - add a class name and refer to it in custom CSS.', 'js_composer' ), ), array( 'type' => 'css_editor', 'heading' => __( 'CSS box', 'js_composer' ), 'param_name' => 'css', 'group' => __( 'Design Options', 'js_composer' ), ), ), 'js_view' => 'VcIconElementView_Backend', ); } tta/shortcode-vc-tta-section.php 0000666 00000006227 15213303514 0012705 0 ustar 00 <?php if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } $parent_tag = vc_post_param( 'parent_tag', '' ); $include_icon_params = ( 'vc_tta_pageable' !== $parent_tag ); if ( $include_icon_params ) { require_once vc_path_dir( 'CONFIG_DIR', 'content/vc-icon-element.php' ); $icon_params = array( array( 'type' => 'checkbox', 'param_name' => 'add_icon', 'heading' => __( 'Add icon?', 'js_composer' ), 'description' => __( 'Add icon next to section title.', 'js_composer' ), ), array( 'type' => 'dropdown', 'param_name' => 'i_position', 'value' => array( __( 'Before title', 'js_composer' ) => 'left', __( 'After title', 'js_composer' ) => 'right', ), 'dependency' => array( 'element' => 'add_icon', 'value' => 'true', ), 'heading' => __( 'Icon position', 'js_composer' ), 'description' => __( 'Select icon position.', 'js_composer' ), ), ); $icon_params = array_merge( $icon_params, (array) vc_map_integrate_shortcode( vc_icon_element_params(), 'i_', '', array( // we need only type, icon_fontawesome, icon_.., NOT color and etc 'include_only_regex' => '/^(type|icon_\w*)/', ), array( 'element' => 'add_icon', 'value' => 'true', ) ) ); } else { $icon_params = array(); } $params = array_merge( array( array( 'type' => 'textfield', 'param_name' => 'title', 'heading' => __( 'Title', 'js_composer' ), 'description' => __( 'Enter section title (Note: you can leave it empty).', 'js_composer' ), ), array( 'type' => 'el_id', 'param_name' => 'tab_id', 'settings' => array( 'auto_generate' => true, ), 'heading' => __( 'Section ID', 'js_composer' ), 'description' => __( 'Enter section ID (Note: make sure it is unique and valid according to <a href="%s" target="_blank">w3c specification</a>).', 'js_composer' ), ), ), $icon_params, array( array( 'type' => 'textfield', 'heading' => __( 'Extra class name', 'js_composer' ), 'param_name' => 'el_class', 'description' => __( 'If you wish to style particular content element differently, then use this field to add a class name and then refer to it in your css file.', 'js_composer' ), ), ) ); return array( 'name' => __( 'Section', 'js_composer' ), 'base' => 'vc_tta_section', 'icon' => 'icon-wpb-ui-tta-section', 'allowed_container_element' => 'vc_row', 'is_container' => true, 'show_settings_on_create' => false, 'as_child' => array( 'only' => 'vc_tta_tour,vc_tta_tabs,vc_tta_accordion', ), 'category' => __( 'Content', 'js_composer' ), 'description' => __( 'Section for Tabs, Tours, Accordions.', 'js_composer' ), 'params' => $params, 'js_view' => 'VcBackendTtaSectionView', 'custom_markup' => ' <div class="vc_tta-panel-heading"> <h4 class="vc_tta-panel-title vc_tta-controls-icon-position-left"><a href="javascript:;" data-vc-target="[data-model-id=\'{{ model_id }}\']" data-vc-accordion data-vc-container=".vc_tta-container"><span class="vc_tta-title-text">{{ section_title }}</span><i class="vc_tta-controls-icon vc_tta-controls-icon-plus"></i></a></h4> </div> <div class="vc_tta-panel-body"> {{ editor_controls }} <div class="{{ container-class }}"> {{ content }} </div> </div>', 'default_content' => '', ); tta/shortcode-vc-tta-tour.php 0000666 00000016465 15213303514 0012237 0 ustar 00 <?php if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } return array( 'name' => __( 'Tour', 'js_composer' ), 'base' => 'vc_tta_tour', 'icon' => 'icon-wpb-ui-tab-content-vertical', 'is_container' => true, 'show_settings_on_create' => false, 'as_parent' => array( 'only' => 'vc_tta_section', ), 'category' => __( 'Content', 'js_composer' ), 'description' => __( 'Vertical tabbed content', 'js_composer' ), 'params' => array( array( 'type' => 'textfield', 'param_name' => 'title', 'heading' => __( 'Widget title', 'js_composer' ), 'description' => __( 'Enter text used as widget title (Note: located above content element).', 'js_composer' ), ), array( 'type' => 'dropdown', 'param_name' => 'style', 'value' => array( __( 'Classic', 'js_composer' ) => 'classic', __( 'Modern', 'js_composer' ) => 'modern', __( 'Flat', 'js_composer' ) => 'flat', __( 'Outline', 'js_composer' ) => 'outline', ), 'heading' => __( 'Style', 'js_composer' ), 'description' => __( 'Select tour display style.', 'js_composer' ), ), array( 'type' => 'dropdown', 'param_name' => 'shape', 'value' => array( __( 'Rounded', 'js_composer' ) => 'rounded', __( 'Square', 'js_composer' ) => 'square', __( 'Round', 'js_composer' ) => 'round', ), 'heading' => __( 'Shape', 'js_composer' ), 'description' => __( 'Select tour shape.', 'js_composer' ), ), array( 'type' => 'dropdown', 'param_name' => 'color', 'heading' => __( 'Color', 'js_composer' ), 'description' => __( 'Select tour color.', 'js_composer' ), 'value' => getVcShared( 'colors-dashed' ), 'std' => 'grey', 'param_holder_class' => 'vc_colored-dropdown', ), array( 'type' => 'checkbox', 'param_name' => 'no_fill_content_area', 'heading' => __( 'Do not fill content area?', 'js_composer' ), 'description' => __( 'Do not fill content area with color.', 'js_composer' ), ), array( 'type' => 'dropdown', 'param_name' => 'spacing', 'value' => array( __( 'None', 'js_composer' ) => '', '1px' => '1', '2px' => '2', '3px' => '3', '4px' => '4', '5px' => '5', '10px' => '10', '15px' => '15', '20px' => '20', '25px' => '25', '30px' => '30', '35px' => '35', ), 'heading' => __( 'Spacing', 'js_composer' ), 'description' => __( 'Select tour spacing.', 'js_composer' ), 'std' => '1', ), array( 'type' => 'dropdown', 'param_name' => 'gap', 'value' => array( __( 'None', 'js_composer' ) => '', '1px' => '1', '2px' => '2', '3px' => '3', '4px' => '4', '5px' => '5', '10px' => '10', '15px' => '15', '20px' => '20', '25px' => '25', '30px' => '30', '35px' => '35', ), 'heading' => __( 'Gap', 'js_composer' ), 'description' => __( 'Select tour gap.', 'js_composer' ), ), array( 'type' => 'dropdown', 'param_name' => 'tab_position', 'value' => array( __( 'Left', 'js_composer' ) => 'left', __( 'Right', 'js_composer' ) => 'right', ), 'heading' => __( 'Position', 'js_composer' ), 'description' => __( 'Select tour navigation position.', 'js_composer' ), ), array( 'type' => 'dropdown', 'param_name' => 'alignment', 'value' => array( __( 'Left', 'js_composer' ) => 'left', __( 'Right', 'js_composer' ) => 'right', __( 'Center', 'js_composer' ) => 'center', ), 'heading' => __( 'Alignment', 'js_composer' ), 'description' => __( 'Select tour section title alignment.', 'js_composer' ), ), array( 'type' => 'dropdown', 'param_name' => 'controls_size', 'value' => array( __( 'Auto', 'js_composer' ) => '', __( 'Extra large', 'js_composer' ) => 'xl', __( 'Large', 'js_composer' ) => 'lg', __( 'Medium', 'js_composer' ) => 'md', __( 'Small', 'js_composer' ) => 'sm', __( 'Extra small', 'js_composer' ) => 'xs', ), 'heading' => __( 'Navigation width', 'js_composer' ), 'description' => __( 'Select tour navigation width.', 'js_composer' ), ), array( 'type' => 'dropdown', 'param_name' => 'autoplay', 'value' => array( __( 'None', 'js_composer' ) => 'none', '1' => '1', '2' => '2', '3' => '3', '4' => '4', '5' => '5', '10' => '10', '20' => '20', '30' => '30', '40' => '40', '50' => '50', '60' => '60', ), 'std' => 'none', 'heading' => __( 'Autoplay', 'js_composer' ), 'description' => __( 'Select auto rotate for tour in seconds (Note: disabled by default).', 'js_composer' ), ), array( 'type' => 'textfield', 'param_name' => 'active_section', 'heading' => __( 'Active section', 'js_composer' ), 'value' => 1, 'description' => __( 'Enter active section number (Note: to have all sections closed on initial load enter non-existing number).', 'js_composer' ), ), array( 'type' => 'dropdown', 'param_name' => 'pagination_style', 'value' => array( __( 'None', 'js_composer' ) => '', __( 'Square Dots', 'js_composer' ) => 'outline-square', __( 'Radio Dots', 'js_composer' ) => 'outline-round', __( 'Point Dots', 'js_composer' ) => 'flat-round', __( 'Fill Square Dots', 'js_composer' ) => 'flat-square', __( 'Rounded Fill Square Dots', 'js_composer' ) => 'flat-rounded', ), 'heading' => __( 'Pagination style', 'js_composer' ), 'description' => __( 'Select pagination style.', 'js_composer' ), ), array( 'type' => 'dropdown', 'param_name' => 'pagination_color', 'value' => getVcShared( 'colors-dashed' ), 'heading' => __( 'Pagination color', 'js_composer' ), 'description' => __( 'Select pagination color.', 'js_composer' ), 'param_holder_class' => 'vc_colored-dropdown', 'std' => 'grey', 'dependency' => array( 'element' => 'pagination_style', 'not_empty' => true, ), ), vc_map_add_css_animation(), array( 'type' => 'textfield', 'heading' => __( 'Extra class name', 'js_composer' ), 'param_name' => 'el_class', 'description' => __( 'If you wish to style particular content element differently, then use this field to add a class name and then refer to it in your css file.', 'js_composer' ), ), array( 'type' => 'css_editor', 'heading' => __( 'CSS box', 'js_composer' ), 'param_name' => 'css', 'group' => __( 'Design Options', 'js_composer' ), ), ), 'js_view' => 'VcBackendTtaTourView', 'custom_markup' => ' <div class="vc_tta-container" data-vc-action="collapse"> <div class="vc_general vc_tta vc_tta-tabs vc_tta-color-backend-tabs-white vc_tta-style-flat vc_tta-shape-rounded vc_tta-spacing-1 vc_tta-tabs-position-left vc_tta-controls-align-left"> <div class="vc_tta-tabs-container">' . '<ul class="vc_tta-tabs-list">' . '<li class="vc_tta-tab" data-vc-tab data-vc-target-model-id="{{ model_id }}"><a href="javascript:;" data-vc-container=".vc_tta" data-vc-target="[data-model-id=\'{{ model_id }}\']" data-vc-target-model-id="{{ model_id }}" data-vc-tabs>{{ section_title }}</a></li>' . '</ul> </div> <div class="vc_tta-panels {{container-class}}"> {{ content }} </div> </div> </div>', 'default_content' => ' [vc_tta_section title="' . sprintf( '%s %d', __( 'Section', 'js_composer' ), 1 ) . '"][/vc_tta_section] [vc_tta_section title="' . sprintf( '%s %d', __( 'Section', 'js_composer' ), 2 ) . '"][/vc_tta_section] ', 'admin_enqueue_js' => array( vc_asset_url( 'lib/vc_tabs/vc-tabs.min.js' ), ), ); tta/shortcode-vc-tta-accordion.php 0000666 00000015244 15213303514 0013201 0 ustar 00 <?php if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } return array( 'name' => __( 'Accordion', 'js_composer' ), 'base' => 'vc_tta_accordion', 'icon' => 'icon-wpb-ui-accordion', 'is_container' => true, 'show_settings_on_create' => false, 'as_parent' => array( 'only' => 'vc_tta_section', ), 'category' => __( 'Content', 'js_composer' ), 'description' => __( 'Collapsible content panels', 'js_composer' ), 'params' => array( array( 'type' => 'textfield', 'param_name' => 'title', 'heading' => __( 'Widget title', 'js_composer' ), 'description' => __( 'Enter text used as widget title (Note: located above content element).', 'js_composer' ), ), array( 'type' => 'dropdown', 'param_name' => 'style', 'value' => array( __( 'Classic', 'js_composer' ) => 'classic', __( 'Modern', 'js_composer' ) => 'modern', __( 'Flat', 'js_composer' ) => 'flat', __( 'Outline', 'js_composer' ) => 'outline', ), 'heading' => __( 'Style', 'js_composer' ), 'description' => __( 'Select accordion display style.', 'js_composer' ), ), array( 'type' => 'dropdown', 'param_name' => 'shape', 'value' => array( __( 'Rounded', 'js_composer' ) => 'rounded', __( 'Square', 'js_composer' ) => 'square', __( 'Round', 'js_composer' ) => 'round', ), 'heading' => __( 'Shape', 'js_composer' ), 'description' => __( 'Select accordion shape.', 'js_composer' ), ), array( 'type' => 'dropdown', 'param_name' => 'color', 'value' => getVcShared( 'colors-dashed' ), 'std' => 'grey', 'heading' => __( 'Color', 'js_composer' ), 'description' => __( 'Select accordion color.', 'js_composer' ), 'param_holder_class' => 'vc_colored-dropdown', ), array( 'type' => 'checkbox', 'param_name' => 'no_fill', 'heading' => __( 'Do not fill content area?', 'js_composer' ), 'description' => __( 'Do not fill content area with color.', 'js_composer' ), ), array( 'type' => 'dropdown', 'param_name' => 'spacing', 'value' => array( __( 'None', 'js_composer' ) => '', '1px' => '1', '2px' => '2', '3px' => '3', '4px' => '4', '5px' => '5', '10px' => '10', '15px' => '15', '20px' => '20', '25px' => '25', '30px' => '30', '35px' => '35', ), 'heading' => __( 'Spacing', 'js_composer' ), 'description' => __( 'Select accordion spacing.', 'js_composer' ), ), array( 'type' => 'dropdown', 'param_name' => 'gap', 'value' => array( __( 'None', 'js_composer' ) => '', '1px' => '1', '2px' => '2', '3px' => '3', '4px' => '4', '5px' => '5', '10px' => '10', '15px' => '15', '20px' => '20', '25px' => '25', '30px' => '30', '35px' => '35', ), 'heading' => __( 'Gap', 'js_composer' ), 'description' => __( 'Select accordion gap.', 'js_composer' ), ), array( 'type' => 'dropdown', 'param_name' => 'c_align', 'value' => array( __( 'Left', 'js_composer' ) => 'left', __( 'Right', 'js_composer' ) => 'right', __( 'Center', 'js_composer' ) => 'center', ), 'heading' => __( 'Alignment', 'js_composer' ), 'description' => __( 'Select accordion section title alignment.', 'js_composer' ), ), array( 'type' => 'dropdown', 'param_name' => 'autoplay', 'value' => array( __( 'None', 'js_composer' ) => 'none', '1' => '1', '2' => '2', '3' => '3', '4' => '4', '5' => '5', '10' => '10', '20' => '20', '30' => '30', '40' => '40', '50' => '50', '60' => '60', ), 'std' => 'none', 'heading' => __( 'Autoplay', 'js_composer' ), 'description' => __( 'Select auto rotate for accordion in seconds (Note: disabled by default).', 'js_composer' ), ), array( 'type' => 'checkbox', 'param_name' => 'collapsible_all', 'heading' => __( 'Allow collapse all?', 'js_composer' ), 'description' => __( 'Allow collapse all accordion sections.', 'js_composer' ), ), // Control Icons array( 'type' => 'dropdown', 'param_name' => 'c_icon', 'value' => array( __( 'None', 'js_composer' ) => '', __( 'Chevron', 'js_composer' ) => 'chevron', __( 'Plus', 'js_composer' ) => 'plus', __( 'Triangle', 'js_composer' ) => 'triangle', ), 'std' => 'plus', 'heading' => __( 'Icon', 'js_composer' ), 'description' => __( 'Select accordion navigation icon.', 'js_composer' ), ), array( 'type' => 'dropdown', 'param_name' => 'c_position', 'value' => array( __( 'Left', 'js_composer' ) => 'left', __( 'Right', 'js_composer' ) => 'right', ), 'dependency' => array( 'element' => 'c_icon', 'not_empty' => true, ), 'heading' => __( 'Position', 'js_composer' ), 'description' => __( 'Select accordion navigation icon position.', 'js_composer' ), ), // Control Icons END array( 'type' => 'textfield', 'param_name' => 'active_section', 'heading' => __( 'Active section', 'js_composer' ), 'value' => 1, 'description' => __( 'Enter active section number (Note: to have all sections closed on initial load enter non-existing number).', 'js_composer' ), ), vc_map_add_css_animation(), array( 'type' => 'textfield', 'heading' => __( 'Extra class name', 'js_composer' ), 'param_name' => 'el_class', 'description' => __( 'If you wish to style particular content element differently, then use this field to add a class name and then refer to it in your css file.', 'js_composer' ), ), array( 'type' => 'css_editor', 'heading' => __( 'CSS box', 'js_composer' ), 'param_name' => 'css', 'group' => __( 'Design Options', 'js_composer' ), ), ), 'js_view' => 'VcBackendTtaAccordionView', 'custom_markup' => ' <div class="vc_tta-container" data-vc-action="collapseAll"> <div class="vc_general vc_tta vc_tta-accordion vc_tta-color-backend-accordion-white vc_tta-style-flat vc_tta-shape-rounded vc_tta-o-shape-group vc_tta-controls-align-left vc_tta-gap-2"> <div class="vc_tta-panels vc_clearfix {{container-class}}"> {{ content }} <div class="vc_tta-panel vc_tta-section-append"> <div class="vc_tta-panel-heading"> <h4 class="vc_tta-panel-title vc_tta-controls-icon-position-left"> <a href="javascript:;" aria-expanded="false" class="vc_tta-backend-add-control"> <span class="vc_tta-title-text">' . __( 'Add Section', 'js_composer' ) . '</span> <i class="vc_tta-controls-icon vc_tta-controls-icon-plus"></i> </a> </h4> </div> </div> </div> </div> </div>', 'default_content' => '[vc_tta_section title="' . sprintf( '%s %d', __( 'Section', 'js_composer' ), 1 ) . '"][/vc_tta_section][vc_tta_section title="' . sprintf( '%s %d', __( 'Section', 'js_composer' ), 2 ) . '"][/vc_tta_section]', ); tta/shortcode-vc-tta-pageable.php 0000666 00000011203 15213303514 0012767 0 ustar 00 <?php if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } return array( 'name' => __( 'Pageable Container', 'js_composer' ), 'base' => 'vc_tta_pageable', 'icon' => 'icon-wpb-ui-pageable', 'is_container' => true, 'show_settings_on_create' => false, 'as_parent' => array( 'only' => 'vc_tta_section', ), 'category' => __( 'Content', 'js_composer' ), 'description' => __( 'Pageable content container', 'js_composer' ), 'params' => array( array( 'type' => 'textfield', 'param_name' => 'title', 'heading' => __( 'Widget title', 'js_composer' ), 'description' => __( 'Enter text used as widget title (Note: located above content element).', 'js_composer' ), ), array( 'type' => 'hidden', 'param_name' => 'no_fill_content_area', 'std' => true, ), array( 'type' => 'dropdown', 'param_name' => 'autoplay', 'value' => array( __( 'None', 'js_composer' ) => 'none', '1' => '1', '2' => '2', '3' => '3', '4' => '4', '5' => '5', '10' => '10', '20' => '20', '30' => '30', '40' => '40', '50' => '50', '60' => '60', ), 'std' => 'none', 'heading' => __( 'Autoplay', 'js_composer' ), 'description' => __( 'Select auto rotate for pageable in seconds (Note: disabled by default).', 'js_composer' ), ), array( 'type' => 'textfield', 'param_name' => 'active_section', 'heading' => __( 'Active section', 'js_composer' ), 'value' => 1, 'description' => __( 'Enter active section number (Note: to have all sections closed on initial load enter non-existing number).', 'js_composer' ), ), array( 'type' => 'dropdown', 'param_name' => 'pagination_style', 'value' => array( __( 'None', 'js_composer' ) => '', __( 'Square Dots', 'js_composer' ) => 'outline-square', __( 'Radio Dots', 'js_composer' ) => 'outline-round', __( 'Point Dots', 'js_composer' ) => 'flat-round', __( 'Fill Square Dots', 'js_composer' ) => 'flat-square', __( 'Rounded Fill Square Dots', 'js_composer' ) => 'flat-rounded', ), 'heading' => __( 'Pagination style', 'js_composer' ), 'description' => __( 'Select pagination style.', 'js_composer' ), 'std' => 'outline-round', ), array( 'type' => 'dropdown', 'param_name' => 'pagination_color', 'value' => getVcShared( 'colors-dashed' ), 'heading' => __( 'Pagination color', 'js_composer' ), 'description' => __( 'Select pagination color.', 'js_composer' ), 'param_holder_class' => 'vc_colored-dropdown', 'std' => 'grey', 'dependency' => array( 'element' => 'pagination_style', 'not_empty' => true, ), ), array( 'type' => 'dropdown', 'param_name' => 'tab_position', 'value' => array( __( 'Top', 'js_composer' ) => 'top', __( 'Bottom', 'js_composer' ) => 'bottom', ), 'std' => 'bottom', 'heading' => __( 'Pagination position', 'js_composer' ), 'description' => __( 'Select pageable navigation position.', 'js_composer' ), ), vc_map_add_css_animation(), array( 'type' => 'textfield', 'heading' => __( 'Extra class name', 'js_composer' ), 'param_name' => 'el_class', 'description' => __( 'If you wish to style particular content element differently, then use this field to add a class name and then refer to it in your css file.', 'js_composer' ), ), array( 'type' => 'css_editor', 'heading' => __( 'CSS box', 'js_composer' ), 'param_name' => 'css', 'group' => __( 'Design Options', 'js_composer' ), ), ), 'js_view' => 'VcBackendTtaPageableView', 'custom_markup' => ' <div class="vc_tta-container vc_tta-o-non-responsive" data-vc-action="collapse"> <div class="vc_general vc_tta vc_tta-tabs vc_tta-pageable vc_tta-color-backend-tabs-white vc_tta-style-flat vc_tta-shape-rounded vc_tta-spacing-1 vc_tta-tabs-position-top vc_tta-controls-align-left"> <div class="vc_tta-tabs-container">' . '<ul class="vc_tta-tabs-list">' . '<li class="vc_tta-tab" data-vc-tab data-vc-target-model-id="{{ model_id }}" data-element_type="vc_tta_section"><a href="javascript:;" data-vc-tabs data-vc-container=".vc_tta" data-vc-target="[data-model-id=\'{{ model_id }}\']" data-vc-target-model-id="{{ model_id }}"><span class="vc_tta-title-text">{{ section_title }}</span></a></li>' . '</ul> </div> <div class="vc_tta-panels vc_clearfix {{container-class}}"> {{ content }} </div> </div> </div>', 'default_content' => ' [vc_tta_section title="' . sprintf( '%s %d', __( 'Section', 'js_composer' ), 1 ) . '"][/vc_tta_section] [vc_tta_section title="' . sprintf( '%s %d', __( 'Section', 'js_composer' ), 2 ) . '"][/vc_tta_section] ', 'admin_enqueue_js' => array( vc_asset_url( 'lib/vc_tabs/vc-tabs.min.js' ), ), ); tta/shortcode-vc-tta-tabs.php 0000666 00000015601 15213303514 0012166 0 ustar 00 <?php if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } return array( 'name' => __( 'Tabs', 'js_composer' ), 'base' => 'vc_tta_tabs', 'icon' => 'icon-wpb-ui-tab-content', 'is_container' => true, 'show_settings_on_create' => false, 'as_parent' => array( 'only' => 'vc_tta_section', ), 'category' => __( 'Content', 'js_composer' ), 'description' => __( 'Tabbed content', 'js_composer' ), 'params' => array( array( 'type' => 'textfield', 'param_name' => 'title', 'heading' => __( 'Widget title', 'js_composer' ), 'description' => __( 'Enter text used as widget title (Note: located above content element).', 'js_composer' ), ), array( 'type' => 'dropdown', 'param_name' => 'style', 'value' => array( __( 'Classic', 'js_composer' ) => 'classic', __( 'Modern', 'js_composer' ) => 'modern', __( 'Flat', 'js_composer' ) => 'flat', __( 'Outline', 'js_composer' ) => 'outline', ), 'heading' => __( 'Style', 'js_composer' ), 'description' => __( 'Select tabs display style.', 'js_composer' ), ), array( 'type' => 'dropdown', 'param_name' => 'shape', 'value' => array( __( 'Rounded', 'js_composer' ) => 'rounded', __( 'Square', 'js_composer' ) => 'square', __( 'Round', 'js_composer' ) => 'round', ), 'heading' => __( 'Shape', 'js_composer' ), 'description' => __( 'Select tabs shape.', 'js_composer' ), ), array( 'type' => 'dropdown', 'param_name' => 'color', 'heading' => __( 'Color', 'js_composer' ), 'description' => __( 'Select tabs color.', 'js_composer' ), 'value' => getVcShared( 'colors-dashed' ), 'std' => 'grey', 'param_holder_class' => 'vc_colored-dropdown', ), array( 'type' => 'checkbox', 'param_name' => 'no_fill_content_area', 'heading' => __( 'Do not fill content area?', 'js_composer' ), 'description' => __( 'Do not fill content area with color.', 'js_composer' ), ), array( 'type' => 'dropdown', 'param_name' => 'spacing', 'value' => array( __( 'None', 'js_composer' ) => '', '1px' => '1', '2px' => '2', '3px' => '3', '4px' => '4', '5px' => '5', '10px' => '10', '15px' => '15', '20px' => '20', '25px' => '25', '30px' => '30', '35px' => '35', ), 'heading' => __( 'Spacing', 'js_composer' ), 'description' => __( 'Select tabs spacing.', 'js_composer' ), 'std' => '1', ), array( 'type' => 'dropdown', 'param_name' => 'gap', 'value' => array( __( 'None', 'js_composer' ) => '', '1px' => '1', '2px' => '2', '3px' => '3', '4px' => '4', '5px' => '5', '10px' => '10', '15px' => '15', '20px' => '20', '25px' => '25', '30px' => '30', '35px' => '35', ), 'heading' => __( 'Gap', 'js_composer' ), 'description' => __( 'Select tabs gap.', 'js_composer' ), ), array( 'type' => 'dropdown', 'param_name' => 'tab_position', 'value' => array( __( 'Top', 'js_composer' ) => 'top', __( 'Bottom', 'js_composer' ) => 'bottom', ), 'heading' => __( 'Position', 'js_composer' ), 'description' => __( 'Select tabs navigation position.', 'js_composer' ), ), array( 'type' => 'dropdown', 'param_name' => 'alignment', 'value' => array( __( 'Left', 'js_composer' ) => 'left', __( 'Right', 'js_composer' ) => 'right', __( 'Center', 'js_composer' ) => 'center', ), 'heading' => __( 'Alignment', 'js_composer' ), 'description' => __( 'Select tabs section title alignment.', 'js_composer' ), ), array( 'type' => 'dropdown', 'param_name' => 'autoplay', 'value' => array( __( 'None', 'js_composer' ) => 'none', '1' => '1', '2' => '2', '3' => '3', '4' => '4', '5' => '5', '10' => '10', '20' => '20', '30' => '30', '40' => '40', '50' => '50', '60' => '60', ), 'std' => 'none', 'heading' => __( 'Autoplay', 'js_composer' ), 'description' => __( 'Select auto rotate for tabs in seconds (Note: disabled by default).', 'js_composer' ), ), array( 'type' => 'textfield', 'param_name' => 'active_section', 'heading' => __( 'Active section', 'js_composer' ), 'value' => 1, 'description' => __( 'Enter active section number (Note: to have all sections closed on initial load enter non-existing number).', 'js_composer' ), ), array( 'type' => 'dropdown', 'param_name' => 'pagination_style', 'value' => array( __( 'None', 'js_composer' ) => '', __( 'Square Dots', 'js_composer' ) => 'outline-square', __( 'Radio Dots', 'js_composer' ) => 'outline-round', __( 'Point Dots', 'js_composer' ) => 'flat-round', __( 'Fill Square Dots', 'js_composer' ) => 'flat-square', __( 'Rounded Fill Square Dots', 'js_composer' ) => 'flat-rounded', ), 'heading' => __( 'Pagination style', 'js_composer' ), 'description' => __( 'Select pagination style.', 'js_composer' ), ), array( 'type' => 'dropdown', 'param_name' => 'pagination_color', 'value' => getVcShared( 'colors-dashed' ), 'heading' => __( 'Pagination color', 'js_composer' ), 'description' => __( 'Select pagination color.', 'js_composer' ), 'param_holder_class' => 'vc_colored-dropdown', 'std' => 'grey', 'dependency' => array( 'element' => 'pagination_style', 'not_empty' => true, ), ), vc_map_add_css_animation(), array( 'type' => 'textfield', 'heading' => __( 'Extra class name', 'js_composer' ), 'param_name' => 'el_class', 'description' => __( 'If you wish to style particular content element differently, then use this field to add a class name and then refer to it in your css file.', 'js_composer' ), ), array( 'type' => 'css_editor', 'heading' => __( 'CSS box', 'js_composer' ), 'param_name' => 'css', 'group' => __( 'Design Options', 'js_composer' ), ), ), 'js_view' => 'VcBackendTtaTabsView', 'custom_markup' => ' <div class="vc_tta-container" data-vc-action="collapse"> <div class="vc_general vc_tta vc_tta-tabs vc_tta-color-backend-tabs-white vc_tta-style-flat vc_tta-shape-rounded vc_tta-spacing-1 vc_tta-tabs-position-top vc_tta-controls-align-left"> <div class="vc_tta-tabs-container">' . '<ul class="vc_tta-tabs-list">' . '<li class="vc_tta-tab" data-vc-tab data-vc-target-model-id="{{ model_id }}" data-element_type="vc_tta_section"><a href="javascript:;" data-vc-tabs data-vc-container=".vc_tta" data-vc-target="[data-model-id=\'{{ model_id }}\']" data-vc-target-model-id="{{ model_id }}"><span class="vc_tta-title-text">{{ section_title }}</span></a></li>' . '</ul> </div> <div class="vc_tta-panels vc_clearfix {{container-class}}"> {{ content }} </div> </div> </div>', 'default_content' => ' [vc_tta_section title="' . sprintf( '%s %d', __( 'Tab', 'js_composer' ), 1 ) . '"][/vc_tta_section] [vc_tta_section title="' . sprintf( '%s %d', __( 'Tab', 'js_composer' ), 2 ) . '"][/vc_tta_section] ', 'admin_enqueue_js' => array( vc_asset_url( 'lib/vc_tabs/vc-tabs.min.js' ), ), );
| ver. 1.4 |
Github
|
.
| PHP 7.0.33 | Generation time: 0 |
proxy
|
phpinfo
|
Settings