Import legacy nurinda.co.id website

This commit is contained in:
dirga committed 2026-10-01 14:27:19 +07:00
1 parent 3f59bb9038
commit 6e21646ac4
13389 files changed
+3246690

No files matched your search

@@ -0,0 +1,29 @@
<?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',
);
@@ -0,0 +1,63 @@
<?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',
);
@@ -0,0 +1,74 @@
<?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',
);
@@ -0,0 +1,75 @@
<?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',
);
@@ -0,0 +1,152 @@
<?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' ),
),
),
);
@@ -0,0 +1,92 @@
<?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',
);
@@ -0,0 +1,118 @@
<?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' ),
),
),
);
@@ -0,0 +1,137 @@
<?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' ),
),
),
);
@@ -0,0 +1,27 @@
<?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',
);
@@ -0,0 +1,54 @@
<?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',
);
@@ -0,0 +1,56 @@
<?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',
);