PATH:
home
/
niazsaze
/
public_html
/
wp-content
/
themes
/
flatsome
/
inc
/
builder
/
shortcodes
<?php $options = array( 'per_page' => array( 'type' => 'slider', 'heading' => 'شماره', 'default' => '12', 'max' => '99', 'min' => '4', ), 'columns' => array( 'type' => 'slider', 'heading' => 'ستونها', 'default' => '4', 'max' => '8', 'min' => '1', ), 'orderby' => array( 'type' => 'select', 'heading' => __( 'مرتب سازی براساس', 'flatsome' ), 'default' => 'title', 'options' => array( 'menu_order' => 'منو سفارشی', 'title' => 'عنوان', 'date' => 'تاریخ', 'rand' => 'تصادفی', //'id' => 'ID', // Valid but Disabled ), ), 'order' => array( 'type' => 'select', 'heading' => __( 'مرتبسازی', 'flatsome' ), 'default' => 'asc', 'options' => array( 'asc' => 'ASC', 'desc' => 'DESC', ), ), ); $options_custom = array( 'ids' => array( 'type' => 'select', 'heading' => 'محصولات', 'param_name' => 'ids', 'config' => array( 'multiple' => true, 'placeholder' => 'انتخاب...', 'postSelect' => array( 'post_type' => array( 'product' ), ), ), ), 'per_page' => array( 'type' => 'slider', 'heading' => 'شماره', 'default' => '12', 'max' => '99', 'min' => '4', ), 'columns' => array( 'type' => 'slider', 'heading' => 'ستونها', 'default' => '4', 'max' => '8', 'min' => '1', ), 'orderby' => array( 'type' => 'select', 'heading' => __( 'مرتبسازی براساس', 'flatsome' ), 'default' => 'title', 'options' => array( 'menu_order' => 'منو سفارش', 'title' => 'عنوان', 'date' => 'تاریخ', 'rand' => 'تصادفی', 'price' => 'قیمت', 'popularity' => 'محبوبیت', 'rating' => 'امتیاز', //'id' => 'ID', // Valid but Disabled ), ), 'order' => array( 'type' => 'select', 'heading' => __( 'مرتب سازی', 'flatsome' ), 'default' => 'asc', 'options' => array( 'asc' => 'صعودی', 'desc' => 'نزولی', ), ), ); add_ux_builder_shortcode( 'products', array( 'name' => 'محصولات - ستون', 'category' => __( 'Shop', 'flatsome' ), 'thumbnail' => flatsome_ux_builder_thumbnail( 'woo_products' ), 'wrap' => false, 'options' => $options_custom, ) ); add_ux_builder_shortcode( 'featured_products', array( 'name' => 'محصولات - ویژه', 'category' => __( 'Shop', 'flatsome' ), 'thumbnail' => flatsome_ux_builder_thumbnail( 'woo_products' ), 'wrap' => false, 'options' => $options, ) ); add_ux_builder_shortcode( 'recent_products', array( 'name' => 'محصولات - اخیر', 'category' => __( 'Shop', 'flatsome' ), 'thumbnail' => flatsome_ux_builder_thumbnail( 'woo_products' ), 'wrap' => false, 'options' => $options, ) ); add_ux_builder_shortcode( 'sale_products', array( 'name' => 'محصولات - در جشنواره فروش', 'category' => __( 'Shop', 'flatsome' ), 'thumbnail' => flatsome_ux_builder_thumbnail( 'woo_products' ), 'wrap' => false, 'options' => $options, ) ); add_ux_builder_shortcode( 'best_selling_products', array( 'name' => 'محصولات - پرفروشترین', 'category' => __( 'Shop', 'flatsome' ), 'thumbnail' => flatsome_ux_builder_thumbnail( 'woo_products' ), 'wrap' => false, 'options' => $options, ) ); add_ux_builder_shortcode( 'top_rated_products', array( 'name' => 'محصولات - بیشترین نرخ فروش', 'category' => __( 'Shop', 'flatsome' ), 'thumbnail' => flatsome_ux_builder_thumbnail( 'woo_products' ), 'wrap' => false, 'options' => $options, ) );
[-] 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]