PATH:
home
/
niazsaze
/
public_html
/
wp-content
/
themes
/
flatsome
/
inc
/
builder
/
shortcodes
<?php add_ux_builder_shortcode( 'map', array( 'type' => 'container', 'name' => __( 'نقشه', 'flatsome' ), 'category' => __( 'Content', 'flatsome' ), 'thumbnail' => flatsome_ux_builder_thumbnail( 'map' ), 'template' => flatsome_ux_builder_template( 'map.html' ), 'wrap' => false, 'scripts' => array( 'google-maps' => '//maps.google.com/maps/api/js?key='. trim( get_theme_mod( 'google_map_api', 'AIzaSyCnQHEUD4Yvg4m1ul3PWUwsjctR1Cl2NFc' ) ), ), 'presets' => array( array( 'name' => 'Default', 'content' => ' [map content_width="30" content_width__sm="100" content_width__md="40" position_x__sm="100" position_y__sm="100"] Enter street adress here. Or any other information you want.</p> [/map]', ), ), 'options' => array( 'height' => array( 'type' => 'scrubfield', 'heading' => 'ارتفاع', 'default' => '400px', 'responsive' => true ), 'lat' => array( 'type' => 'scrubfield', 'heading' => 'عرض جغرافیایی', 'default' => '40.79028', 'step' => '0.00001', 'unit' => '', ), 'long' => array( 'type' => 'scrubfield', 'heading' => 'طول جغرافیایی', 'default' => '-73.95972', 'step' => '0.00001', 'unit' => '', ), 'zoom' => array( 'type' => 'slider', 'heading' => __( 'زوم', 'flatsome' ), 'default' => 17, 'max' => 20, 'min' => 1, ), 'pan' => array( 'type' => 'checkbox', 'heading' => __( 'پان', 'flatsome' ), 'default' => 'true', ), 'content_group' => array( 'type' => 'group', 'heading' => __( 'محتوا', 'flatsome' ), 'options' => array( 'content_enable' => array( 'type' => 'checkbox', 'heading' => __( 'نمایش محتوا', 'flatsome' ), 'default' => 'true', ), 'content_bg' => array( 'type' => 'colorpicker', 'heading' => __( 'پس زمینه', 'flatsome' ), 'format' => 'rgb', 'default' => '#fff', 'position' => 'bottom right', ), 'content_width' => array( 'type' => 'slider', 'heading' => __( 'عرض', 'flatsome' ), 'responsive' => true, 'default' => 30, 'min' => 0, 'max' => 100, 'step' => 1 ), 'position_x' => array( 'type' => 'slider', 'heading' => __( 'موقعیت X', 'flatsome' ), 'responsive' => true, 'default' => 95, 'min' => 0, 'max' => 100, 'step' => 5 ), 'position_y' => array( 'type' => 'slider', 'heading' => __( 'Y موقعیت ', 'flatsome' ), 'responsive' => true, 'default' => 95, 'min' => 0, 'max' => 100, 'step' => 5 ), ), ), 'controls_group' => array( 'type' => 'group', 'heading' => __( 'کنترل ها', 'flatsome' ), 'options' => array( 'controls' => array( 'type' => 'checkbox', 'heading' => __( 'نمایش محتوا ها', 'flatsome' ), 'default' => false, ), 'zoom_control' => array( 'type' => 'checkbox', 'heading' => __( 'زوم', 'flatsome' ), 'default' => 'true', 'conditions' => 'controls === "true"' ), 'street_view_control' => array( 'type' => 'checkbox', 'heading' => __( 'نمایش استریت', 'flatsome' ), 'default' => 'true', 'conditions' => 'controls === "true"' ), 'map_type_control' => array( 'type' => 'checkbox', 'heading' => __( 'نوع نقشه', 'flatsome' ), 'default' => 'true', 'conditions' => 'controls === "true"' ), ), ), 'styles_group' => array( 'type' => 'group', 'heading' => 'استایل', 'options' => array( 'color' => array( 'type' => 'colorpicker', 'heading' => 'رنگ', 'default' => '', 'format' => 'hex', 'position' => 'bottom right', ), 'saturation' => array( 'type' => 'slider', 'heading' => 'اشباع', 'default' => -30, 'max' => 100, 'min' => -100, ), ), ), '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]