PATH:
home
/
letacommog
/
aperobusiness
/
wp-content
/
themes
/
deep
/
inc
/
visualcomposer
/
shortcodes
<?php vc_map( array( 'name' => esc_html__( 'Single Slide', 'deep' ), 'base' => 'single_slide', 'icon' => 'content_slider_icon', 'class' => 'content_slider_icon', 'allowed_container_element' => 'vc_row', 'is_container' => true, 'content_element' => true, 'as_child' => array( 'only' => 'content_slider_element' ), 'html_template' => get_template_directory() . '/vc_templates/single_slide.php', 'js_view' => 'SingleSlideView', 'params' => array( array( 'heading' => esc_html__( 'Stretch content (Full width content)?', 'deep' ), 'description' => esc_html__( 'Select stretching options for section and content.', 'deep' ), 'type' => 'checkbox', 'param_name' => 'full_width', 'value' => array( esc_html__( 'Yes', 'deep' ) => 'yes' ), ), array( 'type' => 'textfield', 'heading' => esc_html__( 'Title', 'deep' ), 'param_name' => 'title', ), array( 'type' => 'textfield', 'heading' => esc_html__( 'Extra class', 'deep' ), 'param_name' => 'el_class', 'description' => esc_html__( '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.', 'deep' ), ), /** * ---> Start Background group */ array( 'heading' => esc_html__( 'Background (Color or Image)', 'deep' ), 'group' => esc_html__( 'Background', 'deep' ), 'type' => 'css_editor', 'param_name' => 'css', 'edit_field_class' => 'vc_col-sm-12 vc_column wn-bg-editor', ), array( 'type' => 'dropdown', 'heading' => esc_html__( 'Background Position', 'deep' ), 'param_name' => 'bg_position', 'value' => array( esc_html__( 'Left Top' , 'deep' ) => 'left top', esc_html__( 'Left Center', 'deep' ) => 'left center', esc_html__( 'Left Bottom', 'deep' ) => 'left bottom', esc_html__( 'Center Top', 'deep' ) => 'center top', esc_html__( 'Center Center', 'deep' ) => 'center center', esc_html__( 'Center Bottom', 'deep' ) => 'center bottom', esc_html__( 'Right Top' , 'deep' ) => 'right top', esc_html__( 'Right Center', 'deep' ) => 'right center', esc_html__( 'Right Bottom', 'deep' ) => 'right bottom', ), 'std' => 'center center', 'description' => esc_html__( 'The background-position property sets the starting position of a background image.', 'deep' ), 'group' => esc_html__( 'Background', 'deep' ), 'edit_field_class' => 'vc_col-sm-6', ), array( 'type' => 'dropdown', 'heading' => esc_html__( 'Background Repeat', 'deep' ), 'param_name' => 'bg_repeat', 'value' => array( esc_html__( 'Repeat' , 'deep' ) => 'repeat', esc_html__( 'Repeat x', 'deep' ) => 'repeat-x', esc_html__( 'Repeat y', 'deep' ) => 'repeat-y', esc_html__( 'No Repeat', 'deep' ) => 'no-repeat', ), 'std' => 'no-repeat', 'description' => esc_html__( 'The background-position property sets the starting position of a background image.', 'deep' ), 'group' => esc_html__( 'Background', 'deep' ), 'edit_field_class' => 'vc_col-sm-6', ), array( 'heading' => esc_html__( 'Background Cover ?', 'deep' ), 'type' => 'checkbox', 'param_name' => 'bg_cover', 'value' => array( esc_html__( 'Yes', 'deep' ) => 'yes' ), 'std' => 'yes', 'group' => esc_html__( 'Background', 'deep' ), 'edit_field_class' => 'vc_col-sm-6', ), array( 'heading' => esc_html__( 'Fixed Background ?', 'deep' ), 'type' => 'checkbox', 'param_name' => 'bg_attachment', 'value' => array( esc_html__( 'Yes', 'deep' ) => 'yes' ), 'group' => esc_html__( 'Background', 'deep' ), 'edit_field_class' => 'vc_col-sm-6', ), array( 'heading' => esc_html__( 'Parallax', 'deep' ), 'description' => esc_html__( 'Add parallax type background for row.', 'deep' ), 'type' => 'dropdown', 'param_name' => 'wn_parallax', 'value' => array( esc_html__( 'None', 'deep' ) => '', esc_html__( 'Parallax', 'deep' ) => 'content-moving', ), 'group' => esc_html__( 'Background', 'deep' ), ), array( 'heading' => esc_html__( 'Parallax Speed', 'deep' ), 'type' => 'dropdown', 'param_name' => 'wn_parallax_speed', 'value' => array( esc_html__( 'Very Slow', 'deep' ) => '108', esc_html__( 'Slow', 'deep' ) => '123', esc_html__( 'Normal', 'deep' ) => '190', esc_html__( 'Fast', 'deep' ) => '225', esc_html__( 'Very Fast', 'deep' ) => '260', ), 'std' => '123', 'dependency' => array( 'element' => 'wn_parallax', 'not_empty' => true, ), 'group' => esc_html__( 'Background', 'deep' ), ), array( 'type' => 'checkbox', 'heading' => esc_html__('Background None in Mobile Size?', 'deep'), 'param_name' => 'responsive_bg_none', 'value' => array( esc_html__( 'Yes', 'deep' ) => 'respo-bg-none' ), 'description' => esc_html__('If checked background columns will be disable in mobile.', 'deep'), 'edit_field_class' => 'vc_col-sm-6', 'group' => esc_html__( 'Background', 'deep' ), ), /** * ---> Start animation group */ array( 'type' => 'animation_style', 'heading' => esc_html__( 'CSS Animation', 'deep' ), 'param_name' => 'css_animation', 'admin_label' => true, 'value' => '', 'settings' => array( 'type' => 'in', 'custom' => array( array( 'label' => esc_html__( 'Default', 'deep' ), 'values' => array( esc_html__( 'Top to bottom', 'deep' ) => 'top-to-bottom', esc_html__( 'Bottom to top', 'deep' ) => 'bottom-to-top', esc_html__( 'Left to right', 'deep' ) => 'left-to-right', esc_html__( 'Right to left', 'deep' ) => 'right-to-left', esc_html__( 'Appear from center', 'deep' ) => 'appear', ), ), ), ), 'description' => esc_html__( 'Select type of animation for element to be animated when it enters the browsers viewport (Note: works only in modern browsers).', 'deep' ), 'group' => esc_html__( 'Animate', 'deep' ), ), ), ) ); define( 'CONTENT_SLIDER_TITLE', esc_html__( 'Slide', 'ultimate_vc' ) ); if(function_exists('vc_path_dir')){ require_once vc_path_dir('SHORTCODES_DIR', 'vc-column.php'); } if(class_exists('WPBakeryShortCode_VC_Column')){ class WPBakeryShortCode_SINGLE_SLIDE extends WPBakeryShortCode_VC_Column { protected $controls_css_settings = 'tc vc_control-container'; protected $controls_list = array('add', 'edit', 'clone', 'delete'); protected $predefined_atts = array( 'tab_id' => CONTENT_SLIDER_TITLE, 'title' => '', 'icon_type'=>'', 'icon'=> '', ); public function __construct( $settings ) { parent::__construct( $settings ); } public function customAdminBlockParams() { return ' id="tab-' . $this->atts['tab_id'] . '"'; } public function mainHtmlBlockParams( $width, $i ) { return 'data-element_type="' . $this->settings["base"] . '" class="wpb_' . $this->settings['base'] . ' wpb_sortable wpb_content_holder"' . $this->customAdminBlockParams(); } public function containerHtmlBlockParams( $width, $i ) { return 'class="wpb_column_container vc_container_for_children"'; } public function getColumnControls( $controls, $extended_css = '' ) { return $this->getColumnControlsModular($extended_css); } } }
[+]
..
[-] 01-speakers.php
[edit]
[-] 01-slider.php
[edit]
[-] 01-singlecause.php
[edit]
[-] 06-ourclients.php
[edit]
[-] 04-latestblogs.php
[edit]
[-] 48-line.php
[edit]
[-] 03-collection.php
[edit]
[-] 16-teaserbox.php
[edit]
[-] 17-reservation.php
[edit]
[-] 01-special-offers.php
[edit]
[-] 46-alert.php
[edit]
[-] 57-gallery.php
[edit]
[-] 01-buy-process.php
[edit]
[-] 01-review-form.php
[edit]
[-] 55-vcw.php
[edit]
[-] 08-content-carousel.php
[edit]
[-] 16-login.php
[edit]
[-] 17-food-menu.php
[edit]
[-] 10-callout.php
[edit]
[-] 34-quote.php
[edit]
[-] 01-pricing-tables.php
[edit]
[-] 04-postfromblog.php
[edit]
[-] 01-sermon-category.php
[edit]
[-] 40-latest-tweets.php
[edit]
[-] 01-socials.php
[edit]
[-] 17-recipes.php
[edit]
[-] 01-pricing-plan.php
[edit]
[-] 01-domain-checker.php
[edit]
[-] 01-prayerwall-items.php
[edit]
[-] 21-service-carousel.php
[edit]
[-] 08-content-carousel-tab.php
[edit]
[-] 50-tabs.php
[edit]
[-] 30-googlemap.php
[edit]
[-] 19-process-carousel.php
[edit]
[-] 04-blog.php
[edit]
[-] 03-like-view-share.php
[edit]
[-] 01-sermons.php
[edit]
[-] 01-portfolio-carousel.php
[edit]
[-] 20-maxcounter.php
[edit]
[-] 45-dropcap.php
[edit]
[-] 25-list.php
[edit]
[-] 02-before-after-image.php
[edit]
[-] 01-causes.php
[edit]
[-] 04-magazine.php
[edit]
[-] 29-icondivider.php
[edit]
[-] 06-ourteam.php
[edit]
[-] 01-w-title.php
[edit]
[-] 08-testimonial-carousel.php
[edit]
[-] 07-button.php
[edit]
[-] 08-testimonial-single-tab.php
[edit]
[-] 08-testimonial.php
[edit]
[-] 52-tooltip.php
[edit]
[-] 08-testimonial-tab.php
[edit]
[-] 01-prayerwall-form.php
[edit]
[-] 07-donate.php
[edit]
[-] 12-video-teaser.php
[edit]
[-] 02-wp-hotel-booking.php
[edit]
[-] 01-singlesermon.php
[edit]
[-] 01-instagram.php
[edit]
[-] 04-postslider.php
[edit]
[-] 01-slider-item.php
[edit]
[-] 35-link.php
[edit]
[-] 34-block-quote.php
[edit]
[-] 51-row.php
[edit]
[-] 03-tablepress.php
[edit]
[-] 56-roadmap.php
[edit]
[-] 01-custom-menu.php
[edit]
[-] 01-w-svg.php
[edit]
[-] 11-infobox.php
[edit]
[-] 01-shop-products.php
[edit]
[-] 54-imagecarousel.php
[edit]
[-] 01-iconbox.php
[edit]
[-] 04-rooms.php
[edit]
[-] 02-distance.php
[edit]
[-] 01-icon.php
[edit]
[-] 19-our-process.php
[edit]
[-] 04-category-tab.php
[edit]
[-] 08-testimonialslider.php
[edit]
[-] 01-review-items.php
[edit]
[-] 01-subscribe.php
[edit]
[-] 20-countdown.php
[edit]
[-] 12-videoplay.php
[edit]
[-] 01-image-hotspot.php
[edit]
[-] 21-toggle-box.php
[edit]
[-] 56-schedule.php
[edit]