PATH:
home
/
niazsaze
/
public_html
/
wp-content
/
themes
/
flatsome
/
inc
/
builder
/
shortcodes
<?php $position_options = require( __DIR__ . '/commons/position.php' ); $position_options['options']['position_x']['on_change'] = array( 'recompile' => false, 'class' => 'x{{ value }} md-x{{ value }} lg-x{{ value }}' ); $position_options['options']['position_y']['on_change'] = array( 'recompile' => false, 'class' => 'y{{ value }} md-y{{ value }} lg-y{{ value }}' ); add_ux_builder_shortcode( 'ux_hotspot', array( 'name' => 'هات اسپات', 'category' => __( 'Content', 'flatsome' ), 'require' => 'ux_banner', 'thumbnail' => flatsome_ux_builder_thumbnail( 'ux_hotspot' ), //'template' => flatsome_ux_builder_template( 'ux_hotspot.html' ), 'allow_in' => array('ux_banner'), 'wrap' => false, 'options' => array( 'type' => array( 'type' => 'radio-buttons', 'heading' => 'نوع', 'default' => 'text', 'options' => array( 'text' => array( 'title' => 'متن'), 'product' => array( 'title' => 'Product'), ), ), 'prod_id' => array( 'type' => 'select', 'heading' => __( 'محصول', 'flatsome' ), 'full-width' => true, 'conditions' => 'type === "product"', 'config' => array( 'multiple' => false, 'placeholder' => 'Select..', 'postSelect' => array( 'post_type' => array( 'product') ), ) ), 'text' => array( 'type' => 'textfield', 'holder' => 'button', 'heading' => __( 'متن', 'flatsome' ), 'conditions' => 'type === "text"', 'param_name' => 'text', 'focus' => 'true', 'default' => 'هر متنی وارد نمایید...', ), 'link' => array( 'type' => 'textfield', 'holder' => 'button', 'heading' => __( 'لینک', 'flatsome' ), 'conditions' => 'type === "text"', 'param_name' => 'text', 'focus' => 'true', 'default' => '', ), 'icon' => array( 'type' => 'radio-buttons', 'heading' => __( 'آیکون', 'flatsome' ), 'default' => 'plus', 'options' => array( 'plus' => array( 'title' => 'پلاس'), 'search' => array( 'title' => 'جستجو'), 'play' => array( 'title' => 'پلی'), ), ), 'size' => array( 'type' => 'radio-buttons', 'heading' => __( 'سایز', 'flatsome' ), 'default' => 'medium', 'options' => array( 'xsmall' => array( 'title' => 'XS'), 'small' => array( 'title' => 'S'), 'medium' => array( 'title' => 'M'), 'large' => array( 'title' => 'L'), 'xlarge' => array( 'title' => 'XL'), ), ), 'bg_color' => array( 'type' => 'colorpicker', 'heading' => __( 'رنگ پسزمینه', 'flatsome' ), 'format' => 'rgb', 'position' => 'bottom right', 'helpers' => require( __DIR__ . '/helpers/colors.php' ), ), 'animate' => array( 'type' => 'select', 'heading' => __( 'انیمیشن', 'flatsome' ), 'param_name' => 'animate', 'default' => 'none', 'options' => require( __DIR__ . '/values/animate.php' ), ), 'depth' => array( 'type' => 'slider', 'heading' => __( 'عمق', 'flatsome' ), 'default' => '0', 'max' => '5', 'min' => '0', ), 'depth_hover' => array( 'type' => 'slider', 'heading' => __( 'دیپ هاور', 'flatsome' ), 'default' => '0', 'max' => '5', 'min' => '0', ), 'position_options' => $position_options, 'advanced_options' => require( __DIR__ . '/commons/advanced.php'), ) ) );
[-] woocommerce_cart.php
[edit]
[-] ux_video.php
[edit]
[-] ux_stack.php
[edit]
[-] gap.php
[edit]
[-] ux_gutenberg.php
[edit]
[-] ux_payment_icons.php
[edit]
[-] row.php
[edit]
[-] button.php
[edit]
[-] page_header.php
[edit]
[-] ux_product_flip.php
[edit]
[-] ux_slider.php
[edit]
[-] scroll_to.php
[edit]
[-] woocommerce_shortcodes.php
[edit]
[-] ux_banner_grid.php
[edit]
[-] map.php
[edit]
[-] tab.php
[edit]
[-] ux_banner.php
[edit]
[-] price_table.php
[edit]
[-] title.php
[edit]
[-] ux_products.php
[edit]
[-] ux_html.php
[edit]
[-] ux_product_categories.php
[edit]
[-] ux_bestseller_products.php
[edit]
[-] ux_pages.php
[edit]
[-] block.php
[edit]
[-] woocommerce_checkout.php
[edit]
[-] ux_menu_title.php
[edit]
[-] search.php
[edit]
[-] custom-product.php
[edit]
[-] ux_products_list.php
[edit]
[-] ux_lottie.php
[edit]
[-] accordion.php
[edit]
[-] ux_countdown.php
[edit]
[-] message_box.php
[edit]
[-] contactform7.php
[edit]
[-] featured_box.php
[edit]
[-] col_grid.php
[edit]
[-] divider.php
[edit]
[-] accordion_item.php
[edit]
[-] ux_instagram_feed.php
[edit]
[+]
helpers
[-] ux_image.php
[edit]
[-] ux_badge.php
[edit]
[-] ux_menu_link.php
[edit]
[-] ux_shortcode.php
[edit]
[-] section.php
[edit]
[-] ux_gallery.php
[edit]
[-] ux_sidebar.php
[edit]
[+]
values
[-] team_member.php
[edit]
[-] text.php
[edit]
[-] col.php
[edit]
[-] follow.php
[edit]
[-] video_button.php
[edit]
[-] blog_posts.php
[edit]
[-] ux_image_box.php
[edit]
[-] ux_logo.php
[edit]
[-] tabgroup.php
[edit]
[-] share.php
[edit]
[-] ux_hotspot.php
[edit]
[+]
..
[-] ux_menu.php
[edit]
[+]
thumbnails
[-] ux_nav.php
[edit]
[-] ux_portfolio.php
[edit]
[-] page_meta.php
[edit]
[+]
commons
[-] testimonial.php
[edit]
[+]
templates
[-] text_box.php
[edit]