PATH:
home
/
thebhoeo
/
public_html
/
pashtoo
/
wp-content
/
themes
/
woodmart
/
inc
/
integrations
/
visual-composer
/
maps
<?php if ( ! defined( 'WOODMART_THEME_DIR' ) ) exit( 'No direct script access allowed' ); /** * ------------------------------------------------------------------------------------------------ * Popup element map * ------------------------------------------------------------------------------------------------ */ if ( ! function_exists( 'woodmart_get_vc_map_popup' ) ) { function woodmart_get_vc_map_popup() { $woodmart_popup_params = vc_map_integrate_shortcode( woodmart_get_woodmart_button_shortcode_args(), '', 'Button', array( 'exclude' => array( 'link', 'el_class', 'smooth_divider', 'button_smooth_scroll', 'button_smooth_scroll_time', 'button_smooth_scroll_offset', 'collapsible_content_divider', 'wd_button_collapsible_content', 'wd_button_collapsible_content_id', ), ) ); return array( 'name' => esc_html__( 'Popup', 'woodmart' ), 'base' => 'woodmart_popup', 'content_element' => true, 'as_parent' => array( 'except' => 'testimonial' ), 'category' => woodmart_get_tab_title_category_for_wpb( esc_html__( 'Theme elements', 'woodmart' ) ), 'description' => esc_html__( 'Button that shows a popup on click', 'woodmart' ), 'icon' => WOODMART_ASSETS . '/images/vc-icon/popup.svg', 'params' => array_merge( array( array( 'type' => 'woodmart_title_divider', 'holder' => 'div', 'title' => esc_html__( 'General options', 'woodmart' ), 'param_name' => 'general_divider', ), array( 'type' => 'textfield', 'heading' => esc_html__( 'ID', 'woodmart' ), 'hint' => esc_html__( 'If you are using multiple popups elements, be sure that all elements have unique IDs values.', 'woodmart' ), 'param_name' => 'id', 'edit_field_class' => 'vc_col-sm-6 vc_column', ), array( 'type' => 'woodmart_slider', 'heading' => esc_html__( 'Width', 'woodmart' ), 'param_name' => 'width', 'min' => '150', 'max' => '2000', 'step' => '10', 'default' => '800', 'units' => 'px', 'hint' => esc_html__( 'Popup width in pixels.', 'woodmart' ), 'edit_field_class' => 'vc_col-sm-6 vc_column', ), array( 'heading' => esc_html__( 'Padding', 'woodmart' ), 'type' => 'wd_slider', 'param_name' => 'padding', 'selectors' => array(), 'devices' => array( 'desktop' => array( 'value' => '', 'unit' => 'px', ), ), 'range' => array( 'px' => array( 'min' => 0, 'max' => 200, 'step' => 1, ), ), 'generate_zero' => true, ), array( 'type' => 'woodmart_title_divider', 'holder' => 'div', 'title' => esc_html__( 'Extra options', 'woodmart' ), 'param_name' => 'extra_divider', ), array( 'type' => 'textfield', 'heading' => esc_html__( 'Extra button class name', 'woodmart' ), 'param_name' => 'el_class', 'hint' => 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.', 'woodmart' ) ), array( 'type' => 'textfield', 'heading' => esc_html__( 'Extra content class name', 'woodmart' ), 'param_name' => 'content_class', ) ), $woodmart_popup_params ), 'js_view' => 'VcColumnView', ); } } // A must for container functionality, replace Wbc_Item with your base name from mapping for parent container if( class_exists( 'WPBakeryShortCodesContainer' ) ){ class WPBakeryShortCode_woodmart_popup extends WPBakeryShortCodesContainer { } }
[-] categories.php
[edit]
[-] brands.php
[edit]
[-] page-heading.php
[edit]
[-] testimonials.php
[edit]
[-] image-hotspot.php
[edit]
[-] breadcrumbs.php
[edit]
[-] video.php
[edit]
[-] table.php
[edit]
[-] timeline.php
[edit]
[-] contact-form-7.php
[edit]
[-] product-filters.php
[edit]
[-] marquee.php
[edit]
[-] info-box.php
[edit]
[-] social.php
[edit]
[-] toggle.php
[edit]
[-] row-divider.php
[edit]
[-] title.php
[edit]
[-] images-gallery.php
[edit]
[-] responsive-text-block.php
[edit]
[-] image.php
[edit]
[-] team-member.php
[edit]
[-] accordion.php
[edit]
[-] parallax-scroll.php
[edit]
[-] size-guide.php
[edit]
[-] list.php
[edit]
[-] mailchimp.php
[edit]
[-] text-block.php
[edit]
[-] products-tabs.php
[edit]
[-] ajax-search.php
[edit]
[-] slider.php
[edit]
[-] menu-price.php
[edit]
[-] blog.php
[edit]
[-] popup.php
[edit]
[-] twitter.php
[edit]
[-] mega-menu.php
[edit]
[-] wishlist.php
[edit]
[-] products-widget.php
[edit]
[-] sidebar.php
[edit]
[-] instagram.php
[edit]
[-] compare.php
[edit]
[+]
..
[-] pricing-tables.php
[edit]
[-] video-poster.php
[edit]
[-] nested-carousel.php
[edit]
[-] compare-images.php
[edit]
[-] tabs.php
[edit]
[-] off-canvas-column-btn.php
[edit]
[-] 3d-view.php
[edit]
[-] google-map.php
[edit]
[-] html-block.php
[edit]
[-] countdown-timer.php
[edit]
[-] promo-banner.php
[edit]
[-] button.php
[edit]
[-] portfolio.php
[edit]
[-] products.php
[edit]
[-] extra-menu.php
[edit]
[-] register-maps.php
[edit]
[-] open-street-map.php
[edit]
[-] counter.php
[edit]
[-] author-area.php
[edit]