PATH:
home
/
niazsaze
/
public_html
/
wp-content
/
themes
/
flatsome
/
inc
/
builder
/
shortcodes
<?php /** * Registers the Menu link element in UX Builder. * * @package flatsome */ $flatsome_ux_menu_link_options = require __DIR__ . '/commons/links.php'; $flatsome_ux_menu_link_options['options'] = flatsome_array_insert( $flatsome_ux_menu_link_options['options'], array( 'post' => array( 'type' => 'select', 'full_width' => true, 'conditions' => '!term && !link', 'config' => array( 'placeholder' => __( 'Select post..', 'flatsome' ), 'postSelect' => array(), ), ), 'term' => array( 'type' => 'select', 'full_width' => true, 'conditions' => '!post && !link', 'config' => array( 'placeholder' => __( 'Select category..', 'flatsome' ), 'termSelect' => array( 'taxonomies' => array( 'post_tag', 'category', 'product_cat', 'product_tag', ), ), ), ), ), 0 ); $flatsome_ux_menu_link_options['options']['link']['conditions'] = '!post && !term'; add_ux_builder_shortcode( 'ux_menu_link', array( 'name' => __( 'لینک منو', 'flatsome' ), 'category' => __( 'Content', 'flatsome' ), 'info' => '{{ label }}', 'require' => array( 'ux_menu' ), 'template' => flatsome_ux_builder_template( 'ux_menu_link.html' ), 'wrap' => false, 'presets' => array( array( 'name' => __( 'Default', 'flatsome' ), 'content' => '[ux_menu_link text="Menu link"]', ), ), 'options' => array( 'text' => array( 'type' => 'textfield', 'heading' => __( 'متن', 'flatsome' ), 'default' => '', 'auto_focus' => true, ), 'icon' => array( 'type' => 'select', 'heading' => __( 'آیکون', 'flatsome' ), 'options' => require __DIR__ . '/values/icons.php', ), 'label' => array( 'type' => 'select', 'heading' => __( 'برچسب', 'flatsome' ), 'options' => require __DIR__ . '/values/menu-labels.php', ), 'link_options' => $flatsome_ux_menu_link_options, '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]