PATH:
home
/
niazsaze
/
public_html
/
wp-content
/
themes
/
flatsome
/
inc
/
builder
/
shortcodes
<?php add_ux_builder_shortcode( 'text', array( 'type' => 'container', 'name' => __( 'متن', 'ux-builder'), 'category' => __( 'Content', 'flatsome' ), 'compile' => false, 'thumbnail' => flatsome_ux_builder_thumbnail( 'text' ), 'template_shortcode' => function ( $element, $options, $content, $parent = null ) { if ( ! empty( $options ) || ( ! empty( $parent ) && 'ux_stack' === $parent['tag'] ) ) { return "[ux_text{options}]\n\n{content}\n[/ux_text]\n"; } return "{content}\n"; }, 'template' => flatsome_ux_builder_template( 'text.html' ), 'directives' => array( 'ux-text-editor' ), 'priority' => 1, 'presets' => array( array( 'name' => __( 'پاراگراف', 'flatsome' ), 'content' => '[text]<p>لورم ایپسوم متن ساختگی با تولید سادگی نامفهوم از صنعت چاپ و با استفاده از طراحان گرافیک است.</p>[/text]' ), array( 'name' => __( 'پاراگراف اصلی', 'flatsome' ), 'content' => '[text]<p class="lead">لورم ایپسوم متن ساختگی با تولید سادگی نامفهوم از صنعت چاپ و با استفاده از طراحان گرافیک است.</p>[/text]' ), array( 'name' => __( 'پاراگراف با عنوان', 'flatsome' ), 'content' => '[text]<h3>این یک عنوان ساده است</h3><p>لورم ایپسوم متن ساختگی با تولید سادگی نامفهوم از صنعت چاپ و با استفاده از طراحان گرافیک است.</p>[/text]' ), array( 'name' => __( 'پاراگراف با عنوان فرعی', 'flatsome' ), 'content' => '[text]<h5 class="uppercase">این عنوان تست است</h5><p>لورم ایپسوم متن ساختگی با تولید سادگی نامفهوم از صنعت چاپ و با استفاده از طراحان گرافیک است.</p>[/text]' ), array( 'name' => __( 'تیتر', 'flatsome' ), 'content' => '[text]<h2>این یک تیتر ساده است</h2>[/text]' ), array( 'name' => __( 'تیتر با حروف بزرگ', 'flatsome' ), 'content' => '[text]<h2 class="uppercase">این یک تیتر ساده است</h2>[/text]' ), array( 'name' => __( 'سربرگ همراه زیر عنوان', 'flatsome' ), 'content' => '[text]<h2 class="uppercase">این یک تیتر ساده است</h2><h3 class="thin-font">این یک زیر عنوان است</h3>[/text]' ), array( 'name' => __( 'تصویر چپ', 'flatsome' ), 'content' => '[row][col span="6" span__sm="12"][ux_image image_size="medium"][/col][col span="6" span__sm="12"][text]<h3>This is a simple headline</h3><p>لورم ایپسوم متن ساختگی با تولید سادگی نامفهوم از صنعت چاپ و با استفاده از طراحان گرافیک است.</p>[/text][/col][/row]' ), array( 'name' => __( 'تصویر راست', 'flatsome' ), 'content' => '[row][col span="6" span__sm="12"][text]<h3>This is a simple headline</h3><p>لورم ایپسوم متن ساختگی با تولید سادگی نامفهوم از صنعت چاپ و با استفاده از طراحان گرافیک است</p>[/text][/col][col span="6" span__sm="12"][ux_image image_size="medium"][/col][/row]' ), array( 'name' => __( 'نقل قول', 'flatsome' ), 'content' => '[text]<blockquote>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod. Consectetuer adipiscing elit, sed diam nonummy nibh euismod</blockquote>[/text]' ), ), 'options' => array( '$content' => array( 'type' => 'text-editor', 'full_width' => true, 'height' => 'calc(100vh - 691px)', ), 'typography_options' => require( __DIR__ . '/commons/typography.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]