PATH:
home
/
niazsaze
/
public_html
/
wp-content
/
themes
/
flatsome
/
inc
/
builder
/
shortcodes
<?php add_ux_builder_shortcode( 'ux_banner_grid', array( 'type' => 'container', 'name' => __( 'گرید', 'flatsome' ), 'image' => '', 'wrap' => false, 'category' => __( 'چیدمان3', 'flatsome' ), 'template' => flatsome_ux_builder_template( 'ux_banner_grid.html' ), 'thumbnail' => flatsome_ux_builder_thumbnail( 'grid' ), 'allow' => array( 'col_grid' ), 'info' => '{{ label }}', 'directives' => array( 'ux-banner-grid' ), 'add_buttons' => array( 'bottom-right' ), 'addable_spots' => array(), 'scripts' => array( 'flatsome-packery' => get_template_directory_uri() . '/assets/libs/packery.pkgd.min.js', ), // Override children data. 'children' => array( 'addable_spots' => array( 'center' ), ), 'presets' => array( array( 'name' => __( 'گرید 1', 'flatsome' ), 'thumbnail' => flatsome_ux_builder_thumbnail( 'grids/grid-1' ), 'content' => '[ux_banner_grid] [col_grid span="6"] [/col_grid] [col_grid span="3"] [/col_grid] [col_grid span="3" height="1-2"] [/col_grid] [col_grid span="3" height="1-2"] [/col_grid] [/ux_banner_grid]' ), array( 'name' => __( 'گرید 2', 'flatsome' ), 'thumbnail' => flatsome_ux_builder_thumbnail( 'grids/grid-2' ), 'content' => '[ux_banner_grid] [col_grid height="2-3"] [/col_grid] [col_grid span="4" height="1-3"] [/col_grid] [col_grid span="4" height="1-3"] [/col_grid] [col_grid span="4" height="1-3"] [/col_grid] [/ux_banner_grid]' ), array( 'name' => __( 'گرید 3', 'flatsome' ), 'thumbnail' => flatsome_ux_builder_thumbnail( 'grids/grid-3' ), 'content' => '[ux_banner_grid] [col_grid span="6"] [/col_grid] [col_grid span="3" height="1-2"] [/col_grid] [col_grid span="3" height="1-2"] [/col_grid] [col_grid span="3" height="1-2"] [/col_grid] [col_grid span="3" height="1-2"] [/col_grid] [/ux_banner_grid]' ), array( 'name' => __( 'گرید 4', 'flatsome' ), 'thumbnail' => flatsome_ux_builder_thumbnail( 'grids/grid-4' ), 'content' => '[ux_banner_grid] [col_grid span="9"] [/col_grid] [col_grid span="3" height="1-2"] [/col_grid] [col_grid span="3" height="1-2"] [/col_grid] [/ux_banner_grid]' ), array( 'name' => __( 'گرید 5', 'flatsome' ), 'thumbnail' => flatsome_ux_builder_thumbnail( 'grids/grid-5' ), 'content' => '[ux_banner_grid] [col_grid span="3"] [/col_grid] [col_grid span="6"] [/col_grid] [col_grid span="3" height="1-2"] [/col_grid] [col_grid span="3" height="1-2"] [/col_grid] [/ux_banner_grid]' ), array( 'name' => __( 'گرید 6', 'flatsome' ), 'thumbnail' => flatsome_ux_builder_thumbnail( 'grids/grid-6' ), 'content' => '[ux_banner_grid] [col_grid span="4" height="1-3"] [/col_grid] [col_grid span="8"] [/col_grid] [col_grid span="4" height="1-3"] [/col_grid] [col_grid span="4" height="1-3"] [/col_grid] [/ux_banner_grid]' ), array( 'name' => __( 'گرید 7', 'flatsome' ), 'thumbnail' => flatsome_ux_builder_thumbnail( 'grids/grid-7' ), 'content' => '[ux_banner_grid] [col_grid span="8" height="2-3"] [/col_grid] [col_grid span="4" height="1-3"] [/col_grid] [col_grid span="4" height="2-3"] [/col_grid] [col_grid span="8" height="1-3"] [/col_grid] [/ux_banner_grid]' ), array( 'name' => __( 'گرید 8', 'flatsome' ), 'thumbnail' => flatsome_ux_builder_thumbnail( 'grids/grid-8' ), 'content' => '[ux_banner_grid] [col_grid span="6" height="2-3"] [/col_grid] [col_grid span="6" height="1-2"] [/col_grid] [col_grid span="3" height="1-2"] [/col_grid] [col_grid span="3" height="1-2"] [/col_grid] [col_grid span="6" height="1-3"] [/col_grid] [/ux_banner_grid]' ), array( 'name' => __( 'گرید 9', 'flatsome' ), 'thumbnail' => flatsome_ux_builder_thumbnail( 'grids/grid-9' ), 'content' => '[ux_banner_grid] [col_grid span="6"] [/col_grid] [col_grid span="6" height="1-2"] [/col_grid] [col_grid span="3" height="1-2"] [/col_grid] [col_grid span="3" height="1-2"] [/col_grid] [/ux_banner_grid]' ), ), 'options' => array( 'label' => array( 'type' => 'textfield', 'heading' => 'برچسب ادمین', 'placeholder' => 'Enter admin label...' ), 'spacing' => array( 'type' => 'radio-buttons', 'Spacing', 'full_width' => true, 'default' => 'small', 'options' => array( 'xsmall' => array( 'title' => 'XS' ), 'small' => array( 'title' => 'S' ), 'normal' => array( 'title' => 'Normal'), 'large' => array( 'title' => 'L' ), 'collapse' => array( 'title' => 'Collapse' ), ), ), 'height' => array( 'type' => 'slider', 'responsive' => true, 'full_width' => true, 'heading' => __( 'ارتفاع', 'flatsome' ), 'debounce' => 300, 'description' => __( 'ارتفاع بلندترین ستون را تنظیم کنید', 'flatsome' ), 'default' => 600, 'responsive' => true, 'min' => 0, 'max' => 1000, 'step' => 1, ), 'width' => array( 'type' => 'select', 'heading' => 'عرض', 'default' => '', 'options' => array( '' => 'Container', 'full-width' => 'تمام عرض', ) ), 'depth' => array( 'type' => 'slider', 'vertical' => true, 'heading' => 'ستون دیپ', 'default' => 0, 'max' => 5, 'min' => 0, ), 'depth_hover' => array( 'type' => 'slider', 'vertical' => true, 'heading' => 'دیپ ستون شناور', 'default' => 0, 'max' => 5, 'min' => 0, ), '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]