PATH:
home
/
niazsaze
/
public_html
/
wp-content
/
themes
/
flatsome
/
inc
/
builder
/
shortcodes
<?php add_ux_builder_shortcode( 'featured_box', array( 'type' => 'container', 'name' => __( 'جعبه آیکون', 'flatsome' ), 'category' => __( 'Content', 'flatsome' ), 'thumbnail' => flatsome_ux_builder_thumbnail( 'icon_box' ), 'wrap' => false, 'presets' => array( array( 'name' => __( 'Default', 'flatsome' ), 'content' => '[featured_box]<h3>Lorem ipsum dolor sit amet</h3><p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat....</p>[/featured_box]', ), ), 'options' => array( 'img' => array( 'type' => 'image', 'heading' => 'آیکون', 'value' => '', ), 'inline_svg' => array( 'type' => 'checkbox', 'heading' => 'آیکو اس وی جی خطی', 'default' => 'true', ), 'img_width' => array( 'type' => 'slider', 'heading' => 'Icon Width', 'unit' => 'px', 'default' => 60, 'max' => 600, 'min' => 20, 'on_change' => array( 'selector' => '.icon-box-img', 'style' => 'width: {{ value }}px', ), ), 'pos' => array( 'type' => 'select', 'heading' => 'Icon Position', 'default' => 'top', 'options' => array( 'top' => 'Top', 'center' => 'Center', 'left' => 'Left', 'right' => 'Right', ), ), 'title' => array( 'type' => 'textfield', 'heading' => 'Title', 'value' => '', 'on_change' => array( 'selector' => '.icon-box-text h5', 'content' => '{{ value }}', ), ), 'title_small' => array( 'type' => 'textfield', 'heading' => 'Title Small', 'value' => '', 'on_change' => array( 'selector' => '.icon-box-text h6', 'content' => '{{ value }}', ), ), 'tooltip' => array( 'type' => 'textfield', 'heading' => 'تولتیپ ( متن راهنما )', 'value' => '', ), 'font_size' => array( 'type' => 'radio-buttons', 'heading' => __( 'متن سایز', 'flatsome' ), 'default' => 'medium', 'options' => require( __DIR__ . '/values/text-sizes.php' ), 'on_change' => array( 'recompile' => false, 'class' => 'is-{{ value }}', ), ), 'margin' => array( 'type' => 'margins', 'heading' => __( 'فاصله', 'flatsome' ), 'value' => '', 'default' => '', 'min' => -100, 'max' => 100, 'step' => 1, 'on_change' => array( 'selector' => '.icon-box', 'style' => 'margin: {{ value }}', ), ), 'icon_border' => array( 'type' => 'slider', 'heading' => 'خط حاشیه آیکون', 'unit' => 'px', 'default' => 0, 'max' => 10, 'min' => 0, 'on_change' => array( 'selector' => '.has-icon-bg .icon-inner', 'style' => 'border-width: {{ value }}px', ), ), 'icon_color' => array( 'type' => 'colorpicker', 'heading' => __( 'رنگ آیکون', 'flatsome' ), 'description' => __( 'فقط برای آیکون های SVG ساده کار می کند', 'flatsome' ), 'format' => 'rgb', 'position' => 'bottom right', 'on_change' => array( 'selector' => '.icon-inner', 'style' => 'color: {{ value }}', ), ), 'link_group' => require( __DIR__ . '/commons/links.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]