PATH:
home
/
niazsaze
/
public_html
/
wp-content
/
themes
/
flatsome
/
inc
/
builder
/
shortcodes
<?php // Add to builder add_ux_builder_shortcode( 'ux_countdown', array( 'name' => __( 'Countdown', 'flatsome' ), 'category' => __( 'Content', 'flatsome' ), 'thumbnail' => flatsome_ux_builder_thumbnail( 'countdown' ), 'allow_in' => array('text_box'), 'scripts' => array( 'flatsome-countdown-script' => get_template_directory_uri() . '/inc/shortcodes/ux_countdown/countdown-script-min.js', 'flatsome-countdown-theme-js' => get_template_directory_uri() . '/inc/shortcodes/ux_countdown/ux-countdown.js' ), 'styles' => array( 'flatsome-countdown-style' => get_template_directory_uri() . '/inc/shortcodes/ux_countdown/ux-countdown.css', ), 'options' => array( 'style' => array( "type" => "select", "heading" => __( 'Style', 'flatsome' ), "default" => 'clock', "options" => array( 'clock' => 'Clock', 'text' => 'متن', ) ), 'size' => array( 'type' => 'slider', 'heading' => __( 'سایز', 'flatsome' ), 'responsive' => true, 'default' => '300', 'unit' => '%', 'responsive' => true, 'max' => '400', 'min' => '0', 'on_change' => array( 'selector' => '.ux-timer, .ux-timer-text', 'style' => 'font-size: {{ value }}%' ), ), 'color' => array( 'type' => 'radio-buttons', 'heading' => __( 'رنگ', 'flatsome' ), 'default' => 'dark', 'options' => array( 'dark' => array( 'title' => 'روشن' ), 'light' => array( 'title' => 'تاریک' ), ), ), 'bg_color' => array( 'type' => 'colorpicker', 'heading' => __( 'پس زمینه', 'flatsome' ), 'responsive' => true, 'default' => '', 'alpha' => true, 'format' => 'rgb', 'position' => 'پایین راست', 'helpers' => require( __DIR__ . '/helpers/colors.php' ), ), 'year' => array( "type" => "textfield", "heading" => "Year", "default" => "2021" ), 'month' => array( "type" => "textfield", "heading" => "ماه", "default" => "12" ), 'day' => array( "type" => "textfield", "heading" => "روز", "default" => "31" ), 'time' => array( "type" => "textfield", "heading" => "زمان", "default" => "18:00" ), 'translations' => array( 'type' => 'group', 'heading' => 'متن ها', 'options' => array( 't_week' => array( "type" => "textfield", "heading" => "Week", "default" => "week"), 't_day' => array( "type" => "textfield", "heading" => "Day", "default" => "day"), 't_hour' => array( "type" => "textfield", "heading" => "Hour", "default" => "hour"), 't_min' => array( "type" => "textfield", "heading" => "Min", "default" => "min"), 't_sec' => array( "type" => "textfield", "heading" => "Sec", "default" => "sec"), ) ), 'translations_p' => array( 'type' => 'group', 'heading' => 'جمع متنها', 'options' => array( 't_plural' => array( "type" => "textfield", "heading" => "Plural default", "default" => ""), 't_week_p' => array( "type" => "textfield", "heading" => "Week Plural"), 't_day_p' => array( "type" => "textfield", "heading" => "Day Plural"), 't_hour_p' => array( "type" => "textfield", "heading" => "Hour Plural"), 't_min_p' => array( "type" => "textfield", "heading" => "Min Plural"), 't_sec_p' => array( "type" => "textfield", "heading" => "Sec Plural"), ) ) ) ) );
[-] 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]