Current File : /home/aventura/www/site/wp-content/plugins/js_composer/config/deprecated/shortcode-vc-carousel.php |
<?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' ),
),
),
);