PATH:
home
/
niazsaze
/
public_html
/
wp-content
/
themes
/
flatsome
/
inc
/
builder
/
shortcodes
<?php add_ux_builder_shortcode( 'section', array( 'type' => 'container', 'name' => __( 'بخش', 'ux-builder' ), 'category' => __( 'Layout', 'flatsome' ), 'template' => flatsome_ux_builder_template( 'section.html' ), 'thumbnail' => flatsome_ux_builder_thumbnail( 'section' ), 'wrap' => false, 'info' => '{{ label }}', 'priority' => -1, 'styles' => array( 'flatsome-banner-effect' => get_template_directory_uri() . '/assets/css/effects.css', ), 'presets' => array( array( 'name' => __( 'پیشفرض', 'flatsome' ), 'thumbnail' => flatsome_ux_builder_thumbnail( 'sections/simple-white' ), 'content' => '[section] [/section]', ), array( 'name' => __( 'پیشفرض تاریک', 'flatsome' ), 'thumbnail' => flatsome_ux_builder_thumbnail( 'sections/simple-center' ), 'content' => '[section bg_color="rgb(40, 40, 40)" dark="true"] [/section]', ), array( 'name' => __( 'روشن ساده', 'flatsome' ), 'thumbnail' => flatsome_ux_builder_thumbnail( 'sections/simple-light' ), 'content' => '[section label="Simple Light" bg_color="rgb(245, 245, 245)" padding="60px" height="300px" border="1px 0px 0px 0px" border_color="rgb(235, 235, 235)"] [row] [col span="4" span__sm="12"] <h2 class="uppercase">This is a headline</h2> <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.</p> [/col] [col span="4" span__sm="12"] <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.</p> [/col] [col span="4" span__sm="12"] <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.</p> [/col] [/row] [/section]', ), array( 'name' => __( 'ساده وسط', 'flatsome' ), 'thumbnail' => flatsome_ux_builder_thumbnail( 'sections/simple-center' ), 'content' => '[section label="Simple Center" bg_color="rgb(245, 245, 245)" padding="60px" height="300px" border_color="rgb(235, 235, 235)"] [row h_align="center"] [col span="10" align="center" span__sm="12"] <h2 class="uppercase">This is a headline</h2> <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.</p> [/col] [/row] [/section]', ), array( 'name' => __( 'حرکت بالا', 'flatsome' ), 'thumbnail' => flatsome_ux_builder_thumbnail( 'sections/arrow-down' ), 'content' => '[section label="Section with arrow" bg_color="rgb(0, 0, 0)" bg_overlay="rgba(0, 0, 0, 0.4)" dark="true" mask="arrow" padding="59px" height="300px" border="1px 0px 0px 0px" border_color="rgb(235, 235, 235)"] [row] [col span="4" span__sm="12" text_depth="2"] <h2 class="uppercase">This is a headline with arrow on top</h2> <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.</p> [/col] [col span="4" span__sm="12" text_depth="2"] <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.</p> [/col] [col span="4" span__sm="12" text_depth="2"] <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.</p> [/col] [/row] [/section]', ), array( 'name' => __( 'جعبه راست تاریک', 'flatsome' ), 'thumbnail' => flatsome_ux_builder_thumbnail( 'sections/box-right-dark' ), 'content' => '[section label="Dark section with box right" bg_color="rgb(171, 171, 171)" bg_overlay="rgba(0, 0, 0, 0.64)" padding="59px" height="300px" border="1px 0px 0px 0px" border_color="rgb(235, 235, 235)"] [row style="large" v_align="middle" h_align="center"] [col span="6" span__sm="12" align="center" color="light"] <h2>Dark section with content right</h2> <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.</p> [/col] [col span="6" span__sm="12" padding="15px 15px 15px 15px" align="left" bg_color="rgb(255, 255, 255)" animate="flipInY" depth="2" depth_hover="5"] [/col] [/row] [/section]', ), array( 'name' => __( 'جعبه چپ تاریک', 'flatsome' ), 'thumbnail' => flatsome_ux_builder_thumbnail( 'sections/box-left-dark' ), 'content' => '[section label="Dark section with box left" bg_color="rgb(171, 171, 171)" bg_overlay="rgba(0, 0, 0, 0.78)" padding="59px" height="300px" border="1px 0px 0px 0px" border_color="rgb(235, 235, 235)"] [row style="large" v_align="middle" h_align="center"] [col span="6" span__sm="12" padding="15px 15px 15px 15px" bg_color="rgb(255, 255, 255)" depth="2" depth_hover="5"] [/col] [col span="6" span__sm="12" align="center" color="light"] <h2>Dark section with content left</h2> <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.</p> [button text="Add Any content here"] [/col] [/row] [/section]', ), array( 'name' => __( 'جعبه راست', 'flatsome' ), 'thumbnail' => flatsome_ux_builder_thumbnail( 'sections/box-right' ), 'content' => '[section label="Section with box left" bg_color="rgb(228, 228, 228)" padding="59px" height="300px" border="1px 0px 0px 0px" border_color="rgb(235, 235, 235)"] [row style="large" v_align="middle" h_align="center"] [col span="6" span__sm="12" align="center"] <h2>Section with content right</h2> <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.</p> [/col] [col span="6" span__sm="12" padding="15px 15px 15px 15px" bg_color="rgb(255, 255, 255)" depth="2" depth_hover="5"] [/col] [/row] [/section]', ), array( 'name' => __( 'جعبه چپ', 'flatsome' ), 'thumbnail' => flatsome_ux_builder_thumbnail( 'sections/box-left' ), 'content' => '[section bg_color="rgb(240, 240, 240)" padding="59px" height="300px" border="1px 0px 0px 0px" border_color="rgb(235, 235, 235)"] [row style="large" v_align="middle" h_align="center"] [col span="6" span__sm="12" padding="15px 15px 15px 15px" bg_color="rgb(255, 255, 255)" depth="2" depth_hover="5"] [/col] [col span="6" span__sm="12" align="center"] <h2>Section with content left</h2> <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.</p> [/col] [/row] [/section]', ), array( 'name' => __( 'رسانه چپ', 'flatsome' ), 'thumbnail' => flatsome_ux_builder_thumbnail( 'sections/media-left' ), 'content' => '[section label="Media Left" bg_color="rgb(193, 193, 193)" bg_overlay="rgba(255, 255, 255, 0.85)" padding="60px"] [row style="large" v_align="middle"] [col span="6" span__sm="12"] [ux_image] [/col] [col span="6" span__sm="12" align="left"] <h2>Section with image left</h2> <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.</p> [button text="Add Any content here"] [/col] [/row] [/section]', ), array( 'name' => __( 'رسانه راست', 'flatsome' ), 'thumbnail' => flatsome_ux_builder_thumbnail( 'sections/media-right' ), 'content' => '[section label="Media Right" bg_color="rgb(193, 193, 193)" bg_overlay="rgba(255, 255, 255, 0.85)" padding="60px"] [row style="large" v_align="middle"] [col span="6" span__sm="12" align="left"] <h2>Section with Image right</h2> <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.</p> [button text="Add Any content here"] [/col] [col span="6" span__sm="12"] [ux_image] [/col] [/row] [/section]', ), array( 'name' => __( 'رسانه چپ بزرگ', 'flatsome' ), 'thumbnail' => flatsome_ux_builder_thumbnail( 'sections/media-left-large' ), 'content' => '[section label="Media Left Large" bg_color="rgb(247, 247, 247)" bg_overlay="rgba(255, 255, 255, 0.85)" padding="0px"] [row style="collapse" width="full-width" v_align="middle"] [col span="6" span__sm="12"] [ux_image] [/col] [col span="6" span__sm="12" padding="10% 10% 10% 10%" align="center" max_width="520px"] <h2>Section with large image left</h2> <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.</p> [button text="Add Any content here"] [/col] [/row] [/section]', ), array( 'name' => __( 'رسانه راست بزرگ', 'flatsome' ), 'thumbnail' => flatsome_ux_builder_thumbnail( 'sections/media-right-large' ), 'content' => '[section label="Media Right Large" bg_color="rgb(247, 247, 247)" bg_overlay="rgba(255, 255, 255, 0.85)" padding="0px"] [row style="collapse" width="full-width" v_align="middle"] [col span="6" span__sm="12" padding="10% 10% 10% 10%" align="center" max_width="520px"] <h2>Section with large image right</h2> <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.</p> [/col] [col span="6" span__sm="12"] [ux_image] [/col] [/row] [/section]', ), array( 'name' => __( 'رسانه راست بزرگ تاریک', 'flatsome' ), 'thumbnail' => flatsome_ux_builder_thumbnail( 'sections/media-right-large-dark' ), 'content' => '[section label="Media right large" bg_color="rgb(64, 64, 64)" bg_overlay="rgba(0, 0, 0, 0.7)" dark="true" padding="0px"] [row style="collapse" width="full-width" v_align="middle"] [col span="6" span__sm="12" padding="5% 5% 5% 0px" align="left" max_width="520px"] <h2>Dark Section with large image right</h2> <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.</p> [button text="Add Any content here"] [/col] [col span="6" span__sm="12"] [ux_image] [/col] [/row] [/section]', ), array( 'name' => __( 'رسانه چپ بزرگ تاریک', 'flatsome' ), 'thumbnail' => flatsome_ux_builder_thumbnail( 'sections/media-left-large-dark' ), 'content' => '[section label="Media Left Large" bg_color="rgb(64, 64, 64)" bg_overlay="rgba(0, 0, 0, 0.73)" dark="true" padding="0px"] [row style="collapse" width="full-width" v_align="middle"] [col span="6" span__sm="12"] [ux_image] [/col] [col span="6" span__sm="12" padding="5% 5% 5% 5%" align="left" max_width="520px"] <h2>Dark Section with a large image left</h2> <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.</p> [button text="Add Any content here"] [/col] [/row] [/section]', ), array( 'name' => __( 'رسانه وسط', 'flatsome' ), 'thumbnail' => flatsome_ux_builder_thumbnail( 'sections/media-center' ), 'content' => '[section label="Media Center" bg_color="rgb(193, 193, 193)" bg_overlay="rgba(255, 255, 255, 0.85)"] [row style="large" h_align="center"] [col span="3" span__sm="12" align="right"] <h2>Section with Image center</h2> <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.</p> [/col] [col span="5" span__sm="12"] [ux_image] [/col] [col span="3" span__sm="12" align="left"] <h2>Section with Image center</h2> <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.</p> [/col] [/row] [/section]', ), array( 'name' => __( 'رسانه بالا', 'flatsome' ), 'thumbnail' => flatsome_ux_builder_thumbnail( 'sections/media-top' ), 'content' => '[section label="Media Top" bg_color="rgb(193, 193, 193)" bg_overlay="rgba(255, 255, 255, 0.85)" padding="0px"] [row style="large" h_align="center"] [col] [ux_image] [/col] [col span="7" span__sm="12" align="center"] <h2>Section with Image Top</h2> <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.</p> [/col] [/row] [/section]', ), array( 'name' => __( 'رسانه پایین', 'flatsome' ), 'thumbnail' => flatsome_ux_builder_thumbnail( 'sections/media-bottom' ), 'content' => '[section label="Media Bottom" bg_color="rgb(208, 208, 208)" bg_overlay="rgba(255, 255, 255, 0.85)" padding="0px"] [row style="collapse" h_align="center"] [col span="6" span__sm="12" padding="50px 0px 50px 0px" align="center"] <h2>Section with Image Bottom</h2> <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.</p> [/col] [col] [ux_image] [/col] [/row] [/section]', ), ), 'options' => array( 'label' => array( 'type' => 'textfield', 'heading' => 'برچسب ادمین', 'placeholder' => 'برچسب ادمین را وارد نمایید...', ), 'background_options' => require( __DIR__ . '/commons/background.php' ), 'layout_options' => array( 'type' => 'group', 'heading' => __( 'چیدمان', 'flatsome' ), 'options' => array( 'dark' => array( 'type' => 'radio-buttons', 'heading' => 'رنگ', 'default' => 'false', 'options' => array( 'true' => array( 'title' => 'روشن' ), 'false' => array( 'title' => 'تاریک' ), ), ), 'sticky' => array( 'type' => 'radio-buttons', 'heading' => 'استیکی', 'default' => '', 'options' => array( 'true' => array( 'title' => 'روشن' ), '' => array( 'title' => 'خاموش' ), ), ), 'mask' => array( 'type' => 'select', 'heading' => 'ماسک', 'options' => require( __DIR__ . '/values/masks.php' ), ), 'padding' => array( 'type' => 'scrubfield', 'heading' => 'Padding', 'responsive' => true, 'default' => '30px', 'min' => 0, 'max' => 500, ), 'height' => array( 'type' => 'scrubfield', 'heading' => 'کمترین ارتفاع', 'responsive' => true, 'min' => 0, 'max' => 1000, ), 'margin' => array( 'type' => 'scrubfield', 'heading' => 'مارجین', 'min' => -500, 'max' => 500, ), 'scroll_for_more' => array( 'type' => 'radio-buttons', 'heading' => 'اسکرول برای بیشتر', 'default' => '', 'options' => array( '' => array( 'title' => 'خاموش' ), 'true' => array( 'title' => 'روشن' ), ), ), 'loading' => array( 'type' => 'radio-buttons', 'heading' => 'در حال بارگذاری اسپینر', 'default' => '', 'options' => array( '' => array( 'title' => 'خاموش' ), 'true' => array( 'title' => 'روشن' ), ), ), ), ), 'shape_divider_options' => require( __DIR__ . '/commons/shape-divider.php' ), 'border_options' => require( __DIR__ . '/commons/border.php' ), 'video_options' => require( __DIR__ . '/commons/video.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]