PATH:
home
/
niazsaze
/
public_html
/
wp-content
/
themes
/
flatsome
/
inc
/
builder
/
shortcodes
<?php add_ux_builder_shortcode( 'ux_slider', array( 'type' => 'container', 'name' => __( 'اسلایدر', 'flatsome' ), 'category' => __( 'Layout', 'flatsome' ), 'message' => __( 'اسلایدها را در اینجا اضافه کنید', 'flatsome' ), 'directives' => array( 'ux-slider' ), 'allow' => array( 'ux_banner','ux_image','ux_lottie','section','row','ux_banner_grid','logo'), 'template' => flatsome_ux_builder_template( 'ux_slider.html' ), 'thumbnail' => flatsome_ux_builder_thumbnail( 'slider' ), 'tools' => 'shortcodes/ux_slider/ux-slider-tools.directive.html', 'wrap' => false, 'info' => '{{ label }}', 'priority' => -1, 'toolbar' => array( 'show_children_selector' => true, 'show_on_child_active' => true, ), 'children' => array( 'inline' => true, 'addable_spots' => array( 'left', 'right' ) ), /* 'presets' => array( array( 'name' => __( 'Default', 'flatsome' ), 'content' => '[ux_slider]', ), array( 'name' => __( 'Simple Banner', 'flatsome' ), 'content' => '[ux_slider][ux_banner][/ux_slider]', ), ), */ 'options' => array( 'label' => array( 'type' => 'textfield', 'heading' => 'برچسب ادمین', 'placeholder' => 'برچسب ادمین را وارد نمایید...' ), 'type' => array( 'type' => 'select', 'heading' => 'نوع', 'default' => 'slide', 'options' => array( 'slide' => 'Slide', 'fade' => 'Fade', ), ), 'layout_options' => array( 'type' => 'group', 'heading' => __( 'چیدمان', 'flatsome' ), 'options' => array( 'style' => array( 'type' => 'select', 'heading' => 'استایل', 'default' => 'normal', 'options' => array( 'normal' => 'Default', 'container' => 'Container', 'focus' => 'Focus', 'shadow' => 'Shadow', ), 'conditions' => 'type !== "fade"', ), 'slide_width' => array( 'type' => 'scrubfield', 'responsive' => true, 'heading' => 'عرض اسلاید', 'placeholder' => 'Width in Px', 'default' => '', 'min' => '0', 'conditions' => 'type !== "fade"', ), 'slide_align' => array( 'type' => 'select', 'heading' => 'موقعیت اسلاید', 'default' => 'center', 'options' => array( 'center' => 'Center', 'left' => 'Left', 'right' => 'Right', ), 'conditions' => 'type !== "fade"', ), 'bg_color' => array( 'type' => 'colorpicker', 'heading' => __( 'رنگ پسزمینه', 'flatsome' ), 'format' => 'rgb', 'position' => 'bottom right', 'helpers' => require( __DIR__ . '/helpers/colors.php' ), ), 'margin' => array( 'type' => 'scrubfield', 'responsive' => true, 'heading' => __( 'فاصله', 'flatsome' ), 'default' => '0px', 'min' => 0, 'max' => 100, 'step' => 1 ), 'infinitive' => array( 'type' => 'radio-buttons', 'heading' => __( 'مصدر', 'flatsome' ), 'default' => 'true', 'options' => array( 'false' => array( 'title' => 'خاموش'), 'true' => array( 'title' => 'روشن'), ), ), 'freescroll' => array( 'type' => 'radio-buttons', 'heading' => __( 'اسکرول آزاد', 'flatsome' ), 'default' => 'false', 'options' => array( 'false' => array( 'title' => 'خاموش'), 'true' => array( 'title' => 'روشن'), ), ), 'draggable' => array( 'type' => 'radio-buttons', 'heading' => __( 'دراگبل', 'flatsome' ), 'default' => 'true', 'options' => array( 'false' => array( 'title' => 'خاموش'), 'true' => array( 'title' => 'روشن'), ), ), 'parallax' => array( 'type' => 'slider', 'heading' => 'پارالکس', 'unit' => '+', 'default' => 0, 'max' => 10, 'min' => 0, ), 'mobile' => array( 'type' => 'radio-buttons', 'heading' => __( 'نمایش برای موبایل', 'flatsome' ), 'default' => 'true', 'options' => array( 'false' => array( 'title' => 'خاموش'), 'true' => array( 'title' => 'روشن'), ), ), ), ), 'nav_options' => array( 'type' => 'group', 'heading' => __( 'نویگیشن', 'flatsome' ), 'options' => array( 'hide_nav' => array( 'type' => 'radio-buttons', 'heading' => __( 'همیشه قابل مشاهده', 'flatsome' ), 'default' => '', 'options' => array( '' => array( 'title' => 'خاموش'), 'true' => array( 'title' => 'روشن'), ), ), 'nav_pos' => array( 'type' => 'select', 'heading' => 'موقعیت', 'default' => '', 'options' => array( '' => 'داخل', 'outside' => 'بیرون', ) ), 'nav_size' => array( 'type' => 'select', 'heading' => 'سایز', 'default' => 'بزرگ', 'options' => array( 'large' => 'بزرگ', 'normal' => 'متوسط', ) ), 'arrows' => array( 'type' => 'radio-buttons', 'heading' => __( 'نشانگر', 'flatsome' ), 'default' => 'true', 'options' => array( 'false' => array( 'title' => 'خاموش'), 'true' => array( 'title' => 'روشن'), ), ), 'nav_style' => array( 'type' => 'select', 'heading' => __( 'استایل نشانگر', 'flatsome' ), 'default' => 'circle', 'options' => array( 'circle' => 'دایره ای', 'simple' => 'ساده', 'reveal' => 'آشکار', ) ), 'nav_color' => array( 'type' => 'radio-buttons', 'heading' => __( 'رنگ نشانگر', 'flatsome' ), 'default' => 'light', 'options' => array( 'dark' => array( 'title' => 'تاریک'), 'light' => array( 'title' => 'روشن'), ), ), 'bullets' => array( 'type' => 'radio-buttons', 'heading' => __( 'بالت', 'flatsome' ), 'default' => 'true', 'options' => array( 'false' => array( 'title' => 'خاموش'), 'true' => array( 'title' => 'روشن'), ), ), 'bullet_style' => array( 'type' => 'select', 'heading' => 'استایل بالت', 'default' => 'circle', 'options' => array( 'circle' => 'دایره ای', 'dashes' => 'خط تیره', 'dashes-spaced' => 'دش ها (فاصله)', 'simple' => 'ساده', 'square' => 'مربع', ) ), ), ), 'slide_options' => array( 'type' => 'group', 'heading' => __( 'اسلاید اتوماتیک', 'flatsome' ), 'options' => array( 'auto_slide' => array( 'type' => 'radio-buttons', 'heading' => __( 'اسلاید اتوماتیک', 'flatsome' ), 'default' => 'true', 'options' => array( 'false' => array( 'title' => 'خاموش'), 'true' => array( 'title' => 'روشن'), ), ), 'timer' => array( 'type' => 'textfield', 'heading' => 'تایمر (میلی ثانیه)', 'default' => 6000, ), 'pause_hover' => array( 'type' => 'radio-buttons', 'heading' => __( 'مکث در حالت هاور', 'flatsome' ), 'default' => 'true', 'options' => array( 'false' => array( 'title' => 'خاموش'), 'true' => array( 'title' => 'روشن'), ), ), ), ), '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]