?
shortcode-vc-carousel.php 0000666 00000011472 15126323731 0011504 0 ustar 00 <?php
return array(
'name' => __( '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' ),
),
),
); shortcode-vc-tabs.php 0000666 00000002725 15126323731 0010621 0 ustar 00 <?php
return array(
'name' => __( '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',
); shortcode-vc-accordion.php 0000666 00000004460 15126323731 0011627 0 ustar 00 <?php
return array(
'name' => __( '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',
); shortcode-vc-accordion-tab.php 0000666 00000001615 15126323731 0012372 0 ustar 00 <?php
return array(
'name' => __( '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',
); shortcode-vc-cta-button2.php 0000666 00000007646 15126323731 0012041 0 ustar 00 <?php
return array(
'name' => __( 'Call to Action Button', 'js_composer' ) . ' 2',
'base' => 'vc_cta_button2',
'icon' => 'icon-wpb-call-to-action',
'deprecated' => '4.5',
'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' ),
),
),
); shortcode-vc-tab.php 0000666 00000001040 15126323731 0010423 0 ustar 00 <?php
return array(
'name' => __( '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',
); shortcode-vc-tour.php 0000666 00000003101 15126323731 0010646 0 ustar 00 <?php
return array(
'name' => __( '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',
);