PATH:
home
/
niazsaze
/
public_html
/
wp-content
/
themes
/
flatsome
/
inc
/
builder
/
shortcodes
<?php add_ux_builder_shortcode( 'text_box', array( 'type' => 'container', 'name' => __( 'جعبه متن', 'flatsome' ), 'category' => __( 'Content', 'flatsome' ), 'template' => flatsome_ux_builder_template( 'text_box.html' ), 'thumbnail' => flatsome_ux_builder_thumbnail( 'text_box' ), 'require' => 'ux_banner', 'allow' => array( 'ux_breadcrumbs', 'ux_the_title', 'ux_image', 'ux_lottie', 'ux_stack', 'ux_html', 'text', 'divider', 'button', 'title', 'video_button', 'row', 'follow', 'share' ), 'wrap' => false, 'resize' => array( 'right' ), 'move' => 'top-left', 'presets' => array( array( 'name' => __( 'Default', 'flatsome' ), 'content' => '[text_box pos="x50 y50"][/text_box]', ) ), 'options' => array( 'layout_options' => array( 'type' => 'group', 'heading' => __( 'چیدمان', 'flatsome' ), 'options' => array( 'style' => array( 'type' => 'radio-buttons', 'heading' => __( 'استایل', 'flatsome' ), 'full_width' => true, 'default' => '', 'options' => array( '' => array( 'title' => 'نرمال'), 'square' => array( 'title' => 'مربعی'), 'circle' => array( 'title' => 'دایرهای'), ), ), 'text_color' => array( 'type' => 'radio-buttons', 'heading' => __( 'رنگ', 'flatsome' ), 'default' => 'light', 'options' => array( 'light' => array( 'title' => 'روشن'), 'dark' => array( 'title' => 'تاریک'), ), ), 'hover' => array( 'type' => 'select', 'heading' => __( 'شناور', 'flatsome' ), 'default' => '', 'options' => require( __DIR__ . '/values/text-hover.php' ), ), 'width' => array( 'type' => 'slider', 'heading' => __( 'عرض', 'flatsome' ), 'responsive' => true, 'default' => '60', 'unit' => '%', 'max' => '100', 'min' => '0', ), 'scale' => array( 'type' => 'slider', 'heading' => __( 'مقیاس', 'flatsome' ), 'responsive' => true, 'unit' => '%', 'default' => '100', 'max' => '500', 'min' => '0', ), 'margin' => array( 'type' => 'margins', 'heading' => __( 'فاصله - مارجین', 'flatsome' ), 'full_width' => true, 'responsive' => true, 'unit' => 'px', 'min' => -200, 'max' => 200, 'step' => 1, ), 'padding' => array( 'type' => 'margins', 'heading' => __( 'فاصله داخلی', 'flatsome' ), 'full_width' => true, 'min' => 0, 'max' => 200, 'step' => 1, 'responsive' => true, ), 'rotate' => array( 'type' => 'slider', 'heading' => __( 'چرخشی', 'flatsome' ), 'default' => 0, 'max' => 180, 'min' => -180, ), 'animate' => array( 'type' => 'select', 'heading' => __( 'انیمیشن', 'flatsome' ), 'options' => require( __DIR__ . '/values/animate.php' ), ), 'parallax' => array( 'type' => 'slider', 'heading' => __( 'پارالکس', 'flatsome' ), 'param_name' => 'parallax', 'default' => 0, 'unit' => '+', 'max' => 10, 'min' => -10, ), ), ), // Layout options 'positions' => require( __DIR__ . '/commons/position.php' ), 'text_options' => array( 'type' => 'group', 'heading' => __( 'متن', 'flatsome' ), 'options' => array( 'text_align' => array( 'type' => 'radio-buttons', 'heading' => __( 'موقعیت', 'flatsome' ), 'default' => 'center', 'options' => require( __DIR__ . '/values/align-radios.php' ), ), 'text_depth' => array( 'type' => 'slider', 'heading' => __( 'سایه', 'flatsome' ), 'default' => '0', 'unit' => '+', 'max' => '5', 'min' => '0', ), ) ), // Text options 'bg_options' => array( 'type' => 'group', 'heading' => __( 'پسزمینه', 'flatsome' ), 'options' => array( 'bg' => array( 'type' => 'colorpicker', 'heading' => __( 'رنگ پس زمینه', 'flatsome' ), 'alpha' => true, 'format' => 'rgb', 'position' => 'bottom right', ), 'radius' => array( 'type' => 'slider', 'heading' => __( 'ردیوس', 'flatsome' ), 'default' => 0, 'unit' => 'px', 'max' => 500, 'min' => 0, ), 'depth' => array( 'type' => 'slider', 'heading' => __( 'دیپ', 'flatsome' ), 'default' => '0', 'unit' => '+', 'max' => '5', 'min' => '0', ), 'depth_hover' => array( 'type' => 'slider', 'heading' => __( 'دیپ در حالت شناور', 'flatsome' ), 'default' => '0', 'unit' => '+', 'max' => '5', 'min' => '0', ), ) ), // Frame 'border_options' => require( __DIR__ . '/commons/border.php' ), '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]