Submit
Path:
~
/
/
proc
/
thread-self
/
root
/
home
/
getwphos
/
public_html
/
perfumehousedhaka
/
wp-content
/
themes
/
yobazar
/
admin
/
File Content:
options.php
<?php $redux_url = ''; if( class_exists('ReduxFramework') ){ $redux_url = ReduxFramework::$_url; } $logo_url = get_template_directory_uri() . '/images/logo.png'; $favicon_url = get_template_directory_uri() . '/images/favicon.ico'; $color_image_folder = get_template_directory_uri() . '/admin/assets/images/colors/'; $list_colors = array('default'); $preset_colors_options = array(); foreach( $list_colors as $color ){ $preset_colors_options[$color] = array( 'alt' => $color ,'img' => $color_image_folder . $color . '.jpg' ,'presets' => yobazar_get_preset_color_options( $color ) ); } $family_fonts = array( "Arial, Helvetica, sans-serif" => "Arial, Helvetica, sans-serif" ,"'Arial Black', Gadget, sans-serif" => "'Arial Black', Gadget, sans-serif" ,"'Bookman Old Style', serif" => "'Bookman Old Style', serif" ,"'Comic Sans MS', cursive" => "'Comic Sans MS', cursive" ,"Courier, monospace" => "Courier, monospace" ,"Garamond, serif" => "Garamond, serif" ,"Georgia, serif" => "Georgia, serif" ,"Impact, Charcoal, sans-serif" => "Impact, Charcoal, sans-serif" ,"'Lucida Console', Monaco, monospace" => "'Lucida Console', Monaco, monospace" ,"'Lucida Sans Unicode', 'Lucida Grande', sans-serif" => "'Lucida Sans Unicode', 'Lucida Grande', sans-serif" ,"'MS Sans Serif', Geneva, sans-serif" => "'MS Sans Serif', Geneva, sans-serif" ,"'MS Serif', 'New York', sans-serif" => "'MS Serif', 'New York', sans-serif" ,"'Palatino Linotype', 'Book Antiqua', Palatino, serif" => "'Palatino Linotype', 'Book Antiqua', Palatino, serif" ,"Tahoma,Geneva, sans-serif" => "Tahoma, Geneva, sans-serif" ,"'Times New Roman', Times,serif" => "'Times New Roman', Times, serif" ,"'Trebuchet MS', Helvetica, sans-serif" => "'Trebuchet MS', Helvetica, sans-serif" ,"Verdana, Geneva, sans-serif" => "Verdana, Geneva, sans-serif" ,"CustomFont" => "CustomFont" ); $header_layout_options = array(); $header_image_folder = get_template_directory_uri() . '/admin/assets/images/headers/'; for( $i = 1; $i <= 4; $i++ ){ $header_layout_options['v' . $i] = array( 'alt' => sprintf(esc_html__('Header Layout %s', 'yobazar'), $i) ,'img' => $header_image_folder . 'header_v'.$i.'.jpg' ); } $loading_screen_options = array(); $loading_image_folder = get_template_directory_uri() . '/images/loading/'; for( $i = 1; $i <= 10; $i++ ){ $loading_screen_options[$i] = array( 'alt' => sprintf(esc_html__('Loading Image %s', 'yobazar'), $i) ,'img' => $loading_image_folder . 'loading_'.$i.'.svg' ); } $footer_block_options = yobazar_get_footer_block_options(); $breadcrumb_layout_options = array(); $breadcrumb_image_folder = get_template_directory_uri() . '/admin/assets/images/breadcrumbs/'; for( $i = 1; $i <= 3; $i++ ){ $breadcrumb_layout_options['v' . $i] = array( 'alt' => sprintf(esc_html__('Breadcrumb Layout %s', 'yobazar'), $i) ,'img' => $breadcrumb_image_folder . 'breadcrumb_v'.$i.'.jpg' ); } $sidebar_options = array(); $default_sidebars = yobazar_get_list_sidebars(); if( is_array($default_sidebars) ){ foreach( $default_sidebars as $key => $_sidebar ){ $sidebar_options[$_sidebar['id']] = $_sidebar['name']; } } $product_loading_image = get_template_directory_uri() . '/images/prod_loading.gif'; $option_fields = array(); /*** General Tab ***/ $option_fields['general'] = array( array( 'id' => 'section-logo-favicon' ,'type' => 'section' ,'title' => esc_html__( 'Logo - Favicon', 'yobazar' ) ,'subtitle' => '' ,'indent' => false ) ,array( 'id' => 'ts_logo' ,'type' => 'media' ,'url' => true ,'title' => esc_html__( 'Logo', 'yobazar' ) ,'desc' => '' ,'subtitle' => esc_html__( 'Select an image file for the main logo', 'yobazar' ) ,'readonly' => false ,'default' => array( 'url' => $logo_url ) ) ,array( 'id' => 'ts_logo_mobile' ,'type' => 'media' ,'url' => true ,'title' => esc_html__( 'Mobile Logo', 'yobazar' ) ,'desc' => '' ,'subtitle' => esc_html__( 'Display this logo on mobile', 'yobazar' ) ,'readonly' => false ,'default' => array( 'url' => '' ) ) ,array( 'id' => 'ts_logo_sticky' ,'type' => 'media' ,'url' => true ,'title' => esc_html__( 'Sticky Logo', 'yobazar' ) ,'desc' => '' ,'subtitle' => esc_html__( 'Display this logo on sticky header', 'yobazar' ) ,'readonly' => false ,'default' => array( 'url' => '' ) ) ,array( 'id' => 'ts_logo_width' ,'type' => 'text' ,'url' => true ,'title' => esc_html__( 'Logo Width', 'yobazar' ) ,'desc' => '' ,'subtitle' => esc_html__( 'Set width for logo (in pixels)', 'yobazar' ) ,'default' => '160' ) ,array( 'id' => 'ts_device_logo_width' ,'type' => 'text' ,'url' => true ,'title' => esc_html__( 'Logo Width on Device', 'yobazar' ) ,'desc' => '' ,'subtitle' => esc_html__( 'Set width for logo (in pixels)', 'yobazar' ) ,'default' => '136' ) ,array( 'id' => 'ts_favicon' ,'type' => 'media' ,'url' => true ,'title' => esc_html__( 'Favicon', 'yobazar' ) ,'desc' => '' ,'subtitle' => esc_html__( 'Select a PNG, GIF or ICO image', 'yobazar' ) ,'readonly' => false ,'default' => array( 'url' => $favicon_url ) ) ,array( 'id' => 'ts_text_logo' ,'type' => 'text' ,'title' => esc_html__( 'Text Logo', 'yobazar' ) ,'subtitle' => '' ,'desc' => '' ,'default' => 'Yobazar' ) ,array( 'id' => 'section-layout-style' ,'type' => 'section' ,'title' => esc_html__( 'Layout Style', 'yobazar' ) ,'subtitle' => '' ,'indent' => false ) ,array( 'id' => 'ts_layout_fullwidth' ,'type' => 'switch' ,'title' => esc_html__( 'Layout Fullwidth', 'yobazar' ) ,'subtitle' => '' ,'default' => true ) ,array( 'id' => 'ts_header_layout_fullwidth' ,'type' => 'switch' ,'title' => esc_html__( 'Header Layout Fullwidth', 'yobazar' ) ,'subtitle' => '' ,'default' => true ,'required' => array( 'ts_layout_fullwidth', 'equals', '1' ) ) ,array( 'id' => 'ts_main_content_layout_fullwidth' ,'type' => 'switch' ,'title' => esc_html__( 'Main Content Layout Fullwidth', 'yobazar' ) ,'subtitle' => '' ,'default' => false ,'required' => array( 'ts_layout_fullwidth', 'equals', '1' ) ) ,array( 'id' => 'ts_footer_layout_fullwidth' ,'type' => 'switch' ,'title' => esc_html__( 'Footer Layout Fullwidth', 'yobazar' ) ,'subtitle' => '' ,'default' => false ,'required' => array( 'ts_layout_fullwidth', 'equals', '1' ) ) ,array( 'id' => 'ts_layout_style' ,'type' => 'select' ,'title' => esc_html__( 'Layout Style', 'yobazar' ) ,'subtitle' => esc_html__( 'You can override this option for the individual page', 'yobazar' ) ,'desc' => '' ,'options' => array( 'wide' => 'Wide' ,'boxed' => 'Boxed' ) ,'default' => 'wide' ,'select2' => array('allowClear' => false, 'minimumResultsForSearch' => 'Infinity') ,'required' => array( 'ts_layout_fullwidth', 'equals', '0' ) ) ,array( 'id' => 'section-rtl' ,'type' => 'section' ,'title' => esc_html__( 'Right To Left', 'yobazar' ) ,'subtitle' => '' ,'indent' => false ) ,array( 'id' => 'ts_enable_rtl' ,'type' => 'switch' ,'title' => esc_html__( 'Enable Right To Left', 'yobazar' ) ,'subtitle' => '' ,'default' => false ) ,array( 'id' => 'section-smooth-scroll' ,'type' => 'section' ,'title' => esc_html__( 'Smooth Scroll', 'yobazar' ) ,'subtitle' => '' ,'indent' => false ) ,array( 'id' => 'ts_smooth_scroll' ,'type' => 'switch' ,'title' => esc_html__( 'Enable Smooth Scroll', 'yobazar' ) ,'subtitle' => '' ,'default' => false ) ,array( 'id' => 'section-back-to-top-button' ,'type' => 'section' ,'title' => esc_html__( 'Back To Top Button', 'yobazar' ) ,'subtitle' => '' ,'indent' => false ) ,array( 'id' => 'ts_back_to_top_button' ,'type' => 'switch' ,'title' => esc_html__( 'Enable Back To Top Button', 'yobazar' ) ,'subtitle' => '' ,'default' => true ) ,array( 'id' => 'ts_back_to_top_button_on_mobile' ,'type' => 'switch' ,'title' => esc_html__( 'Enable Back To Top Button On Mobile', 'yobazar' ) ,'subtitle' => '' ,'default' => true ) ,array( 'id' => 'section-page-not-found' ,'type' => 'section' ,'title' => esc_html__( '404 Page', 'yobazar' ) ,'subtitle' => '' ,'indent' => false ) ,array( 'id' => 'ts_text_clipping' ,'type' => 'text' ,'title' => esc_html__( 'Text Clipping', 'yobazar' ) ,'desc' => '' ,'subtitle' => '' ,'default' => '?' ) ,array( 'id' => 'ts_image_not_found' ,'type' => 'media' ,'url' => true ,'title' => esc_html__( '404 Image', 'yobazar' ) ,'desc' => '' ,'subtitle' => '' ,'readonly' => false ,'default' => array( 'url' => '' ) ) ,array( 'id' => 'ts_404_new_arrival_products' ,'type' => 'switch' ,'title' => esc_html__( 'New Arrival Products', 'yobazar' ) ,'subtitle' => '' ,'default' => true ) ,array( 'id' => 'section-loading-screen' ,'type' => 'section' ,'title' => esc_html__( 'Loading Screen', 'yobazar' ) ,'subtitle' => '' ,'indent' => false ) ,array( 'id' => 'ts_loading_screen' ,'type' => 'switch' ,'title' => esc_html__( 'Loading Screen', 'yobazar' ) ,'subtitle' => '' ,'default' => false ) ,array( 'id' => 'ts_loading_image' ,'type' => 'image_select' ,'title' => esc_html__( 'Loading Image', 'yobazar' ) ,'subtitle' => '' ,'desc' => '' ,'options' => $loading_screen_options ,'default' => '1' ) ,array( 'id' => 'ts_custom_loading_image' ,'type' => 'media' ,'url' => true ,'title' => esc_html__( 'Custom Loading Image', 'yobazar' ) ,'desc' => '' ,'subtitle' => '' ,'readonly' => false ,'default' => array( 'url' => '' ) ) ,array( 'id' => 'ts_display_loading_screen_in' ,'type' => 'select' ,'title' => esc_html__( 'Display Loading Screen In', 'yobazar' ) ,'subtitle' => '' ,'desc' => '' ,'options' => array( 'all-pages' => esc_html__( 'All Pages', 'yobazar' ) ,'homepage-only' => esc_html__( 'Homepage Only', 'yobazar' ) ,'specific-pages' => esc_html__( 'Specific Pages', 'yobazar' ) ) ,'default' => 'all-pages' ,'select2' => array('allowClear' => false, 'minimumResultsForSearch' => 'Infinity') ) ,array( 'id' => 'ts_loading_screen_exclude_pages' ,'type' => 'select' ,'title' => esc_html__( 'Exclude Pages', 'yobazar' ) ,'subtitle' => '' ,'desc' => '' ,'data' => 'pages' ,'multi' => true ,'default' => '' ,'required' => array( 'ts_display_loading_screen_in', 'equals', 'all-pages' ) ) ,array( 'id' => 'ts_loading_screen_specific_pages' ,'type' => 'select' ,'title' => esc_html__( 'Specific Pages', 'yobazar' ) ,'subtitle' => '' ,'desc' => '' ,'data' => 'pages' ,'multi' => true ,'default' => '' ,'required' => array( 'ts_display_loading_screen_in', 'equals', 'specific-pages' ) ) ); /*** Color Scheme Tab ***/ $option_fields['color-scheme'] = array( array( 'id' => 'ts_color_scheme' ,'type' => 'image_select' ,'presets' => true ,'full_width' => false ,'title' => esc_html__( 'Select Color Scheme of Theme', 'yobazar' ) ,'subtitle' => '' ,'desc' => '' ,'options' => $preset_colors_options ,'default' => 'default' ,'class' => 'hidden' ) ,array( 'id' => 'section-general-colors' ,'type' => 'section' ,'title' => esc_html__( 'General Colors', 'yobazar' ) ,'subtitle' => '' ,'indent' => false ) ,array( 'id' => 'info-primary-colors' ,'type' => 'info' ,'notice' => false ,'title' => esc_html__( 'Primary Colors', 'yobazar' ) ,'desc' => '' ) ,array( 'id' => 'ts_primary_color' ,'type' => 'color_rgba' ,'title' => esc_html__( 'Primary Color', 'yobazar' ) ,'subtitle' => '' ,'default' => array( 'color' => '#D9121F' ,'alpha' => 1 ) ) ,array( 'id' => 'ts_text_color_in_bg_primary' ,'type' => 'color_rgba' ,'title' => esc_html__( 'Text Color In Background Primary Color', 'yobazar' ) ,'subtitle' => '' ,'default' => array( 'color' => '#ffffff' ,'alpha' => 1 ) ) ,array( 'id' => 'info-main-content-colors' ,'type' => 'info' ,'notice' => false ,'title' => esc_html__( 'Main Content Colors', 'yobazar' ) ,'desc' => '' ) ,array( 'id' => 'ts_main_content_background_color' ,'type' => 'color_rgba' ,'title' => esc_html__( 'Main Content Background Color', 'yobazar' ) ,'subtitle' => '' ,'default' => array( 'color' => '#ffffff' ,'alpha' => 1 ) ) ,array( 'id' => 'ts_text_color' ,'type' => 'color_rgba' ,'title' => esc_html__( 'Text Color', 'yobazar' ) ,'subtitle' => '' ,'default' => array( 'color' => '#191919' ,'alpha' => 1 ) ) ,array( 'id' => 'ts_text_bold_color' ,'type' => 'color_rgba' ,'title' => esc_html__( 'Text Bold Color', 'yobazar' ) ,'subtitle' => '' ,'default' => array( 'color' => '#191919' ,'alpha' => 1 ) ) ,array( 'id' => 'ts_text_gray_color' ,'type' => 'color_rgba' ,'title' => esc_html__( 'Gray Text Color', 'yobazar' ) ,'subtitle' => '' ,'default' => array( 'color' => '#808080' ,'alpha' => 1 ) ) ,array( 'id' => 'ts_heading_color' ,'type' => 'color_rgba' ,'title' => esc_html__( 'Heading Color', 'yobazar' ) ,'subtitle' => '' ,'default' => array( 'color' => '#191919' ,'alpha' => 1 ) ) ,array( 'id' => 'ts_link_color' ,'type' => 'color_rgba' ,'title' => esc_html__( 'Link Color', 'yobazar' ) ,'subtitle' => '' ,'default' => array( 'color' => '#D9121F' ,'alpha' => 1 ) ) ,array( 'id' => 'ts_link_color_hover' ,'type' => 'color_rgba' ,'title' => esc_html__( 'Link Color Hover', 'yobazar' ) ,'subtitle' => '' ,'default' => array( 'color' => '#D9121F' ,'alpha' => 1 ) ) ,array( 'id' => 'ts_border_color' ,'type' => 'color_rgba' ,'title' => esc_html__( 'Border Color', 'yobazar' ) ,'subtitle' => '' ,'default' => array( 'color' => '#e6e6e6' ,'alpha' => 1 ) ) ,array( 'id' => 'info-input-colors' ,'type' => 'info' ,'notice' => false ,'title' => esc_html__( 'Input Colors', 'yobazar' ) ,'desc' => '' ) ,array( 'id' => 'ts_input_text_color' ,'type' => 'color_rgba' ,'title' => esc_html__( 'Input Text Color', 'yobazar' ) ,'subtitle' => '' ,'default' => array( 'color' => '#191919' ,'alpha' => 1 ) ) ,array( 'id' => 'ts_input_background_color' ,'type' => 'color_rgba' ,'title' => esc_html__( 'Input Background Color', 'yobazar' ) ,'subtitle' => '' ,'default' => array( 'color' => '#ffffff' ,'alpha' => 1 ) ) ,array( 'id' => 'ts_input_border_color' ,'type' => 'color_rgba' ,'title' => esc_html__( 'Input Border Color', 'yobazar' ) ,'subtitle' => '' ,'default' => array( 'color' => '#cccccc' ,'alpha' => 1 ) ) ,array( 'id' => 'ts_input_search_background_color' ,'type' => 'color_rgba' ,'title' => esc_html__( 'Input Search Background Color', 'yobazar' ) ,'subtitle' => '' ,'default' => array( 'color' => '#f2f2f2' ,'alpha' => 1 ) ) ,array( 'id' => 'ts_input_search_border_color' ,'type' => 'color_rgba' ,'title' => esc_html__( 'Input Search Border Color', 'yobazar' ) ,'subtitle' => '' ,'default' => array( 'color' => '#f2f2f2' ,'alpha' => 1 ) ) ,array( 'id' => 'info-button-colors' ,'type' => 'info' ,'notice' => false ,'title' => esc_html__( 'Button Colors', 'yobazar' ) ,'desc' => '' ) ,array( 'id' => 'ts_button_text_color' ,'type' => 'color_rgba' ,'title' => esc_html__( 'Button Text Color', 'yobazar' ) ,'subtitle' => '' ,'default' => array( 'color' => '#ffffff' ,'alpha' => 1 ) ) ,array( 'id' => 'ts_button_background_color' ,'type' => 'color_rgba' ,'title' => esc_html__( 'Button Background Color', 'yobazar' ) ,'subtitle' => '' ,'default' => array( 'color' => '#191919' ,'alpha' => 1 ) ) ,array( 'id' => 'ts_button_border_color' ,'type' => 'color_rgba' ,'title' => esc_html__( 'Button Border Color', 'yobazar' ) ,'subtitle' => '' ,'default' => array( 'color' => '#191919' ,'alpha' => 1 ) ) ,array( 'id' => 'ts_button_text_hover' ,'type' => 'color_rgba' ,'title' => esc_html__( 'Button Text Color Hover', 'yobazar' ) ,'subtitle' => '' ,'default' => array( 'color' => '#191919' ,'alpha' => 1 ) ) ,array( 'id' => 'ts_button_background_hover' ,'type' => 'color_rgba' ,'title' => esc_html__( 'Button Background Hover', 'yobazar' ) ,'subtitle' => '' ,'default' => array( 'color' => 'transparent' ,'alpha' => 0 ,'rgba' => 'rgba(25,25,25,0)' ) ) ,array( 'id' => 'ts_button_border_hover' ,'type' => 'color_rgba' ,'title' => esc_html__( 'Button Border Color Hover', 'yobazar' ) ,'subtitle' => '' ,'default' => array( 'color' => '#191919' ,'alpha' => 1 ) ) ,array( 'id' => 'info-breadcrumb-colors' ,'type' => 'info' ,'notice' => false ,'title' => esc_html__( 'Breadcrumb Colors', 'yobazar' ) ,'desc' => '' ) ,array( 'id' => 'ts_breadcrumb_background_color' ,'type' => 'color_rgba' ,'title' => esc_html__( 'Breadcrumb Background Color', 'yobazar' ) ,'subtitle' => '' ,'default' => array( 'color' => '#ffffff' ,'alpha' => 1 ) ) ,array( 'id' => 'ts_breadcrumb_text_color' ,'type' => 'color_rgba' ,'title' => esc_html__( 'Breadcrumb Text Color', 'yobazar' ) ,'subtitle' => '' ,'default' => array( 'color' => '#191919' ,'alpha' => 1 ) ) ,array( 'id' => 'ts_breadcrumb_link_color' ,'type' => 'color_rgba' ,'title' => esc_html__( 'Breadcrumb Link Color', 'yobazar' ) ,'subtitle' => '' ,'default' => array( 'color' => '#808080' ,'alpha' => 1 ) ) ,array( 'id' => 'section-header-colors' ,'type' => 'section' ,'title' => esc_html__( 'Header Colors', 'yobazar' ) ,'subtitle' => '' ,'indent' => false ) ,array( 'id' => 'ts_notice_text_color' ,'type' => 'color_rgba' ,'title' => esc_html__( 'Store Notice Text Color', 'yobazar' ) ,'subtitle' => '' ,'default' => array( 'color' => '#191919' ,'alpha' => 1 ) ) ,array( 'id' => 'ts_notice_background_color' ,'type' => 'color_rgba' ,'title' => esc_html__( 'Store Notice Background Color', 'yobazar' ) ,'subtitle' => '' ,'default' => array( 'color' => '#FFEEEF' ,'alpha' => 1 ) ) ,array( 'id' => 'ts_header_text_color' ,'type' => 'color_rgba' ,'title' => esc_html__( 'Header Text Color', 'yobazar' ) ,'subtitle' => '' ,'default' => array( 'color' => '#191919' ,'alpha' => 1 ) ) ,array( 'id' => 'ts_header_background_color' ,'type' => 'color_rgba' ,'title' => esc_html__( 'Header Background Color', 'yobazar' ) ,'subtitle' => '' ,'default' => array( 'color' => '#ffffff' ,'alpha' => 1 ) ) ,array( 'id' => 'ts_header_border_color' ,'type' => 'color_rgba' ,'title' => esc_html__( 'Header Border Color', 'yobazar' ) ,'subtitle' => '' ,'default' => array( 'color' => '#E6E6E6' ,'alpha' => 1 ) ) ,array( 'id' => 'ts_header_top_text_color' ,'type' => 'color_rgba' ,'title' => esc_html__( 'Header Top Text Color', 'yobazar' ) ,'subtitle' => '' ,'default' => array( 'color' => '#ffffff' ,'alpha' => 1 ) ) ,array( 'id' => 'ts_header_top_background_color' ,'type' => 'color_rgba' ,'title' => esc_html__( 'Header Top Background Color', 'yobazar' ) ,'subtitle' => '' ,'default' => array( 'color' => '#191919' ,'alpha' => 1 ) ) ,array( 'id' => 'ts_header_top_border_color' ,'type' => 'color_rgba' ,'title' => esc_html__( 'Header Top Border Color', 'yobazar' ) ,'subtitle' => '' ,'default' => array( 'color' => '#242424' ,'alpha' => 1 ) ) ,array( 'id' => 'ts_header_icon_color' ,'type' => 'color_rgba' ,'title' => esc_html__( 'Header Icon Color', 'yobazar' ) ,'subtitle' => '' ,'default' => array( 'color' => '#191919' ,'alpha' => 1 ) ) ,array( 'id' => 'section-menu-colors' ,'type' => 'section' ,'title' => esc_html__( 'Menu Colors', 'yobazar' ) ,'subtitle' => '' ,'indent' => false ) ,array( 'id' => 'ts_menu_text_color' ,'type' => 'color_rgba' ,'title' => esc_html__( 'Menu Text Color', 'yobazar' ) ,'subtitle' => '' ,'default' => array( 'color' => '#191919' ,'alpha' => 1 ) ) ,array( 'id' => 'ts_menu_text_hover' ,'type' => 'color_rgba' ,'title' => esc_html__( 'Menu Text Color Hover', 'yobazar' ) ,'subtitle' => '' ,'default' => array( 'color' => '#D9121F' ,'alpha' => 1 ) ) ,array( 'id' => 'ts_sub_menu_heading_color' ,'type' => 'color_rgba' ,'title' => esc_html__( 'Mega Menu Heading Color', 'yobazar' ) ,'subtitle' => '' ,'default' => array( 'color' => '#808080' ,'alpha' => 1 ) ) ,array( 'id' => 'ts_sub_menu_background_color' ,'type' => 'color_rgba' ,'title' => esc_html__( 'Sub Menu Background Color', 'yobazar' ) ,'subtitle' => '' ,'default' => array( 'color' => '#ffffff' ,'alpha' => 1 ) ) ,array( 'id' => 'section-footer-colors' ,'type' => 'section' ,'title' => esc_html__( 'Footer Colors', 'yobazar' ) ,'subtitle' => '' ,'indent' => false ) ,array( 'id' => 'ts_footer_background_color' ,'type' => 'color_rgba' ,'title' => esc_html__( 'Footer Background Color', 'yobazar' ) ,'subtitle' => '' ,'default' => array( 'color' => '#ffffff' ,'alpha' => 1 ) ) ,array( 'id' => 'ts_footer_text_color' ,'type' => 'color_rgba' ,'title' => esc_html__( 'Footer Text Color', 'yobazar' ) ,'subtitle' => '' ,'default' => array( 'color' => '#191919' ,'alpha' => 1 ) ) ,array( 'id' => 'section-product-colors' ,'type' => 'section' ,'title' => esc_html__( 'Product Colors', 'yobazar' ) ,'subtitle' => '' ,'indent' => false ) ,array( 'id' => 'ts_product_name_text_color' ,'type' => 'color_rgba' ,'title' => esc_html__( 'Product Name Text Color', 'yobazar' ) ,'subtitle' => '' ,'default' => array( 'color' => '#191919' ,'alpha' => 1 ) ) ,array( 'id' => 'ts_product_name_text_hover' ,'type' => 'color_rgba' ,'title' => esc_html__( 'Product Name Text Hover Color', 'yobazar' ) ,'subtitle' => '' ,'default' => array( 'color' => '#D9121F' ,'alpha' => 1 ) ) ,array( 'id' => 'ts_product_price_color' ,'type' => 'color_rgba' ,'title' => esc_html__( 'Product Price Color', 'yobazar' ) ,'subtitle' => '' ,'default' => array( 'color' => '#191919' ,'alpha' => 1 ) ) ,array( 'id' => 'ts_product_del_price_color' ,'type' => 'color_rgba' ,'title' => esc_html__( 'Product Del Price Color', 'yobazar' ) ,'subtitle' => '' ,'default' => array( 'color' => '#999999' ,'alpha' => 1 ) ) ,array( 'id' => 'ts_product_sale_price_color' ,'type' => 'color_rgba' ,'title' => esc_html__( 'Product Sale Price Color', 'yobazar' ) ,'subtitle' => '' ,'default' => array( 'color' => '#D9121F' ,'alpha' => 1 ) ) ,array( 'id' => 'ts_rating_color' ,'type' => 'color_rgba' ,'title' => esc_html__( 'Product Rating Color', 'yobazar' ) ,'subtitle' => '' ,'default' => array( 'color' => '#E6E6E6' ,'alpha' => 1 ) ) ,array( 'id' => 'ts_rating_fill_color' ,'type' => 'color_rgba' ,'title' => esc_html__( 'Product Rating Fill Color', 'yobazar' ) ,'subtitle' => '' ,'default' => array( 'color' => '#191919' ,'alpha' => 1 ) ) ,array( 'id' => 'ts_product_detail_images_summary_background' ,'type' => 'color_rgba' ,'title' => esc_html__( 'Product Detail Images Summary Background Color', 'yobazar' ) ,'subtitle' => '' ,'default' => array( 'color' => '#f3f3f3' ,'alpha' => 1 ) ) ,array( 'id' => 'ts_product_category_background' ,'type' => 'color_rgba' ,'title' => esc_html__( 'Product Category Background Color', 'yobazar' ) ,'subtitle' => '' ,'default' => array( 'color' => '#f3f3f3' ,'alpha' => 1 ) ) ,array( 'id' => 'info-product-button-colors' ,'type' => 'info' ,'notice' => false ,'title' => esc_html__( 'Product Buttons on Thumbnail Color', 'yobazar' ) ,'desc' => '' ) ,array( 'id' => 'ts_product_button_thumbnail_text_color' ,'type' => 'color_rgba' ,'title' => esc_html__( 'Button Text Color', 'yobazar' ) ,'subtitle' => '' ,'default' => array( 'color' => '#191919' ,'alpha' => 1 ) ) ,array( 'id' => 'ts_product_button_thumbnail_background_color' ,'type' => 'color_rgba' ,'title' => esc_html__( 'Button Background Color', 'yobazar' ) ,'subtitle' => '' ,'default' => array( 'color' => '#ffffff' ,'alpha' => 1 ) ) ,array( 'id' => 'ts_product_button_thumbnail_text_hover' ,'type' => 'color_rgba' ,'title' => esc_html__( 'Button Text Color Hover', 'yobazar' ) ,'subtitle' => '' ,'default' => array( 'color' => '#ffffff' ,'alpha' => 1 ) ) ,array( 'id' => 'ts_product_button_thumbnail_background_hover' ,'type' => 'color_rgba' ,'title' => esc_html__( 'Button Background Hover', 'yobazar' ) ,'subtitle' => '' ,'default' => array( 'color' => '#191919' ,'alpha' => 1 ) ) ,array( 'id' => 'ts_product_button_thumbnail_tooltip_background_color' ,'type' => 'color_rgba' ,'title' => esc_html__( 'Button Tooltip Background Color', 'yobazar' ) ,'subtitle' => '' ,'default' => array( 'color' => '#ffffff' ,'alpha' => 1 ) ) ,array( 'id' => 'ts_product_button_thumbnail_tooltip_text_color' ,'type' => 'color_rgba' ,'title' => esc_html__( 'Button Tooltip Text Color', 'yobazar' ) ,'subtitle' => '' ,'default' => array( 'color' => '#191919' ,'alpha' => 1 ) ) ,array( 'id' => 'ts_counter_background_color' ,'type' => 'color_rgba' ,'title' => esc_html__( 'Count Down Background Color', 'yobazar' ) ,'subtitle' => '' ,'default' => array( 'color' => '#ffffff' ,'alpha' => 1 ) ) ,array( 'id' => 'ts_counter_text_color' ,'type' => 'color_rgba' ,'title' => esc_html__( 'Count Down Text Color', 'yobazar' ) ,'subtitle' => '' ,'default' => array( 'color' => '#191919' ,'alpha' => 1 ) ) ,array( 'id' => 'info-product-label-colors' ,'type' => 'info' ,'notice' => false ,'title' => esc_html__( 'Product Label Colors', 'yobazar' ) ,'desc' => '' ) ,array( 'id' => 'ts_product_sale_label_text_color' ,'type' => 'color_rgba' ,'title' => esc_html__( 'Sale Label Text Color', 'yobazar' ) ,'subtitle' => '' ,'default' => array( 'color' => '#ffffff' ,'alpha' => 1 ) ) ,array( 'id' => 'ts_product_sale_label_background_color' ,'type' => 'color_rgba' ,'title' => esc_html__( 'Sale Label Background Color', 'yobazar' ) ,'subtitle' => '' ,'default' => array( 'color' => '#d9121f' ,'alpha' => 1 ) ) ,array( 'id' => 'ts_product_new_label_text_color' ,'type' => 'color_rgba' ,'title' => esc_html__( 'New Label Text Color', 'yobazar' ) ,'subtitle' => '' ,'default' => array( 'color' => '#191919' ,'alpha' => 1 ) ) ,array( 'id' => 'ts_product_new_label_background_color' ,'type' => 'color_rgba' ,'title' => esc_html__( 'New Label Background Color', 'yobazar' ) ,'subtitle' => '' ,'default' => array( 'color' => '#ffffff' ,'alpha' => 1 ) ) ,array( 'id' => 'ts_product_feature_label_text_color' ,'type' => 'color_rgba' ,'title' => esc_html__( 'Feature Label Text Color', 'yobazar' ) ,'subtitle' => '' ,'default' => array( 'color' => '#ffffff' ,'alpha' => 1 ) ) ,array( 'id' => 'ts_product_feature_label_background_color' ,'type' => 'color_rgba' ,'title' => esc_html__( 'Feature Label Background Color', 'yobazar' ) ,'subtitle' => '' ,'default' => array( 'color' => '#191919' ,'alpha' => 1 ) ) ,array( 'id' => 'ts_product_outstock_label_text_color' ,'type' => 'color_rgba' ,'title' => esc_html__( 'OutStock Label Text Color', 'yobazar' ) ,'subtitle' => '' ,'default' => array( 'color' => '#ffffff' ,'alpha' => 1 ) ) ,array( 'id' => 'ts_product_outstock_label_background_color' ,'type' => 'color_rgba' ,'title' => esc_html__( 'OutStock Label Background Color', 'yobazar' ) ,'subtitle' => '' ,'default' => array( 'color' => '#cccccc' ,'alpha' => 1 ) ) ,array( 'id' => 'info-mobile-colors' ,'type' => 'info' ,'notice' => false ,'title' => esc_html__( 'Tablet/Mobile Colors', 'yobazar' ) ,'desc' => '' ) ,array( 'id' => 'ts_product_button_mobile_text_color' ,'type' => 'color_rgba' ,'title' => esc_html__( 'Mobile/Tablet Add to cart/Wistlist/Compare Button Text Color', 'yobazar' ) ,'subtitle' => '' ,'default' => array( 'color' => '#191919' ,'alpha' => 1 ) ) ,array( 'id' => 'ts_product_button_mobile_background_color' ,'type' => 'color_rgba' ,'title' => esc_html__( 'Mobile/Tablet Add to cart/Wistlist/Compare Button Background Color', 'yobazar' ) ,'subtitle' => '' ,'default' => array( 'color' => '#f3f3f3' ,'alpha' => 1 ) ) ,array( 'id' => 'ts_product_group_button_fixed_icon_color' ,'type' => 'color_rgba' ,'title' => esc_html__( 'Mobile Fixed Bottom Bar Icons Color', 'yobazar' ) ,'subtitle' => '' ,'default' => array( 'color' => '#191919' ,'alpha' => 1 ) ) ,array( 'id' => 'ts_product_group_button_fixed_background_color' ,'type' => 'color_rgba' ,'title' => esc_html__( 'Mobile Fixed Bottom Bar Background Color', 'yobazar' ) ,'subtitle' => '' ,'default' => array( 'color' => '#ffffff' ,'alpha' => 1 ) ) ,array( 'id' => 'ts_product_group_button_fixed_border_color' ,'type' => 'color_rgba' ,'title' => esc_html__( 'Mobile Fixed Bottom Bar Border Color', 'yobazar' ) ,'subtitle' => '' ,'default' => array( 'color' => '#e6e6e6' ,'alpha' => 1 ) ) ,array( 'id' => 'ts_menu_mobile_background_color' ,'type' => 'color_rgba' ,'title' => esc_html__( 'Menu Mobile Background Color', 'yobazar' ) ,'subtitle' => '' ,'default' => array( 'color' => '#ffffff' ,'alpha' => 1 ) ) ,array( 'id' => 'ts_menu_mobile_text_color' ,'type' => 'color_rgba' ,'title' => esc_html__( 'Menu Mobile Text Color', 'yobazar' ) ,'subtitle' => '' ,'default' => array( 'color' => '#191919' ,'alpha' => 1 ) ) ); /*** Typography Tab ***/ $option_fields['typography'] = array( array( 'id' => 'section-fonts' ,'type' => 'section' ,'title' => esc_html__( 'Fonts', 'yobazar' ) ,'subtitle' => '' ,'indent' => false ) ,array( 'id' => 'ts_body_font' ,'type' => 'typography' ,'title' => esc_html__( 'Body Font', 'yobazar' ) ,'subtitle' => '' ,'google' => true ,'font-style' => true ,'text-align' => false ,'color' => false ,'letter-spacing' => true ,'preview' => array('always_display' => true) ,'default' => array( 'font-family' => 'Jost' ,'font-weight' => '400' ,'font-size' => '15px' ,'line-height' => '22px' ,'letter-spacing' => '0' ,'font-style' => '' ,'google' => true ) ,'fonts' => $family_fonts ,'select2' => array('allowClear' => false, 'minimumResultsForSearch' => 20) ) ,array( 'id' => 'ts_body_font_medium' ,'type' => 'typography' ,'title' => esc_html__( 'Body Font Medium', 'yobazar' ) ,'subtitle' => '' ,'google' => true ,'font-style' => true ,'text-align' => false ,'line-height' => false ,'font-size' => false ,'letter-spacing' => true ,'color' => false ,'preview' => array('always_display' => true) ,'default' => array( 'font-family' => 'Jost' ,'font-weight' => '500' ,'letter-spacing' => '0' ,'font-style' => '' ,'google' => true ) ,'fonts' => $family_fonts ,'select2' => array('allowClear' => false, 'minimumResultsForSearch' => 20) ) ,array( 'id' => 'ts_body_font_bold' ,'type' => 'typography' ,'title' => esc_html__( 'Body Font Bold', 'yobazar' ) ,'subtitle' => '' ,'google' => true ,'font-style' => true ,'text-align' => false ,'line-height' => false ,'font-size' => false ,'letter-spacing' => true ,'color' => false ,'preview' => array('always_display' => true) ,'default' => array( 'font-family' => 'Jost' ,'font-weight' => '600' ,'letter-spacing' => '0' ,'font-style' => '' ,'google' => true ) ,'fonts' => $family_fonts ,'select2' => array('allowClear' => false, 'minimumResultsForSearch' => 20) ) ,array( 'id' => 'ts_heading_font' ,'type' => 'typography' ,'title' => esc_html__( 'Heading Font', 'yobazar' ) ,'subtitle' => '' ,'google' => true ,'font-style' => true ,'text-align' => false ,'line-height' => false ,'font-size' => false ,'letter-spacing' => true ,'color' => false ,'preview' => array('always_display' => true) ,'default' => array( 'font-family' => 'Jost' ,'font-weight' => '500' ,'letter-spacing' => '0' ,'font-style' => '' ,'google' => true ) ,'fonts' => $family_fonts ,'select2' => array('allowClear' => false, 'minimumResultsForSearch' => 20) ) ,array( 'id' => 'ts_menu_font' ,'type' => 'typography' ,'title' => esc_html__( 'Menu Font', 'yobazar' ) ,'subtitle' => '' ,'google' => true ,'font-style' => true ,'text-align' => false ,'color' => false ,'letter-spacing' => true ,'preview' => array('always_display' => true) ,'default' => array( 'font-family' => 'Jost' ,'font-weight' => '500' ,'font-size' => '17px' ,'line-height' => '22px' ,'letter-spacing' => '0' ,'font-style' => '' ,'google' => true ) ,'fonts' => $family_fonts ,'select2' => array('allowClear' => false, 'minimumResultsForSearch' => 20) ) ,array( 'id' => 'ts_product_font' ,'type' => 'typography' ,'title' => esc_html__( 'Products Font', 'yobazar' ) ,'subtitle' => '' ,'google' => true ,'font-style' => true ,'text-align' => false ,'color' => false ,'letter-spacing' => true ,'preview' => array('always_display' => true) ,'default' => array( 'font-family' => 'Jost' ,'font-weight' => '400' ,'font-size' => '15px' ,'line-height' => '24px' ,'letter-spacing' => '0' ,'font-style' => '' ,'google' => true ) ,'fonts' => $family_fonts ,'select2' => array('allowClear' => false, 'minimumResultsForSearch' => 20) ) ,array( 'id' => 'section-custom-font' ,'type' => 'section' ,'title' => esc_html__( 'Custom Font', 'yobazar' ) ,'subtitle' => esc_html__( 'If you get the error message \'Sorry, this file type is not permitted for security reasons\', you can add this line define(\'ALLOW_UNFILTERED_UPLOADS\', true); to the wp-config.php file', 'yobazar' ) ,'indent' => false ) ,array( 'id' => 'ts_custom_font_ttf' ,'type' => 'media' ,'url' => true ,'preview' => false ,'title' => esc_html__( 'Custom Font ttf', 'yobazar' ) ,'desc' => '' ,'subtitle' => esc_html__( 'Upload the .ttf font file. To use it, you select CustomFont in the Standard Fonts group', 'yobazar' ) ,'default' => array( 'url' => '' ) ,'mode' => 'application' ) ,array( 'id' => 'section-font-sizes' ,'type' => 'section' ,'title' => esc_html__( 'Font Sizes', 'yobazar' ) ,'subtitle' => '' ,'indent' => false ) ,array( 'id' => 'info-font-size-pc' ,'type' => 'info' ,'notice' => false ,'title' => esc_html__( 'Font size on PC', 'yobazar' ) ,'desc' => '' ) ,array( 'id' => 'ts_h1_font' ,'type' => 'typography' ,'title' => esc_html__( 'H1 Font Size', 'yobazar' ) ,'subtitle' => '' ,'class' => 'typography-no-preview' ,'google' => false ,'font-family' => false ,'font-weight' => false ,'font-style' => false ,'text-align' => false ,'color' => false ,'preview' => array('always_display' => false) ,'default' => array( 'font-family' => '' ,'font-weight' => '' ,'font-size' => '55px' ,'line-height' => '60px' ,'google' => false ) ) ,array( 'id' => 'ts_h2_font' ,'type' => 'typography' ,'title' => esc_html__( 'H2 Font Size', 'yobazar' ) ,'subtitle' => '' ,'class' => 'typography-no-preview' ,'google' => false ,'font-family' => false ,'font-weight' => false ,'font-style' => false ,'text-align' => false ,'color' => false ,'preview' => array('always_display' => false) ,'default' => array( 'font-family' => '' ,'font-weight' => '' ,'font-size' => '40px' ,'line-height' => '50px' ,'google' => false ) ) ,array( 'id' => 'ts_h3_font' ,'type' => 'typography' ,'title' => esc_html__( 'H3 Font Size', 'yobazar' ) ,'subtitle' => '' ,'class' => 'typography-no-preview' ,'google' => false ,'font-family' => false ,'font-weight' => false ,'font-style' => false ,'text-align' => false ,'color' => false ,'preview' => array('always_display' => false) ,'default' => array( 'font-family' => '' ,'font-weight' => '' ,'font-size' => '35px' ,'line-height' => '44px' ,'google' => false ) ) ,array( 'id' => 'ts_h4_font' ,'type' => 'typography' ,'title' => esc_html__( 'H4 Font Size', 'yobazar' ) ,'subtitle' => '' ,'class' => 'typography-no-preview' ,'google' => false ,'font-family' => false ,'font-weight' => false ,'font-style' => false ,'text-align' => false ,'color' => false ,'preview' => array('always_display' => false) ,'default' => array( 'font-family' => '' ,'font-weight' => '' ,'font-size' => '30px' ,'line-height' => '40px' ,'google' => false ) ) ,array( 'id' => 'ts_h5_font' ,'type' => 'typography' ,'title' => esc_html__( 'H5 Font Size', 'yobazar' ) ,'subtitle' => '' ,'class' => 'typography-no-preview' ,'google' => false ,'font-family' => false ,'font-weight' => false ,'font-style' => false ,'text-align' => false ,'color' => false ,'preview' => array('always_display' => false) ,'default' => array( 'font-family' => '' ,'font-weight' => '' ,'font-size' => '25px' ,'line-height' => '32px' ,'google' => false ) ) ,array( 'id' => 'ts_h6_font' ,'type' => 'typography' ,'title' => esc_html__( 'H6 Font Size', 'yobazar' ) ,'subtitle' => '' ,'class' => 'typography-no-preview' ,'google' => false ,'font-family' => false ,'font-weight' => false ,'font-style' => false ,'text-align' => false ,'color' => false ,'preview' => array('always_display' => false) ,'default' => array( 'font-family' => '' ,'font-weight' => '' ,'font-size' => '17px' ,'line-height' => '22px' ,'google' => false ) ) ,array( 'id' => 'ts_button_font' ,'type' => 'typography' ,'title' => esc_html__( 'Button Font Size', 'yobazar' ) ,'subtitle' => '' ,'class' => 'typography-no-preview' ,'google' => false ,'font-family' => false ,'font-weight' => false ,'font-style' => false ,'text-align' => false ,'line-height' => true ,'color' => false ,'preview' => array('always_display' => false) ,'default' => array( 'font-family' => '' ,'font-weight' => '' ,'font-size' => '20px' ,'line-height' => '28px' ,'google' => false ) ) ,array( 'id' => 'ts_input_font' ,'type' => 'typography' ,'title' => esc_html__( 'Input Font Size', 'yobazar' ) ,'subtitle' => '' ,'class' => 'typography-no-preview' ,'google' => false ,'font-family' => false ,'font-weight' => false ,'font-style' => false ,'text-align' => false ,'line-height' => true ,'color' => false ,'preview' => array('always_display' => false) ,'default' => array( 'font-family' => '' ,'font-weight' => '' ,'font-size' => '17px' ,'line-height' => '24px' ,'google' => false ) ) ,array( 'id' => 'info-font-size-ipad' ,'type' => 'info' ,'notice' => false ,'title' => esc_html__( 'Font size on Ipad', 'yobazar' ) ,'desc' => '' ) ,array( 'id' => 'ts_h1_ipad_font' ,'type' => 'typography' ,'title' => esc_html__( 'H1 Font Size', 'yobazar' ) ,'subtitle' => '' ,'class' => 'typography-no-preview' ,'google' => false ,'font-family' => false ,'font-weight' => false ,'font-style' => false ,'text-align' => false ,'color' => false ,'preview' => array('always_display' => false) ,'default' => array( 'font-family' => '' ,'font-weight' => '' ,'font-size' => '40px' ,'line-height' => '50px' ,'google' => false ) ) ,array( 'id' => 'ts_h2_ipad_font' ,'type' => 'typography' ,'title' => esc_html__( 'H2 Font Size', 'yobazar' ) ,'subtitle' => '' ,'class' => 'typography-no-preview' ,'google' => false ,'font-family' => false ,'font-weight' => false ,'font-style' => false ,'text-align' => false ,'color' => false ,'preview' => array('always_display' => false) ,'default' => array( 'font-family' => '' ,'font-weight' => '' ,'font-size' => '35px' ,'line-height' => '44px' ,'google' => false ) ) ,array( 'id' => 'ts_h3_ipad_font' ,'type' => 'typography' ,'title' => esc_html__( 'H3 Font Size', 'yobazar' ) ,'subtitle' => '' ,'class' => 'typography-no-preview' ,'google' => false ,'font-family' => false ,'font-weight' => false ,'font-style' => false ,'text-align' => false ,'color' => false ,'preview' => array('always_display' => false) ,'default' => array( 'font-family' => '' ,'font-weight' => '' ,'font-size' => '30px' ,'line-height' => '40px' ,'google' => false ) ) ,array( 'id' => 'ts_h4_ipad_font' ,'type' => 'typography' ,'title' => esc_html__( 'H4 Font Size', 'yobazar' ) ,'subtitle' => '' ,'class' => 'typography-no-preview' ,'google' => false ,'font-family' => false ,'font-weight' => false ,'font-style' => false ,'text-align' => false ,'color' => false ,'preview' => array('always_display' => false) ,'default' => array( 'font-family' => '' ,'font-weight' => '' ,'font-size' => '25px' ,'line-height' => '32px' ,'google' => false ) ) ,array( 'id' => 'ts_h5_ipad_font' ,'type' => 'typography' ,'title' => esc_html__( 'H5 Font Size', 'yobazar' ) ,'subtitle' => '' ,'class' => 'typography-no-preview' ,'google' => false ,'font-family' => false ,'font-weight' => false ,'font-style' => false ,'text-align' => false ,'color' => false ,'preview' => array('always_display' => false) ,'default' => array( 'font-family' => '' ,'font-weight' => '' ,'font-size' => '22px' ,'line-height' => '28px' ,'google' => false ) ) ,array( 'id' => 'ts_button_ipad_font' ,'type' => 'typography' ,'title' => esc_html__( 'Button Font Size', 'yobazar' ) ,'subtitle' => '' ,'class' => 'typography-no-preview' ,'google' => false ,'font-family' => false ,'font-weight' => false ,'font-style' => false ,'text-align' => false ,'line-height' => false ,'color' => false ,'preview' => array('always_display' => false) ,'default' => array( 'font-family' => '' ,'font-weight' => '' ,'font-size' => '17px' ,'google' => false ) ) ,array( 'id' => 'ts_input_ipad_font' ,'type' => 'typography' ,'title' => esc_html__( 'Input Font Size', 'yobazar' ) ,'subtitle' => '' ,'class' => 'typography-no-preview' ,'google' => false ,'font-family' => false ,'font-weight' => false ,'font-style' => false ,'text-align' => false ,'line-height' => false ,'color' => false ,'preview' => array('always_display' => false) ,'default' => array( 'font-family' => '' ,'font-weight' => '' ,'font-size' => '15px' ,'google' => false ) ) ,array( 'id' => 'info-font-size-mobile' ,'type' => 'info' ,'notice' => false ,'title' => esc_html__( 'Font size on Mobile', 'yobazar' ) ,'desc' => '' ) ,array( 'id' => 'ts_h1_mobile_font' ,'type' => 'typography' ,'title' => esc_html__( 'H1 Font Size', 'yobazar' ) ,'subtitle' => '' ,'class' => 'typography-no-preview' ,'google' => false ,'font-family' => false ,'font-weight' => false ,'font-style' => false ,'text-align' => false ,'color' => false ,'preview' => array('always_display' => false) ,'default' => array( 'font-family' => '' ,'font-weight' => '' ,'font-size' => '35px' ,'line-height' => '44px' ,'google' => false ) ) ,array( 'id' => 'ts_h2_mobile_font' ,'type' => 'typography' ,'title' => esc_html__( 'H2 Font Size', 'yobazar' ) ,'subtitle' => '' ,'class' => 'typography-no-preview' ,'google' => false ,'font-family' => false ,'font-weight' => false ,'font-style' => false ,'text-align' => false ,'color' => false ,'preview' => array('always_display' => false) ,'default' => array( 'font-family' => '' ,'font-weight' => '' ,'font-size' => '30px' ,'line-height' => '40px' ,'google' => false ) ) ,array( 'id' => 'ts_h3_mobile_font' ,'type' => 'typography' ,'title' => esc_html__( 'H3 Font Size', 'yobazar' ) ,'subtitle' => '' ,'class' => 'typography-no-preview' ,'google' => false ,'font-family' => false ,'font-weight' => false ,'font-style' => false ,'text-align' => false ,'color' => false ,'preview' => array('always_display' => false) ,'default' => array( 'font-family' => '' ,'font-weight' => '' ,'font-size' => '25px' ,'line-height' => '32px' ,'google' => false ) ) ,array( 'id' => 'ts_h4_mobile_font' ,'type' => 'typography' ,'title' => esc_html__( 'H4 Font Size', 'yobazar' ) ,'subtitle' => '' ,'class' => 'typography-no-preview' ,'google' => false ,'font-family' => false ,'font-weight' => false ,'font-style' => false ,'text-align' => false ,'color' => false ,'preview' => array('always_display' => false) ,'default' => array( 'font-family' => '' ,'font-weight' => '' ,'font-size' => '22px' ,'line-height' => '28px' ,'google' => false ) ) ,array( 'id' => 'ts_h5_mobile_font' ,'type' => 'typography' ,'title' => esc_html__( 'H5 Font Size', 'yobazar' ) ,'subtitle' => '' ,'class' => 'typography-no-preview' ,'google' => false ,'font-family' => false ,'font-weight' => false ,'font-style' => false ,'text-align' => false ,'color' => false ,'preview' => array('always_display' => false) ,'default' => array( 'font-family' => '' ,'font-weight' => '' ,'font-size' => '20px' ,'line-height' => '26px' ,'google' => false ) ) ); /*** Header Tab ***/ $option_fields['header'] = array( array( 'id' => 'section-header-options' ,'type' => 'section' ,'title' => esc_html__( 'Header Options', 'yobazar' ) ,'subtitle' => '' ,'indent' => false ) ,array( 'id' => 'ts_header_layout' ,'type' => 'image_select' ,'title' => esc_html__( 'Header Layout', 'yobazar' ) ,'subtitle' => '' ,'desc' => '' ,'options' => $header_layout_options ,'default' => 'v1' ) ,array( 'id' => 'ts_enable_sticky_header' ,'type' => 'switch' ,'title' => esc_html__( 'Sticky Header', 'yobazar' ) ,'subtitle' => '' ,'default' => true ,'on' => esc_html__( 'Enable', 'yobazar' ) ,'off' => esc_html__( 'Disable', 'yobazar' ) ) ,array( 'id' => 'ts_enable_search' ,'type' => 'switch' ,'title' => esc_html__( 'Search', 'yobazar' ) ,'subtitle' => '' ,'default' => true ,'on' => esc_html__( 'Enable', 'yobazar' ) ,'off' => esc_html__( 'Disable', 'yobazar' ) ) ,array( 'id' => 'ts_enable_tiny_wishlist' ,'type' => 'switch' ,'title' => esc_html__( 'Wishlist', 'yobazar' ) ,'subtitle' => '' ,'default' => true ,'on' => esc_html__( 'Enable', 'yobazar' ) ,'off' => esc_html__( 'Disable', 'yobazar' ) ) ,array( 'id' => 'ts_header_currency' ,'type' => 'switch' ,'title' => esc_html__( 'Header Currency', 'yobazar' ) ,'subtitle' => esc_html__( 'Only available on some header layouts. If you don\'t install WooCommerce Multilingual plugin, it may display demo html', 'yobazar' ) ,'default' => false ,'on' => esc_html__( 'Enable', 'yobazar' ) ,'off' => esc_html__( 'Disable', 'yobazar' ) ) ,array( 'id' => 'ts_header_language' ,'type' => 'switch' ,'title' => esc_html__( 'Header Language', 'yobazar' ) ,'subtitle' => esc_html__( 'Only available on some header layouts. If you don\'t install WPML plugin, it may display demo html', 'yobazar' ) ,'default' => false ,'on' => esc_html__( 'Enable', 'yobazar' ) ,'off' => esc_html__( 'Disable', 'yobazar' ) ) ,array( 'id' => 'ts_enable_tiny_account' ,'type' => 'switch' ,'title' => esc_html__( 'My Account', 'yobazar' ) ,'subtitle' => '' ,'default' => true ,'on' => esc_html__( 'Enable', 'yobazar' ) ,'off' => esc_html__( 'Disable', 'yobazar' ) ) ,array( 'id' => 'ts_enable_tiny_shopping_cart' ,'type' => 'switch' ,'title' => esc_html__( 'Shopping Cart', 'yobazar' ) ,'subtitle' => '' ,'default' => true ,'on' => esc_html__( 'Enable', 'yobazar' ) ,'off' => esc_html__( 'Disable', 'yobazar' ) ) ,array( 'id' => 'ts_shopping_cart_sidebar' ,'type' => 'switch' ,'title' => esc_html__( 'Shopping Cart Sidebar', 'yobazar' ) ,'subtitle' => esc_html__( 'Show shopping cart in sidebar instead of dropdown. You need to update cart after changing', 'yobazar' ) ,'default' => false ,'on' => esc_html__( 'Enable', 'yobazar' ) ,'off' => esc_html__( 'Disable', 'yobazar' ) ,'required' => array( 'ts_enable_tiny_shopping_cart', 'equals', '1' ) ) ,array( 'id' => 'ts_show_shopping_cart_after_adding' ,'type' => 'switch' ,'title' => esc_html__( 'Show Shopping Cart After Adding Product To Cart', 'yobazar' ) ,'subtitle' => esc_html__( 'You need to enable Ajax add to cart in WooCommerce > Settings > Products', 'yobazar' ) ,'default' => false ,'on' => esc_html__( 'Enable', 'yobazar' ) ,'off' => esc_html__( 'Disable', 'yobazar' ) ,'required' => array( 'ts_shopping_cart_sidebar', 'equals', '1' ) ) ,array( 'id' => 'ts_add_to_cart_effect' ,'type' => 'select' ,'title' => esc_html__( 'Add To Cart Effect', 'yobazar' ) ,'subtitle' => esc_html__( 'You need to enable Ajax add to cart in WooCommerce > Settings > Products. If "Show Shopping Cart After Adding Product To Cart" is enabled, this option will be disabled', 'yobazar' ) ,'options' => array( '0' => esc_html__( 'None', 'yobazar' ) ,'fly_to_cart' => esc_html__( 'Fly To Cart', 'yobazar' ) ,'show_popup' => esc_html__( 'Show Popup', 'yobazar' ) ) ,'default' => '0' ,'select2' => array('allowClear' => false, 'minimumResultsForSearch' => 'Infinity') ) ,array( 'id' => 'ts_header_store_notice' ,'type' => 'textarea' ,'title' => esc_html__( 'Header Store Notice', 'yobazar' ) ,'subtitle' => esc_html__( 'You can add a notice at the top of page', 'yobazar' ) ,'desc' => '' ,'validate' => 'html' ,'default' => '' ) ,array( 'id' => 'ts_header_info' ,'type' => 'editor' ,'title' => esc_html__( 'Infomation', 'yobazar' ) ,'subtitle' => esc_html__( 'Only available on some header layouts', 'yobazar' ) ,'desc' => esc_html__( 'Hotline (+800) 1234 5678 90', 'yobazar' ) ,'default' => '' ,'args' => array( 'wpautop' => false ,'media_buttons' => true ,'textarea_rows' => 5 ,'teeny' => false ,'quicktags' => true ) ) ,array( 'id' => 'ts_enable_header_social_icons' ,'type' => 'switch' ,'title' => esc_html__( 'Header Social Icons', 'yobazar' ) ,'subtitle' => esc_html__( 'Some header layouts don\'t include the social icons', 'yobazar' ) ,'default' => true ,'on' => esc_html__( 'Enable', 'yobazar' ) ,'off' => esc_html__( 'Disable', 'yobazar' ) ) ,array( 'id' => 'ts_facebook_url' ,'type' => 'text' ,'title' => esc_html__( 'Facebook URL', 'yobazar' ) ,'subtitle' => '' ,'desc' => '' ,'default' => '#' ,'required' => array( 'ts_enable_header_social_icons', 'equals', '1' ) ) ,array( 'id' => 'ts_twitter_url' ,'type' => 'text' ,'title' => esc_html__( 'Twitter URL', 'yobazar' ) ,'subtitle' => '' ,'desc' => '' ,'default' => '#' ,'required' => array( 'ts_enable_header_social_icons', 'equals', '1' ) ) ,array( 'id' => 'ts_instagram_url' ,'type' => 'text' ,'title' => esc_html__( 'Instagram URL', 'yobazar' ) ,'subtitle' => '' ,'desc' => '' ,'default' => '#' ,'required' => array( 'ts_enable_header_social_icons', 'equals', '1' ) ) ,array( 'id' => 'ts_youtube_url' ,'type' => 'text' ,'title' => esc_html__( 'Youtube URL', 'yobazar' ) ,'subtitle' => '' ,'desc' => '' ,'default' => '' ,'required' => array( 'ts_enable_header_social_icons', 'equals', '1' ) ) ,array( 'id' => 'ts_linkedin_url' ,'type' => 'text' ,'title' => esc_html__( 'LinkedIn URL', 'yobazar' ) ,'subtitle' => '' ,'desc' => '' ,'default' => '#' ,'required' => array( 'ts_enable_header_social_icons', 'equals', '1' ) ) ,array( 'id' => 'ts_custom_social_url' ,'type' => 'text' ,'title' => esc_html__( 'Custom Social URL', 'yobazar' ) ,'subtitle' => '' ,'desc' => '' ,'default' => '' ,'required' => array( 'ts_enable_header_social_icons', 'equals', '1' ) ) ,array( 'id' => 'ts_custom_social_class' ,'type' => 'text' ,'title' => esc_html__( 'Custom Social Name', 'yobazar' ) ,'subtitle' => '' ,'desc' => '' ,'default' => '' ,'required' => array( 'ts_enable_header_social_icons', 'equals', '1' ) ) ,array( 'id' => 'section-breadcrumb-options' ,'type' => 'section' ,'title' => esc_html__( 'Breadcrumb Options', 'yobazar' ) ,'subtitle' => '' ,'indent' => false ) ,array( 'id' => 'ts_breadcrumb_layout' ,'type' => 'image_select' ,'title' => esc_html__( 'Breadcrumb Layout', 'yobazar' ) ,'subtitle' => '' ,'desc' => '' ,'options' => $breadcrumb_layout_options ,'default' => 'v1' ) ,array( 'id' => 'ts_enable_breadcrumb_background_image' ,'type' => 'switch' ,'title' => esc_html__( 'Enable Breadcrumbs Background Image', 'yobazar' ) ,'subtitle' => esc_html__( 'You can set background color by going to Color Scheme tab > Breadcrumb Colors section', 'yobazar' ) ,'default' => true ) ,array( 'id' => 'ts_bg_breadcrumbs' ,'type' => 'media' ,'url' => true ,'title' => esc_html__( 'Breadcrumbs Background Image', 'yobazar' ) ,'desc' => '' ,'subtitle' => esc_html__( 'Select a new image to override the default background image', 'yobazar' ) ,'readonly' => false ,'default' => array( 'url' => '' ) ) ,array( 'id' => 'ts_breadcrumb_bg_parallax' ,'type' => 'switch' ,'title' => esc_html__( 'Enable Breadcrumbs Background Parallax', 'yobazar' ) ,'subtitle' => '' ,'default' => false ) ); /*** Footer Tab ***/ $option_fields['footer'] = array( array( 'id' => 'ts_footer_block' ,'type' => 'select' ,'title' => esc_html__( 'Footer Block', 'yobazar' ) ,'subtitle' => '' ,'desc' => '' ,'options' => $footer_block_options ,'default' => '0' ,'select2' => array('allowClear' => false, 'minimumResultsForSearch' => 'Infinity') ) ); /*** Menu Tab ***/ $option_fields['menu'] = array( array( 'id' => 'ts_menu_thumb_width' ,'type' => 'slider' ,'title' => esc_html__( 'Menu Thumbnail Width', 'yobazar' ) ,'subtitle' => '' ,'desc' => esc_html__( 'Min: 5, max: 50, step: 1, default value: 46', 'yobazar' ) ,'default' => 46 ,'min' => 5 ,'step' => 1 ,'max' => 50 ,'display_value' => 'text' ) ,array( 'id' => 'ts_menu_thumb_height' ,'type' => 'slider' ,'title' => esc_html__( 'Menu Thumbnail Height', 'yobazar' ) ,'subtitle' => '' ,'desc' => esc_html__( 'Min: 5, max: 50, step: 1, default value: 46', 'yobazar' ) ,'default' => 46 ,'min' => 5 ,'step' => 1 ,'max' => 50 ,'display_value' => 'text' ) ); /*** Blog Tab ***/ $option_fields['blog'] = array( array( 'id' => 'section-blog' ,'type' => 'section' ,'title' => esc_html__( 'Blog', 'yobazar' ) ,'subtitle' => '' ,'indent' => false ) ,array( 'id' => 'ts_blog_layout' ,'type' => 'image_select' ,'title' => esc_html__( 'Blog Layout', 'yobazar' ) ,'subtitle' => esc_html__( 'This option is available when Front page displays the latest posts', 'yobazar' ) ,'desc' => '' ,'options' => array( '0-1-0' => array( 'alt' => esc_html__('Fullwidth', 'yobazar') ,'img' => $redux_url . 'assets/img/1col.png' ) ,'1-1-0' => array( 'alt' => esc_html__('Left Sidebar', 'yobazar') ,'img' => $redux_url . 'assets/img/2cl.png' ) ,'0-1-1' => array( 'alt' => esc_html__('Right Sidebar', 'yobazar') ,'img' => $redux_url . 'assets/img/2cr.png' ) ,'1-1-1' => array( 'alt' => esc_html__('Left & Right Sidebar', 'yobazar') ,'img' => $redux_url . 'assets/img/3cm.png' ) ) ,'default' => '0-1-1' ) ,array( 'id' => 'ts_blog_left_sidebar' ,'type' => 'select' ,'title' => esc_html__( 'Left Sidebar', 'yobazar' ) ,'subtitle' => '' ,'desc' => '' ,'options' => $sidebar_options ,'default' => 'blog-sidebar' ,'select2' => array('allowClear' => false, 'minimumResultsForSearch' => 'Infinity') ) ,array( 'id' => 'ts_blog_right_sidebar' ,'type' => 'select' ,'title' => esc_html__( 'Right Sidebar', 'yobazar' ) ,'subtitle' => '' ,'desc' => '' ,'options' => $sidebar_options ,'default' => 'blog-sidebar' ,'select2' => array('allowClear' => false, 'minimumResultsForSearch' => 'Infinity') ) ,array( 'id' => 'ts_blog_columns' ,'type' => 'select' ,'title' => esc_html__( 'Blog Columns', 'yobazar' ) ,'subtitle' => '' ,'desc' => '' ,'options' => array( 0 => esc_html__( 'Default', 'yobazar' ) ,1 => 1 ,2 => 2 ,3 => 3 ) ,'default' => '3' ,'select2' => array('allowClear' => false, 'minimumResultsForSearch' => 'Infinity') ) ,array( 'id' => 'ts_blog_filter_bar' ,'type' => 'switch' ,'title' => esc_html__( 'Blog Filter Bar', 'yobazar' ) ,'subtitle' => esc_html__( 'Filter blog based on category', 'yobazar' ) ,'default' => true ,'on' => esc_html__( 'Show', 'yobazar' ) ,'off' => esc_html__( 'Hide', 'yobazar' ) ) ,array( 'id' => 'ts_blog_thumbnail' ,'type' => 'switch' ,'title' => esc_html__( 'Blog Thumbnail', 'yobazar' ) ,'subtitle' => '' ,'default' => true ,'on' => esc_html__( 'Show', 'yobazar' ) ,'off' => esc_html__( 'Hide', 'yobazar' ) ) ,array( 'id' => 'ts_blog_date' ,'type' => 'switch' ,'title' => esc_html__( 'Blog Date', 'yobazar' ) ,'subtitle' => '' ,'default' => true ,'on' => esc_html__( 'Show', 'yobazar' ) ,'off' => esc_html__( 'Hide', 'yobazar' ) ) ,array( 'id' => 'ts_blog_title' ,'type' => 'switch' ,'title' => esc_html__( 'Blog Title', 'yobazar' ) ,'subtitle' => '' ,'default' => true ,'on' => esc_html__( 'Show', 'yobazar' ) ,'off' => esc_html__( 'Hide', 'yobazar' ) ) ,array( 'id' => 'ts_blog_author' ,'type' => 'switch' ,'title' => esc_html__( 'Blog Author', 'yobazar' ) ,'subtitle' => '' ,'default' => false ,'on' => esc_html__( 'Show', 'yobazar' ) ,'off' => esc_html__( 'Hide', 'yobazar' ) ) ,array( 'id' => 'ts_blog_comment' ,'type' => 'switch' ,'title' => esc_html__( 'Blog Comment', 'yobazar' ) ,'subtitle' => '' ,'default' => false ,'on' => esc_html__( 'Show', 'yobazar' ) ,'off' => esc_html__( 'Hide', 'yobazar' ) ) ,array( 'id' => 'ts_blog_read_more' ,'type' => 'switch' ,'title' => esc_html__( 'Blog Read More Button', 'yobazar' ) ,'subtitle' => '' ,'default' => false ,'on' => esc_html__( 'Show', 'yobazar' ) ,'off' => esc_html__( 'Hide', 'yobazar' ) ) ,array( 'id' => 'ts_blog_categories' ,'type' => 'switch' ,'title' => esc_html__( 'Blog Categories', 'yobazar' ) ,'subtitle' => '' ,'default' => false ,'on' => esc_html__( 'Show', 'yobazar' ) ,'off' => esc_html__( 'Hide', 'yobazar' ) ) ,array( 'id' => 'ts_blog_excerpt' ,'type' => 'switch' ,'title' => esc_html__( 'Blog Excerpt', 'yobazar' ) ,'subtitle' => '' ,'default' => true ,'on' => esc_html__( 'Show', 'yobazar' ) ,'off' => esc_html__( 'Hide', 'yobazar' ) ) ,array( 'id' => 'ts_blog_excerpt_strip_tags' ,'type' => 'switch' ,'title' => esc_html__( 'Blog Excerpt Strip All Tags', 'yobazar' ) ,'subtitle' => esc_html__( 'Strip all html tags in Excerpt', 'yobazar' ) ,'default' => false ) ,array( 'id' => 'ts_blog_excerpt_max_words' ,'type' => 'text' ,'title' => esc_html__( 'Blog Excerpt Max Words', 'yobazar' ) ,'subtitle' => esc_html__( 'Input -1 to show full excerpt', 'yobazar' ) ,'desc' => '' ,'default' => '-1' ) ,array( 'id' => 'section-blog-details' ,'type' => 'section' ,'title' => esc_html__( 'Blog Details', 'yobazar' ) ,'subtitle' => '' ,'indent' => false ) ,array( 'id' => 'ts_blog_details_layout' ,'type' => 'image_select' ,'title' => esc_html__( 'Blog Details Layout', 'yobazar' ) ,'subtitle' => '' ,'desc' => '' ,'options' => array( '0-1-0' => array( 'alt' => esc_html__('Fullwidth', 'yobazar') ,'img' => $redux_url . 'assets/img/1col.png' ) ,'1-1-0' => array( 'alt' => esc_html__('Left Sidebar', 'yobazar') ,'img' => $redux_url . 'assets/img/2cl.png' ) ,'0-1-1' => array( 'alt' => esc_html__('Right Sidebar', 'yobazar') ,'img' => $redux_url . 'assets/img/2cr.png' ) ,'1-1-1' => array( 'alt' => esc_html__('Left & Right Sidebar', 'yobazar') ,'img' => $redux_url . 'assets/img/3cm.png' ) ) ,'default' => '0-1-1' ) ,array( 'id' => 'ts_blog_details_left_sidebar' ,'type' => 'select' ,'title' => esc_html__( 'Left Sidebar', 'yobazar' ) ,'subtitle' => '' ,'desc' => '' ,'options' => $sidebar_options ,'default' => 'blog-detail-sidebar' ,'select2' => array('allowClear' => false, 'minimumResultsForSearch' => 'Infinity') ) ,array( 'id' => 'ts_blog_details_right_sidebar' ,'type' => 'select' ,'title' => esc_html__( 'Right Sidebar', 'yobazar' ) ,'subtitle' => '' ,'desc' => '' ,'options' => $sidebar_options ,'default' => 'blog-detail-sidebar' ,'select2' => array('allowClear' => false, 'minimumResultsForSearch' => 'Infinity') ) ,array( 'id' => 'ts_blog_details_thumbnail' ,'type' => 'switch' ,'title' => esc_html__( 'Blog Thumbnail', 'yobazar' ) ,'subtitle' => '' ,'default' => true ,'on' => esc_html__( 'Show', 'yobazar' ) ,'off' => esc_html__( 'Hide', 'yobazar' ) ) ,array( 'id' => 'ts_blog_details_date' ,'type' => 'switch' ,'title' => esc_html__( 'Blog Date', 'yobazar' ) ,'subtitle' => '' ,'default' => true ,'on' => esc_html__( 'Show', 'yobazar' ) ,'off' => esc_html__( 'Hide', 'yobazar' ) ) ,array( 'id' => 'ts_blog_details_title' ,'type' => 'switch' ,'title' => esc_html__( 'Blog Title', 'yobazar' ) ,'subtitle' => '' ,'default' => true ,'on' => esc_html__( 'Show', 'yobazar' ) ,'off' => esc_html__( 'Hide', 'yobazar' ) ) ,array( 'id' => 'ts_blog_details_author' ,'type' => 'switch' ,'title' => esc_html__( 'Blog Author', 'yobazar' ) ,'subtitle' => '' ,'default' => false ,'on' => esc_html__( 'Show', 'yobazar' ) ,'off' => esc_html__( 'Hide', 'yobazar' ) ) ,array( 'id' => 'ts_blog_details_comment' ,'type' => 'switch' ,'title' => esc_html__( 'Blog Comment', 'yobazar' ) ,'subtitle' => '' ,'default' => false ,'on' => esc_html__( 'Show', 'yobazar' ) ,'off' => esc_html__( 'Hide', 'yobazar' ) ) ,array( 'id' => 'ts_blog_details_content' ,'type' => 'switch' ,'title' => esc_html__( 'Blog Content', 'yobazar' ) ,'subtitle' => '' ,'default' => true ,'on' => esc_html__( 'Show', 'yobazar' ) ,'off' => esc_html__( 'Hide', 'yobazar' ) ) ,array( 'id' => 'ts_blog_details_tags' ,'type' => 'switch' ,'title' => esc_html__( 'Blog Tags', 'yobazar' ) ,'subtitle' => '' ,'default' => true ,'on' => esc_html__( 'Show', 'yobazar' ) ,'off' => esc_html__( 'Hide', 'yobazar' ) ) ,array( 'id' => 'ts_blog_details_categories' ,'type' => 'switch' ,'title' => esc_html__( 'Blog Categories', 'yobazar' ) ,'subtitle' => '' ,'default' => false ,'on' => esc_html__( 'Show', 'yobazar' ) ,'off' => esc_html__( 'Hide', 'yobazar' ) ) ,array( 'id' => 'ts_blog_details_sharing' ,'type' => 'switch' ,'title' => esc_html__( 'Blog Sharing', 'yobazar' ) ,'subtitle' => '' ,'default' => true ,'on' => esc_html__( 'Show', 'yobazar' ) ,'off' => esc_html__( 'Hide', 'yobazar' ) ) ,array( 'id' => 'ts_blog_details_sharing_sharethis' ,'type' => 'switch' ,'title' => esc_html__( 'Blog Sharing - Use ShareThis', 'yobazar' ) ,'subtitle' => esc_html__( 'Use share buttons from sharethis.com. You need to add key below', 'yobazar') ,'default' => true ,'required' => array( 'ts_blog_details_sharing', 'equals', '1' ) ) ,array( 'id' => 'ts_blog_details_sharing_sharethis_key' ,'type' => 'text' ,'title' => esc_html__( 'Blog Sharing - ShareThis Key', 'yobazar' ) ,'subtitle' => esc_html__( 'You get it from script code. It is the value of "property" attribute', 'yobazar' ) ,'desc' => '' ,'default' => '' ,'required' => array( 'ts_blog_details_sharing', 'equals', '1' ) ) ,array( 'id' => 'ts_blog_details_author_box' ,'type' => 'switch' ,'title' => esc_html__( 'Blog Author Box', 'yobazar' ) ,'subtitle' => '' ,'default' => false ,'on' => esc_html__( 'Show', 'yobazar' ) ,'off' => esc_html__( 'Hide', 'yobazar' ) ) ,array( 'id' => 'ts_blog_details_navigation' ,'type' => 'switch' ,'title' => esc_html__( 'Blog Navigation', 'yobazar' ) ,'subtitle' => '' ,'default' => false ,'on' => esc_html__( 'Show', 'yobazar' ) ,'off' => esc_html__( 'Hide', 'yobazar' ) ) ,array( 'id' => 'ts_blog_details_related_posts' ,'type' => 'switch' ,'title' => esc_html__( 'Blog Related Posts', 'yobazar' ) ,'subtitle' => '' ,'default' => true ,'on' => esc_html__( 'Show', 'yobazar' ) ,'off' => esc_html__( 'Hide', 'yobazar' ) ) ,array( 'id' => 'ts_blog_details_comment_form' ,'type' => 'switch' ,'title' => esc_html__( 'Blog Comment Form', 'yobazar' ) ,'subtitle' => '' ,'default' => true ,'on' => esc_html__( 'Show', 'yobazar' ) ,'off' => esc_html__( 'Hide', 'yobazar' ) ) ); /*** Portfolio Details Tab ***/ $option_fields['portfolio-details'] = array( array( 'id' => 'ts_portfolio_page' ,'type' => 'select' ,'title' => esc_html__( 'Portfolio Page', 'yobazar' ) ,'subtitle' => esc_html__( 'Select the page which displays the list of portfolios. You also need to add our portfolio shortcode to that page', 'yobazar' ) ,'desc' => '' ,'data' => 'pages' ,'default' => '' ) ,array( 'id' => 'ts_portfolio_layout' ,'type' => 'select' ,'title' => esc_html__( 'Layout', 'yobazar' ) ,'subtitle' => esc_html__( 'Display thumbnail at the top or left of content', 'yobazar' ) ,'desc' => '' ,'options' => array( 'top-thumbnail' => esc_html__( 'Top Thumbnail', 'yobazar' ) ,'left-thumbnail' => esc_html__( 'Left Thumbnail', 'yobazar' ) ) ,'default' => 'left-thumbnail' ,'select2' => array('allowClear' => false, 'minimumResultsForSearch' => 'Infinity') ) ,array( 'id' => 'ts_portfolio_thumbnail_style' ,'type' => 'select' ,'title' => esc_html__( 'Thumbnail Style', 'yobazar' ) ,'subtitle' => '' ,'desc' => '' ,'options' => array( 'slider' => esc_html__( 'Slider', 'yobazar' ) ,'gallery' => esc_html__( 'Gallery', 'yobazar' ) ) ,'default' => 'gallery' ,'select2' => array('allowClear' => false, 'minimumResultsForSearch' => 'Infinity') ) ,array( 'id' => 'ts_portfolio_thumbnail' ,'type' => 'switch' ,'title' => esc_html__( 'Portfolio Thumbnail', 'yobazar' ) ,'subtitle' => '' ,'default' => true ,'on' => esc_html__( 'Show', 'yobazar' ) ,'off' => esc_html__( 'Hide', 'yobazar' ) ) ,array( 'id' => 'ts_portfolio_title' ,'type' => 'switch' ,'title' => esc_html__( 'Portfolio Title', 'yobazar' ) ,'subtitle' => '' ,'default' => true ,'on' => esc_html__( 'Show', 'yobazar' ) ,'off' => esc_html__( 'Hide', 'yobazar' ) ) ,array( 'id' => 'ts_portfolio_date' ,'type' => 'switch' ,'title' => esc_html__( 'Portfolio Date', 'yobazar' ) ,'subtitle' => '' ,'default' => true ,'on' => esc_html__( 'Show', 'yobazar' ) ,'off' => esc_html__( 'Hide', 'yobazar' ) ) ,array( 'id' => 'ts_portfolio_likes' ,'type' => 'switch' ,'title' => esc_html__( 'Portfolio Likes', 'yobazar' ) ,'subtitle' => '' ,'default' => true ,'on' => esc_html__( 'Show', 'yobazar' ) ,'off' => esc_html__( 'Hide', 'yobazar' ) ) ,array( 'id' => 'ts_portfolio_content' ,'type' => 'switch' ,'title' => esc_html__( 'Portfolio Content', 'yobazar' ) ,'subtitle' => '' ,'default' => true ,'on' => esc_html__( 'Show', 'yobazar' ) ,'off' => esc_html__( 'Hide', 'yobazar' ) ) ,array( 'id' => 'ts_portfolio_client' ,'type' => 'switch' ,'title' => esc_html__( 'Portfolio Client', 'yobazar' ) ,'subtitle' => '' ,'default' => true ,'on' => esc_html__( 'Show', 'yobazar' ) ,'off' => esc_html__( 'Hide', 'yobazar' ) ) ,array( 'id' => 'ts_portfolio_year' ,'type' => 'switch' ,'title' => esc_html__( 'Portfolio Year', 'yobazar' ) ,'subtitle' => '' ,'default' => true ,'on' => esc_html__( 'Show', 'yobazar' ) ,'off' => esc_html__( 'Hide', 'yobazar' ) ) ,array( 'id' => 'ts_portfolio_url' ,'type' => 'switch' ,'title' => esc_html__( 'Portfolio URL', 'yobazar' ) ,'subtitle' => '' ,'default' => true ,'on' => esc_html__( 'Show', 'yobazar' ) ,'off' => esc_html__( 'Hide', 'yobazar' ) ) ,array( 'id' => 'ts_portfolio_categories' ,'type' => 'switch' ,'title' => esc_html__( 'Portfolio Categories', 'yobazar' ) ,'subtitle' => '' ,'default' => true ,'on' => esc_html__( 'Show', 'yobazar' ) ,'off' => esc_html__( 'Hide', 'yobazar' ) ) ,array( 'id' => 'ts_portfolio_sharing' ,'type' => 'switch' ,'title' => esc_html__( 'Portfolio Sharing', 'yobazar' ) ,'subtitle' => '' ,'default' => true ,'on' => esc_html__( 'Show', 'yobazar' ) ,'off' => esc_html__( 'Hide', 'yobazar' ) ) ,array( 'id' => 'ts_portfolio_related_posts' ,'type' => 'switch' ,'title' => esc_html__( 'Portfolio Related Posts', 'yobazar' ) ,'subtitle' => '' ,'default' => true ,'on' => esc_html__( 'Show', 'yobazar' ) ,'off' => esc_html__( 'Hide', 'yobazar' ) ) ,array( 'id' => 'ts_portfolio_custom_field' ,'type' => 'switch' ,'title' => esc_html__( 'Portfolio Custom Field', 'yobazar' ) ,'subtitle' => '' ,'default' => false ,'on' => esc_html__( 'Show', 'yobazar' ) ,'off' => esc_html__( 'Hide', 'yobazar' ) ) ,array( 'id' => 'ts_portfolio_custom_field_title' ,'type' => 'text' ,'title' => esc_html__( 'Portfolio Custom Field Title', 'yobazar' ) ,'subtitle' => '' ,'desc' => '' ,'default' => 'Custom' ,'required' => array( 'ts_portfolio_custom_field', 'equals', '1' ) ) ,array( 'id' => 'ts_portfolio_custom_field_content' ,'type' => 'editor' ,'title' => esc_html__( 'Portfolio Custom Field Content', 'yobazar' ) ,'subtitle' => '' ,'desc' => '' ,'default' => 'Custom content goes here' ,'args' => array( 'wpautop' => false ,'media_buttons' => true ,'textarea_rows' => 5 ,'teeny' => false ,'quicktags' => true ) ,'required' => array( 'ts_portfolio_custom_field', 'equals', '1' ) ) ); /*** WooCommerce Tab ***/ $option_fields['woocommerce'] = array( array( 'id' => 'section-product-label' ,'type' => 'section' ,'title' => esc_html__( 'Product Label', 'yobazar' ) ,'subtitle' => '' ,'indent' => false ) ,array( 'id' => 'ts_product_label_style' ,'type' => 'select' ,'title' => esc_html__( 'Product Label Style', 'yobazar' ) ,'subtitle' => '' ,'desc' => '' ,'options' => array( 'rectangle' => esc_html__( 'Rectangle', 'yobazar' ) ,'square' => esc_html__( 'Square', 'yobazar' ) ,'circle' => esc_html__( 'Circle', 'yobazar' ) ) ,'default' => 'circle' ,'select2' => array('allowClear' => false, 'minimumResultsForSearch' => 'Infinity') ) ,array( 'id' => 'ts_product_show_new_label' ,'type' => 'switch' ,'title' => esc_html__( 'Product New Label', 'yobazar' ) ,'subtitle' => '' ,'default' => false ,'on' => esc_html__( 'Show', 'yobazar' ) ,'off' => esc_html__( 'Hide', 'yobazar' ) ) ,array( 'id' => 'ts_product_new_label_text' ,'type' => 'text' ,'title' => esc_html__( 'Product New Label Text', 'yobazar' ) ,'subtitle' => '' ,'desc' => '' ,'default' => 'New' ,'required' => array( 'ts_product_show_new_label', 'equals', '1' ) ) ,array( 'id' => 'ts_product_show_new_label_time' ,'type' => 'text' ,'title' => esc_html__( 'Product New Label Time', 'yobazar' ) ,'subtitle' => esc_html__( 'Number of days which you want to show New label since product is published', 'yobazar' ) ,'desc' => '' ,'default' => '30' ,'required' => array( 'ts_product_show_new_label', 'equals', '1' ) ) ,array( 'id' => 'ts_product_sale_label_text' ,'type' => 'text' ,'title' => esc_html__( 'Product Sale Label Text', 'yobazar' ) ,'subtitle' => '' ,'desc' => '' ,'default' => 'Sale' ) ,array( 'id' => 'ts_product_feature_label_text' ,'type' => 'text' ,'title' => esc_html__( 'Product Feature Label Text', 'yobazar' ) ,'subtitle' => '' ,'desc' => '' ,'default' => 'Hot' ) ,array( 'id' => 'ts_product_out_of_stock_label_text' ,'type' => 'text' ,'title' => esc_html__( 'Product Out Of Stock Label Text', 'yobazar' ) ,'subtitle' => '' ,'desc' => '' ,'default' => 'Sold out' ) ,array( 'id' => 'ts_show_sale_label_as' ,'type' => 'select' ,'title' => esc_html__( 'Show Sale Label As', 'yobazar' ) ,'subtitle' => '' ,'desc' => '' ,'options' => array( 'text' => esc_html__( 'Text', 'yobazar' ) ,'number' => esc_html__( 'Number', 'yobazar' ) ,'percent' => esc_html__( 'Percent', 'yobazar' ) ) ,'default' => 'text' ,'select2' => array('allowClear' => false, 'minimumResultsForSearch' => 'Infinity') ) ,array( 'id' => 'section-product-title' ,'type' => 'section' ,'title' => esc_html__( 'Product Title', 'yobazar' ) ,'subtitle' => '' ,'indent' => false ) ,array( 'id' => 'ts_product_title_shorten' ,'type' => 'switch' ,'title' => esc_html__( 'Product Title Shorten', 'yobazar' ) ,'subtitle' => esc_html__( 'Display product title on single line with "..." if it is long', 'yobazar' ) ,'default' => true ) ,array( 'id' => 'section-product-rating' ,'type' => 'section' ,'title' => esc_html__( 'Product Rating', 'yobazar' ) ,'subtitle' => '' ,'indent' => false ) ,array( 'id' => 'ts_product_rating_style' ,'type' => 'select' ,'title' => esc_html__( 'Product Rating Style', 'yobazar' ) ,'subtitle' => '' ,'desc' => '' ,'options' => array( 'border' => esc_html__( 'Border', 'yobazar' ) ,'fill' => esc_html__( 'Fill', 'yobazar' ) ) ,'default' => 'fill' ,'select2' => array('allowClear' => false, 'minimumResultsForSearch' => 'Infinity') ) ,array( 'id' => 'section-product-hover' ,'type' => 'section' ,'title' => esc_html__( 'Product Hover', 'yobazar' ) ,'subtitle' => '' ,'indent' => false ) ,array( 'id' => 'ts_product_hover_style' ,'type' => 'select' ,'title' => esc_html__( 'Hover Style', 'yobazar' ) ,'subtitle' => esc_html__( 'Select the style of buttons/icons when hovering on product', 'yobazar' ) ,'desc' => '' ,'options' => array( 'hover-vertical-style' => esc_html__( 'Vertical Style', 'yobazar' ) ,'hover-vertical-style-2' => esc_html__( 'Vertical Style 2', 'yobazar' ) ) ,'default' => 'hover-vertical-style-2' ,'select2' => array('allowClear' => false, 'minimumResultsForSearch' => 'Infinity') ) ,array( 'id' => 'ts_effect_product' ,'type' => 'switch' ,'title' => esc_html__( 'Back Product Image', 'yobazar' ) ,'subtitle' => esc_html__( 'Show another product image on hover. It will show an image from Product Gallery', 'yobazar' ) ,'default' => false ) ,array( 'id' => 'ts_product_tooltip' ,'type' => 'switch' ,'title' => esc_html__( 'Product Tooltip', 'yobazar' ) ,'subtitle' => esc_html__( 'Show tooltip when hovering on buttons/icons on product', 'yobazar' ) ,'default' => true ) ,array( 'id' => 'section-lazy-load' ,'type' => 'section' ,'title' => esc_html__( 'Lazy Load', 'yobazar' ) ,'subtitle' => '' ,'indent' => false ) ,array( 'id' => 'ts_prod_lazy_load' ,'type' => 'switch' ,'title' => esc_html__( 'Activate Lazy Load', 'yobazar' ) ,'subtitle' => '' ,'default' => true ) ,array( 'id' => 'ts_prod_placeholder_img' ,'type' => 'media' ,'url' => true ,'title' => esc_html__( 'Placeholder Image', 'yobazar' ) ,'desc' => '' ,'subtitle' => '' ,'readonly' => false ,'default' => array( 'url' => $product_loading_image ) ) ,array( 'id' => 'section-quickshop' ,'type' => 'section' ,'title' => esc_html__( 'Quickshop', 'yobazar' ) ,'subtitle' => '' ,'indent' => false ) ,array( 'id' => 'ts_enable_quickshop' ,'type' => 'switch' ,'title' => esc_html__( 'Activate Quickshop', 'yobazar' ) ,'subtitle' => '' ,'default' => true ) ,array( 'id' => 'section-catalog-mode' ,'type' => 'section' ,'title' => esc_html__( 'Catalog Mode', 'yobazar' ) ,'subtitle' => '' ,'indent' => false ) ,array( 'id' => 'ts_enable_catalog_mode' ,'type' => 'switch' ,'title' => esc_html__( 'Enable Catalog Mode', 'yobazar' ) ,'subtitle' => esc_html__( 'Hide all Add To Cart buttons on your site. You can also hide Shopping cart by going to Header tab > turn Shopping Cart option off', 'yobazar' ) ,'default' => false ) ,array( 'id' => 'section-ajax-search' ,'type' => 'section' ,'title' => esc_html__( 'Ajax Search', 'yobazar' ) ,'subtitle' => '' ,'indent' => false ) ,array( 'id' => 'ts_ajax_search' ,'type' => 'switch' ,'title' => esc_html__( 'Enable Ajax Search', 'yobazar' ) ,'subtitle' => '' ,'default' => true ) ,array( 'id' => 'ts_ajax_search_number_result' ,'type' => 'text' ,'title' => esc_html__( 'Number Of Results', 'yobazar' ) ,'subtitle' => esc_html__( 'Input -1 to show all results', 'yobazar' ) ,'desc' => '' ,'default' => '4' ) ); /*** Shop/Product Category Tab ***/ $option_fields['shop-product-category'] = array( array( 'id' => 'ts_prod_cat_layout' ,'type' => 'image_select' ,'title' => esc_html__( 'Shop/Product Category Layout', 'yobazar' ) ,'subtitle' => esc_html__( 'Sidebar is only available if Filter Widget Area is disabled', 'yobazar' ) ,'desc' => '' ,'options' => array( '0-1-0' => array( 'alt' => esc_html__('Fullwidth', 'yobazar') ,'img' => $redux_url . 'assets/img/1col.png' ) ,'1-1-0' => array( 'alt' => esc_html__('Left Sidebar', 'yobazar') ,'img' => $redux_url . 'assets/img/2cl.png' ) ,'0-1-1' => array( 'alt' => esc_html__('Right Sidebar', 'yobazar') ,'img' => $redux_url . 'assets/img/2cr.png' ) ,'1-1-1' => array( 'alt' => esc_html__('Left & Right Sidebar', 'yobazar') ,'img' => $redux_url . 'assets/img/3cm.png' ) ) ,'default' => '0-1-0' ) ,array( 'id' => 'ts_prod_cat_left_sidebar' ,'type' => 'select' ,'title' => esc_html__( 'Left Sidebar', 'yobazar' ) ,'subtitle' => '' ,'desc' => '' ,'options' => $sidebar_options ,'default' => 'product-category-sidebar' ,'select2' => array('allowClear' => false, 'minimumResultsForSearch' => 'Infinity') ) ,array( 'id' => 'ts_prod_cat_right_sidebar' ,'type' => 'select' ,'title' => esc_html__( 'Right Sidebar', 'yobazar' ) ,'subtitle' => '' ,'desc' => '' ,'options' => $sidebar_options ,'default' => 'product-category-sidebar' ,'select2' => array('allowClear' => false, 'minimumResultsForSearch' => 'Infinity') ) ,array( 'id' => 'ts_prod_cat_columns' ,'type' => 'select' ,'title' => esc_html__( 'Product Columns', 'yobazar' ) ,'subtitle' => '' ,'desc' => '' ,'options' => array( 1 => 1 ,2 => 2 ,3 => 3 ,4 => 4 ) ,'default' => '4' ,'select2' => array('allowClear' => false, 'minimumResultsForSearch' => 'Infinity') ) ,array( 'id' => 'ts_prod_cat_columns_selector' ,'type' => 'switch' ,'title' => esc_html__( 'Product Columns Selector', 'yobazar' ) ,'subtitle' => esc_html__( 'Allow users to select columns on frontend', 'yobazar' ) ,'default' => true ,'on' => esc_html__( 'Show', 'yobazar' ) ,'off' => esc_html__( 'Hide', 'yobazar' ) ) ,array( 'id' => 'ts_prod_cat_quantity_input' ,'type' => 'switch' ,'title' => esc_html__( 'Product Quantity Input', 'yobazar' ) ,'subtitle' => esc_html__( 'Show the quantity input on the list view (one column)', 'yobazar' ) ,'default' => true ,'on' => esc_html__( 'Show', 'yobazar' ) ,'off' => esc_html__( 'Hide', 'yobazar' ) ) ,array( 'id' => 'ts_prod_cat_per_page' ,'type' => 'text' ,'title' => esc_html__( 'Products Per Page', 'yobazar' ) ,'subtitle' => esc_html__( 'Number of products per page', 'yobazar' ) ,'desc' => '' ,'default' => '20' ) ,array( 'id' => 'ts_prod_cat_loading_type' ,'type' => 'select' ,'title' => esc_html__( 'Product Loading Type', 'yobazar' ) ,'subtitle' => '' ,'desc' => '' ,'options' => array( 'default' => esc_html__( 'Default', 'yobazar' ) ,'infinity-scroll' => esc_html__( 'Infinity Scroll', 'yobazar' ) ,'load-more-button' => esc_html__( 'Load More Button', 'yobazar' ) ,'ajax-pagination' => esc_html__( 'Ajax Pagination', 'yobazar' ) ) ,'default' => 'ajax-pagination' ,'select2' => array('allowClear' => false, 'minimumResultsForSearch' => 'Infinity') ) ,array( 'id' => 'ts_prod_cat_per_page_dropdown' ,'type' => 'switch' ,'title' => esc_html__( 'Products Per Page Dropdown', 'yobazar' ) ,'subtitle' => esc_html__( 'Allow users to select number of products per page', 'yobazar' ) ,'default' => true ,'on' => esc_html__( 'Show', 'yobazar' ) ,'off' => esc_html__( 'Hide', 'yobazar' ) ) ,array( 'id' => 'ts_prod_cat_onsale_checkbox' ,'type' => 'switch' ,'title' => esc_html__( 'Products On Sale Checkbox', 'yobazar' ) ,'subtitle' => esc_html__( 'Allow users to view only the discounted products', 'yobazar' ) ,'default' => true ,'on' => esc_html__( 'Show', 'yobazar' ) ,'off' => esc_html__( 'Hide', 'yobazar' ) ) ,array( 'id' => 'ts_filter_widget_area' ,'type' => 'switch' ,'title' => esc_html__( 'Filter Widget Area', 'yobazar' ) ,'subtitle' => esc_html__( 'Display Filter Widget Area on the Shop/Product Category page. If enabled, sidebar will be removed', 'yobazar' ) ,'default' => true ,'on' => esc_html__( 'Show', 'yobazar' ) ,'off' => esc_html__( 'Hide', 'yobazar' ) ) ,array( 'id' => 'ts_show_filter_widget_area_by_default' ,'type' => 'switch' ,'title' => esc_html__( 'Show Filter Widget Area By Default', 'yobazar' ) ,'subtitle' => esc_html__( 'Show Filter Widget Area by default and hide the Filter button on Desktop', 'yobazar' ) ,'default' => false ,'required' => array( 'ts_filter_widget_area', 'equals', '1' ) ) ,array( 'id' => 'ts_prod_cat_thumbnail' ,'type' => 'switch' ,'title' => esc_html__( 'Product Thumbnail', 'yobazar' ) ,'subtitle' => '' ,'default' => true ,'on' => esc_html__( 'Show', 'yobazar' ) ,'off' => esc_html__( 'Hide', 'yobazar' ) ) ,array( 'id' => 'ts_prod_cat_label' ,'type' => 'switch' ,'title' => esc_html__( 'Product Label', 'yobazar' ) ,'subtitle' => '' ,'default' => true ,'on' => esc_html__( 'Show', 'yobazar' ) ,'off' => esc_html__( 'Hide', 'yobazar' ) ) ,array( 'id' => 'ts_prod_cat_brand' ,'type' => 'switch' ,'title' => esc_html__( 'Product Brands', 'yobazar' ) ,'subtitle' => '' ,'default' => false ,'on' => esc_html__( 'Show', 'yobazar' ) ,'off' => esc_html__( 'Hide', 'yobazar' ) ) ,array( 'id' => 'ts_prod_cat_cat' ,'type' => 'switch' ,'title' => esc_html__( 'Product Categories', 'yobazar' ) ,'subtitle' => '' ,'default' => false ,'on' => esc_html__( 'Show', 'yobazar' ) ,'off' => esc_html__( 'Hide', 'yobazar' ) ) ,array( 'id' => 'ts_prod_cat_title' ,'type' => 'switch' ,'title' => esc_html__( 'Product Title', 'yobazar' ) ,'subtitle' => '' ,'default' => true ,'on' => esc_html__( 'Show', 'yobazar' ) ,'off' => esc_html__( 'Hide', 'yobazar' ) ) ,array( 'id' => 'ts_prod_cat_sku' ,'type' => 'switch' ,'title' => esc_html__( 'Product SKU', 'yobazar' ) ,'subtitle' => '' ,'default' => false ,'on' => esc_html__( 'Show', 'yobazar' ) ,'off' => esc_html__( 'Hide', 'yobazar' ) ) ,array( 'id' => 'ts_prod_cat_rating' ,'type' => 'switch' ,'title' => esc_html__( 'Product Rating', 'yobazar' ) ,'subtitle' => '' ,'default' => false ,'on' => esc_html__( 'Show', 'yobazar' ) ,'off' => esc_html__( 'Hide', 'yobazar' ) ) ,array( 'id' => 'ts_prod_cat_price' ,'type' => 'switch' ,'title' => esc_html__( 'Product Price', 'yobazar' ) ,'subtitle' => '' ,'default' => true ,'on' => esc_html__( 'Show', 'yobazar' ) ,'off' => esc_html__( 'Hide', 'yobazar' ) ) ,array( 'id' => 'ts_prod_cat_add_to_cart' ,'type' => 'switch' ,'title' => esc_html__( 'Product Add To Cart Button', 'yobazar' ) ,'subtitle' => '' ,'default' => true ,'on' => esc_html__( 'Show', 'yobazar' ) ,'off' => esc_html__( 'Hide', 'yobazar' ) ) ,array( 'id' => 'ts_prod_cat_desc' ,'type' => 'switch' ,'title' => esc_html__( 'Product Short Description', 'yobazar' ) ,'subtitle' => '' ,'default' => false ,'on' => esc_html__( 'Show', 'yobazar' ) ,'off' => esc_html__( 'Hide', 'yobazar' ) ) ,array( 'id' => 'ts_prod_cat_desc_words' ,'type' => 'text' ,'title' => esc_html__( 'Product Short Description - Limit Words', 'yobazar' ) ,'subtitle' => esc_html__( 'It is also used for product shortcode', 'yobazar' ) ,'desc' => '' ,'default' => '8' ) ,array( 'id' => 'ts_prod_cat_color_swatch' ,'type' => 'switch' ,'title' => esc_html__( 'Product Color Swatches', 'yobazar' ) ,'subtitle' => esc_html__( 'Show the color attribute of variations. The slug of the color attribute has to be "color"', 'yobazar' ) ,'default' => false ,'on' => esc_html__( 'Show', 'yobazar' ) ,'off' => esc_html__( 'Hide', 'yobazar' ) ) ,array( 'id' => 'ts_prod_cat_number_color_swatch' ,'type' => 'select' ,'title' => esc_html__( 'Number Of Color Swatches', 'yobazar' ) ,'subtitle' => '' ,'desc' => '' ,'options' => array( 2 => 2 ,3 => 3 ,4 => 4 ,5 => 5 ,6 => 6 ) ,'default' => '3' ,'select2' => array('allowClear' => false, 'minimumResultsForSearch' => 'Infinity') ,'required' => array( 'ts_prod_cat_color_swatch', 'equals', '1' ) ) ,array( 'id' => 'ts_prod_cat_bottom_content' ,'type' => 'editor' ,'title' => esc_html__( 'Bottom Content', 'yobazar' ) ,'subtitle' => esc_html__( 'You can add banner or custom content at the bottom of products', 'yobazar' ) ,'desc' => '' ,'default' => '' ,'args' => array( 'wpautop' => false ,'media_buttons' => true ,'textarea_rows' => 10 ,'teeny' => false ,'quicktags' => false ) ) ); /*** Product Details Tab ***/ $option_fields['product-details'] = array( array( 'id' => 'ts_prod_layout' ,'type' => 'image_select' ,'title' => esc_html__( 'Product Layout', 'yobazar' ) ,'subtitle' => '' ,'desc' => '' ,'options' => array( '0-1-0' => array( 'alt' => esc_html__('Fullwidth', 'yobazar') ,'img' => $redux_url . 'assets/img/1col.png' ) ,'1-1-0' => array( 'alt' => esc_html__('Left Sidebar', 'yobazar') ,'img' => $redux_url . 'assets/img/2cl.png' ) ,'0-1-1' => array( 'alt' => esc_html__('Right Sidebar', 'yobazar') ,'img' => $redux_url . 'assets/img/2cr.png' ) ,'1-1-1' => array( 'alt' => esc_html__('Left & Right Sidebar', 'yobazar') ,'img' => $redux_url . 'assets/img/3cm.png' ) ) ,'default' => '0-1-0' ) ,array( 'id' => 'ts_prod_left_sidebar' ,'type' => 'select' ,'title' => esc_html__( 'Left Sidebar', 'yobazar' ) ,'subtitle' => '' ,'desc' => '' ,'options' => $sidebar_options ,'default' => 'product-detail-sidebar' ,'select2' => array('allowClear' => false, 'minimumResultsForSearch' => 'Infinity') ) ,array( 'id' => 'ts_prod_right_sidebar' ,'type' => 'select' ,'title' => esc_html__( 'Right Sidebar', 'yobazar' ) ,'subtitle' => '' ,'desc' => '' ,'options' => $sidebar_options ,'default' => 'product-detail-sidebar' ,'select2' => array('allowClear' => false, 'minimumResultsForSearch' => 'Infinity') ) ,array( 'id' => 'ts_prod_layout_fullwidth' ,'type' => 'select' ,'title' => esc_html__( 'Product Layout Fullwidth', 'yobazar' ) ,'subtitle' => esc_html__( 'Override the Layout Fullwidth option in the General tab', 'yobazar' ) ,'desc' => '' ,'options' => array( 'default' => esc_html__( 'Default', 'yobazar' ) ,'0' => esc_html__( 'No', 'yobazar' ) ,'1' => esc_html__( 'Yes', 'yobazar' ) ) ,'default' => '1' ,'select2' => array('allowClear' => false, 'minimumResultsForSearch' => 'Infinity') ) ,array( 'id' => 'ts_prod_header_layout_fullwidth' ,'type' => 'switch' ,'title' => esc_html__( 'Product Header Layout Fullwidth', 'yobazar' ) ,'subtitle' => '' ,'default' => true ,'required' => array( 'ts_prod_layout_fullwidth', 'equals', '1' ) ) ,array( 'id' => 'ts_prod_main_content_layout_fullwidth' ,'type' => 'switch' ,'title' => esc_html__( 'Product Main Content Layout Fullwidth', 'yobazar' ) ,'subtitle' => '' ,'default' => false ,'required' => array( 'ts_prod_layout_fullwidth', 'equals', '1' ) ) ,array( 'id' => 'ts_prod_footer_layout_fullwidth' ,'type' => 'switch' ,'title' => esc_html__( 'Product Footer Layout Fullwidth', 'yobazar' ) ,'subtitle' => '' ,'default' => false ,'required' => array( 'ts_prod_layout_fullwidth', 'equals', '1' ) ) ,array( 'id' => 'ts_prod_breadcrumb' ,'type' => 'switch' ,'title' => esc_html__( 'Product Breadcrumb', 'yobazar' ) ,'subtitle' => '' ,'default' => true ) ,array( 'id' => 'ts_prod_cloudzoom' ,'type' => 'switch' ,'title' => esc_html__( 'Product Cloud Zoom', 'yobazar' ) ,'subtitle' => '' ,'default' => true ) ,array( 'id' => 'ts_prod_lightbox' ,'type' => 'switch' ,'title' => esc_html__( 'Product Lightbox', 'yobazar' ) ,'subtitle' => '' ,'default' => true ) ,array( 'id' => 'ts_prod_attr_dropdown' ,'type' => 'switch' ,'title' => esc_html__( 'Product Attribute Dropdown', 'yobazar' ) ,'subtitle' => esc_html__( 'If you turn it off, the dropdown will be replaced by image or text label', 'yobazar' ) ,'default' => true ) ,array( 'id' => 'ts_prod_attr_color_text' ,'type' => 'switch' ,'title' => esc_html__( 'Product Color Attribute Text', 'yobazar' ) ,'subtitle' => esc_html__( 'Show text for the Color attribute instead of color/color image', 'yobazar' ) ,'default' => false ,'required' => array( 'ts_prod_attr_dropdown', 'equals', '0' ) ) ,array( 'id' => 'ts_prod_attr_color_variation_thumbnail' ,'type' => 'switch' ,'title' => esc_html__( 'Product Color Attribute Variation Thumbnail', 'yobazar' ) ,'subtitle' => esc_html__( 'Use the variation thumbnail for the Color attribute. The Color slug has to be "color". You need to specify Color for variation (not any)', 'yobazar' ) ,'default' => true ,'required' => array( 'ts_prod_attr_color_text', 'equals', '0' ) ) ,array( 'id' => 'ts_prod_next_prev_navigation' ,'type' => 'switch' ,'title' => esc_html__( 'Next/Prev Product Navigation', 'yobazar' ) ,'subtitle' => '' ,'default' => false ,'on' => esc_html__( 'Show', 'yobazar' ) ,'off' => esc_html__( 'Hide', 'yobazar' ) ) ,array( 'id' => 'ts_prod_images_summary_background' ,'type' => 'switch' ,'title' => esc_html__( 'Product Thumbnails Summary Background', 'yobazar' ) ,'subtitle' => esc_html__( 'You can change background color in the Color Scheme tab. Not available if product has sidebar', 'yobazar' ) ,'default' => false ) ,array( 'id' => 'ts_prod_thumbnail' ,'type' => 'switch' ,'title' => esc_html__( 'Product Thumbnail', 'yobazar' ) ,'subtitle' => '' ,'default' => true ,'on' => esc_html__( 'Show', 'yobazar' ) ,'off' => esc_html__( 'Hide', 'yobazar' ) ) ,array( 'id' => 'ts_prod_gallery_layout' ,'type' => 'select' ,'title' => esc_html__( 'Product Gallery Layout', 'yobazar' ) ,'subtitle' => '' ,'desc' => '' ,'options' => array( 'vertical' => esc_html__( 'Vertical', 'yobazar' ) ,'horizontal' => esc_html__( 'Horizontal', 'yobazar' ) ,'grid' => esc_html__( 'Grid', 'yobazar' ) ) ,'default' => 'vertical' ,'select2' => array('allowClear' => false, 'minimumResultsForSearch' => 'Infinity') ) ,array( 'id' => 'ts_prod_thumbnails_slider_mobile' ,'type' => 'switch' ,'title' => esc_html__( 'Product Thumbnails Slider On Mobile', 'yobazar' ) ,'subtitle' => esc_html__( 'If enabled, it will change all thumbnail/gallery layouts to slider with dots navigation on mobile', 'yobazar' ) ,'default' => true ) ,array( 'id' => 'ts_prod_label' ,'type' => 'switch' ,'title' => esc_html__( 'Product Label', 'yobazar' ) ,'subtitle' => '' ,'default' => true ,'on' => esc_html__( 'Show', 'yobazar' ) ,'off' => esc_html__( 'Hide', 'yobazar' ) ) ,array( 'id' => 'ts_prod_title' ,'type' => 'switch' ,'title' => esc_html__( 'Product Title', 'yobazar' ) ,'subtitle' => '' ,'default' => true ,'on' => esc_html__( 'Show', 'yobazar' ) ,'off' => esc_html__( 'Hide', 'yobazar' ) ) ,array( 'id' => 'ts_prod_title_in_content' ,'type' => 'switch' ,'title' => esc_html__( 'Product Title In Content', 'yobazar' ) ,'subtitle' => esc_html__( 'Display the product title in the page content instead of above the breadcrumbs', 'yobazar' ) ,'default' => true ) ,array( 'id' => 'ts_prod_rating' ,'type' => 'switch' ,'title' => esc_html__( 'Product Rating', 'yobazar' ) ,'subtitle' => '' ,'default' => true ,'on' => esc_html__( 'Show', 'yobazar' ) ,'off' => esc_html__( 'Hide', 'yobazar' ) ) ,array( 'id' => 'ts_prod_sku' ,'type' => 'switch' ,'title' => esc_html__( 'Product SKU', 'yobazar' ) ,'subtitle' => '' ,'default' => true ,'on' => esc_html__( 'Show', 'yobazar' ) ,'off' => esc_html__( 'Hide', 'yobazar' ) ) ,array( 'id' => 'ts_prod_availability' ,'type' => 'switch' ,'title' => esc_html__( 'Product Availability', 'yobazar' ) ,'subtitle' => '' ,'default' => true ,'on' => esc_html__( 'Show', 'yobazar' ) ,'off' => esc_html__( 'Hide', 'yobazar' ) ) ,array( 'id' => 'ts_prod_availability_bar' ,'type' => 'switch' ,'title' => esc_html__( 'Product Availability Bar', 'yobazar' ) ,'subtitle' => esc_html__( 'Only available on the Simple product', 'yobazar' ) ,'default' => true ,'on' => esc_html__( 'Show', 'yobazar' ) ,'off' => esc_html__( 'Hide', 'yobazar' ) ) ,array( 'id' => 'ts_prod_sold_24h' ,'type' => 'switch' ,'title' => esc_html__( 'Product Sold In 24 Hours', 'yobazar' ) ,'subtitle' => esc_html__( 'Show number of sales in last 24 hours (if greater than 0). Only available on the Simple product', 'yobazar' ) ,'default' => true ,'on' => esc_html__( 'Show', 'yobazar' ) ,'off' => esc_html__( 'Hide', 'yobazar' ) ) ,array( 'id' => 'ts_prod_short_desc' ,'type' => 'switch' ,'title' => esc_html__( 'Product Short Description', 'yobazar' ) ,'subtitle' => '' ,'default' => false ,'on' => esc_html__( 'Show', 'yobazar' ) ,'off' => esc_html__( 'Hide', 'yobazar' ) ) ,array( 'id' => 'ts_prod_count_down' ,'type' => 'switch' ,'title' => esc_html__( 'Product Count Down', 'yobazar' ) ,'subtitle' => esc_html__( 'You have to activate ThemeSky plugin', 'yobazar' ) ,'default' => true ,'on' => esc_html__( 'Show', 'yobazar' ) ,'off' => esc_html__( 'Hide', 'yobazar' ) ) ,array( 'id' => 'ts_prod_price' ,'type' => 'switch' ,'title' => esc_html__( 'Product Price', 'yobazar' ) ,'subtitle' => '' ,'default' => true ,'on' => esc_html__( 'Show', 'yobazar' ) ,'off' => esc_html__( 'Hide', 'yobazar' ) ) ,array( 'id' => 'ts_prod_add_to_cart' ,'type' => 'switch' ,'title' => esc_html__( 'Product Add To Cart Button', 'yobazar' ) ,'subtitle' => '' ,'default' => true ,'on' => esc_html__( 'Show', 'yobazar' ) ,'off' => esc_html__( 'Hide', 'yobazar' ) ) ,array( 'id' => 'ts_prod_ajax_add_to_cart' ,'type' => 'switch' ,'title' => esc_html__( 'Product Ajax Add To Cart', 'yobazar' ) ,'subtitle' => '' ,'default' => true ,'required' => array( 'ts_prod_add_to_cart', 'equals', '1' ) ) ,array( 'id' => 'ts_prod_buy_now' ,'type' => 'switch' ,'title' => esc_html__( 'Product Buy Now Button', 'yobazar' ) ,'subtitle' => esc_html__( 'Only support the simple and variable products', 'yobazar' ) ,'default' => true ,'on' => esc_html__( 'Show', 'yobazar' ) ,'off' => esc_html__( 'Hide', 'yobazar' ) ) ,array( 'id' => 'ts_prod_brand' ,'type' => 'switch' ,'title' => esc_html__( 'Product Brands', 'yobazar' ) ,'subtitle' => '' ,'default' => false ,'on' => esc_html__( 'Show', 'yobazar' ) ,'off' => esc_html__( 'Hide', 'yobazar' ) ) ,array( 'id' => 'ts_prod_cat' ,'type' => 'switch' ,'title' => esc_html__( 'Product Categories', 'yobazar' ) ,'subtitle' => '' ,'default' => true ,'on' => esc_html__( 'Show', 'yobazar' ) ,'off' => esc_html__( 'Hide', 'yobazar' ) ) ,array( 'id' => 'ts_prod_tag' ,'type' => 'switch' ,'title' => esc_html__( 'Product Tags', 'yobazar' ) ,'subtitle' => '' ,'default' => true ,'on' => esc_html__( 'Show', 'yobazar' ) ,'off' => esc_html__( 'Hide', 'yobazar' ) ) ,array( 'id' => 'ts_prod_size_chart' ,'type' => 'switch' ,'title' => esc_html__( 'Product Size Chart', 'yobazar' ) ,'subtitle' => '' ,'default' => false ,'on' => esc_html__( 'Show', 'yobazar' ) ,'off' => esc_html__( 'Hide', 'yobazar' ) ) ,array( 'id' => 'ts_prod_size_chart_style' ,'type' => 'select' ,'title' => esc_html__( 'Product Size Chart Style', 'yobazar' ) ,'subtitle' => esc_html__( 'Modal Popup is only available if the slug of the Size attribute is "size" and Attribute Dropdown is disabled', 'yobazar' ) ,'desc' => '' ,'options' => array( 'popup' => esc_html__( 'Modal Popup', 'yobazar' ) ,'tab' => esc_html__( 'Additional Tab', 'yobazar' ) ) ,'default' => 'popup' ,'select2' => array('allowClear' => false, 'minimumResultsForSearch' => 'Infinity') ,'required' => array( 'ts_prod_size_chart', 'equals', '1' ) ) ,array( 'id' => 'ts_prod_contact_page' ,'type' => 'select' ,'title' => esc_html__( 'Contact Page', 'yobazar' ) ,'subtitle' => esc_html__( 'If selected, it will add a link to the selected page which may allow customer to ask about product', 'yobazar' ) ,'desc' => '' ,'data' => 'pages' ,'default' => '' ) ,array( 'id' => 'ts_prod_more_less_content' ,'type' => 'switch' ,'title' => esc_html__( 'Product More/Less Content', 'yobazar' ) ,'subtitle' => esc_html__( 'Show more/less content in the Description tab', 'yobazar' ) ,'default' => true ) ,array( 'id' => 'ts_prod_sharing' ,'type' => 'switch' ,'title' => esc_html__( 'Product Sharing', 'yobazar' ) ,'subtitle' => '' ,'default' => true ,'on' => esc_html__( 'Show', 'yobazar' ) ,'off' => esc_html__( 'Hide', 'yobazar' ) ) ,array( 'id' => 'ts_prod_sharing_sharethis' ,'type' => 'switch' ,'title' => esc_html__( 'Product Sharing - Use ShareThis', 'yobazar' ) ,'subtitle' => esc_html__( 'Use share buttons from sharethis.com. You need to add key below', 'yobazar' ) ,'default' => false ,'required' => array( 'ts_prod_sharing', 'equals', '1' ) ) ,array( 'id' => 'ts_prod_sharing_sharethis_key' ,'type' => 'text' ,'title' => esc_html__( 'Product Sharing - ShareThis Key', 'yobazar' ) ,'subtitle' => esc_html__( 'You get it from script code. It is the value of "property" attribute', 'yobazar' ) ,'desc' => '' ,'default' => '' ,'required' => array( 'ts_prod_sharing', 'equals', '1' ) ) ,array( 'id' => 'section-product-tabs' ,'type' => 'section' ,'title' => esc_html__( 'Product Tabs', 'yobazar' ) ,'subtitle' => '' ,'indent' => false ) ,array( 'id' => 'ts_prod_tabs' ,'type' => 'switch' ,'title' => esc_html__( 'Product Tabs', 'yobazar' ) ,'subtitle' => '' ,'default' => true ,'on' => esc_html__( 'Show', 'yobazar' ) ,'off' => esc_html__( 'Hide', 'yobazar' ) ) ,array( 'id' => 'ts_prod_separate_reviews_tab' ,'type' => 'switch' ,'title' => esc_html__( 'Separate Reviews Tab', 'yobazar' ) ,'subtitle' => esc_html__( 'Remove Reviews tab in WooCommerce tabs and add it below', 'yobazar' ) ,'default' => false ) ,array( 'id' => 'ts_prod_tabs_show_content_default' ,'type' => 'switch' ,'title' => esc_html__( 'Show Product Tabs Content By Default', 'yobazar' ) ,'subtitle' => esc_html__( 'Show the content of all tabs by default and hide the tab headings', 'yobazar' ) ,'default' => false ) ,array( 'id' => 'ts_prod_tabs_position' ,'type' => 'select' ,'title' => esc_html__( 'Product Tabs Position', 'yobazar' ) ,'subtitle' => '' ,'desc' => '' ,'options' => array( 'after_summary' => esc_html__( 'After Summary', 'yobazar' ) ,'inside_summary' => esc_html__( 'Inside Summary', 'yobazar' ) ) ,'default' => 'after_summary' ,'select2' => array('allowClear' => false, 'minimumResultsForSearch' => 'Infinity') ) ,array( 'id' => 'ts_prod_custom_tab' ,'type' => 'switch' ,'title' => esc_html__( 'Product Custom Tab', 'yobazar' ) ,'subtitle' => '' ,'default' => false ,'on' => esc_html__( 'Show', 'yobazar' ) ,'off' => esc_html__( 'Hide', 'yobazar' ) ) ,array( 'id' => 'ts_prod_custom_tab_title' ,'type' => 'text' ,'title' => esc_html__( 'Product Custom Tab Title', 'yobazar' ) ,'subtitle' => '' ,'desc' => '' ,'default' => 'Custom tab' ) ,array( 'id' => 'ts_prod_custom_tab_content' ,'type' => 'editor' ,'title' => esc_html__( 'Product Custom Tab Content', 'yobazar' ) ,'subtitle' => '' ,'desc' => '' ,'default' => esc_html__( 'Your custom content goes here. You can add the content for individual product', 'yobazar' ) ,'args' => array( 'wpautop' => false ,'media_buttons' => true ,'textarea_rows' => 5 ,'teeny' => false ,'quicktags' => true ) ) ,array( 'id' => 'section-ads-banner' ,'type' => 'section' ,'title' => esc_html__( 'Ads Banner', 'yobazar' ) ,'subtitle' => '' ,'indent' => false ) ,array( 'id' => 'ts_prod_ads_banner' ,'type' => 'switch' ,'title' => esc_html__( 'Ads Banner', 'yobazar' ) ,'subtitle' => '' ,'default' => false ,'on' => esc_html__( 'Show', 'yobazar' ) ,'off' => esc_html__( 'Hide', 'yobazar' ) ) ,array( 'id' => 'ts_prod_ads_banner_content' ,'type' => 'editor' ,'title' => esc_html__( 'Ads Banner Content', 'yobazar' ) ,'subtitle' => '' ,'desc' => '' ,'default' => '' ,'args' => array( 'wpautop' => false ,'media_buttons' => true ,'textarea_rows' => 5 ,'teeny' => false ,'quicktags' => true ) ) ,array( 'id' => 'section-related-up-sell-products' ,'type' => 'section' ,'title' => esc_html__( 'Related - Up-Sell - New Products', 'yobazar' ) ,'subtitle' => '' ,'indent' => false ) ,array( 'id' => 'ts_prod_upsells' ,'type' => 'switch' ,'title' => esc_html__( 'Up-Sell Products', 'yobazar' ) ,'subtitle' => '' ,'default' => false ,'on' => esc_html__( 'Show', 'yobazar' ) ,'off' => esc_html__( 'Hide', 'yobazar' ) ) ,array( 'id' => 'ts_prod_related' ,'type' => 'switch' ,'title' => esc_html__( 'Related Products', 'yobazar' ) ,'subtitle' => '' ,'default' => false ,'on' => esc_html__( 'Show', 'yobazar' ) ,'off' => esc_html__( 'Hide', 'yobazar' ) ) ,array( 'id' => 'ts_prod_new_arrivals' ,'type' => 'switch' ,'title' => esc_html__( 'New Arrival Products', 'yobazar' ) ,'subtitle' => '' ,'default' => true ,'on' => esc_html__( 'Show', 'yobazar' ) ,'off' => esc_html__( 'Hide', 'yobazar' ) ) ); /*** Wishlist Tab ***/ $option_fields['wishlist'] = array( array( 'id' => 'section-wishlist-button' ,'type' => 'section' ,'title' => esc_html__( 'Wishlist Button', 'yobazar' ) ,'subtitle' => '' ,'indent' => false ) ,array( 'id' => 'ts_wishlist_show_in_loop' ,'type' => 'switch' ,'title' => esc_html__( 'Wishlist in loop', 'yobazar' ) ,'subtitle' => '' ,'default' => true ,'on' => esc_html__( 'Show', 'yobazar' ) ,'off' => esc_html__( 'Hide', 'yobazar' ) ) ,array( 'id' => 'ts_wishlist_show_on_product_page' ,'type' => 'switch' ,'title' => esc_html__( 'Wishlist on product page', 'yobazar' ) ,'subtitle' => '' ,'default' => true ,'on' => esc_html__( 'Show', 'yobazar' ) ,'off' => esc_html__( 'Hide', 'yobazar' ) ) ,array( 'id' => 'ts_wishlist_show_link_after_added' ,'type' => 'switch' ,'title' => esc_html__( 'Show wishlist page link after added', 'yobazar' ) ,'subtitle' => esc_html__( 'If disabled, product will be removed from wishlist when clicking button again', 'yobazar' ) ,'default' => false ) ,array( 'id' => 'section-wishlist-page' ,'type' => 'section' ,'title' => esc_html__( 'Wishlist Page', 'yobazar' ) ,'subtitle' => '' ,'indent' => false ) ,array( 'id' => 'ts_wishlist_page' ,'type' => 'select' ,'title' => esc_html__( 'Wishlist page', 'yobazar' ) ,'subtitle' => esc_html__( 'To show wishlist, use the [ts_wishlist] shortcode or the TS Wishlist elementor widget', 'yobazar' ) ,'desc' => '' ,'data' => 'pages' ,'default' => '' ) ,array( 'id' => 'ts_wishlist_remove_after_added_to_cart' ,'type' => 'switch' ,'title' => esc_html__( 'Remove product from wishlist after added to cart', 'yobazar' ) ,'subtitle' => '' ,'default' => true ) ); /*** Compare Tab ***/ $option_fields['compare'] = array( array( 'id' => 'section-compare-button' ,'type' => 'section' ,'title' => esc_html__( 'Compare Button', 'yobazar' ) ,'subtitle' => '' ,'indent' => false ) ,array( 'id' => 'ts_compare_show_in_loop' ,'type' => 'switch' ,'title' => esc_html__( 'Compare in loop', 'yobazar' ) ,'subtitle' => '' ,'default' => true ,'on' => esc_html__( 'Show', 'yobazar' ) ,'off' => esc_html__( 'Hide', 'yobazar' ) ) ,array( 'id' => 'ts_compare_show_on_product_page' ,'type' => 'switch' ,'title' => esc_html__( 'Compare on product page', 'yobazar' ) ,'subtitle' => '' ,'default' => true ,'on' => esc_html__( 'Show', 'yobazar' ) ,'off' => esc_html__( 'Hide', 'yobazar' ) ) ,array( 'id' => 'section-compare-page' ,'type' => 'section' ,'title' => esc_html__( 'Compare Page', 'yobazar' ) ,'subtitle' => '' ,'indent' => false ) ,array( 'id' => 'ts_compare_page' ,'type' => 'select' ,'title' => esc_html__( 'Compare page', 'yobazar' ) ,'subtitle' => esc_html__( 'To show compare, use the [ts_compare] shortcode or the TS Compare elementor widget', 'yobazar' ) ,'desc' => '' ,'data' => 'pages' ,'default' => '' ) ,array( 'id' => 'ts_compare_table_fields' ,'type' => 'select' ,'title' => esc_html__( 'Fields to show', 'yobazar' ) ,'subtitle' => '' ,'desc' => '' ,'multi' => true ,'sortable' => true ,'options' => yobazar_get_compare_fields() ,'default' => array('description', 'sku', 'stock', 'weight', 'dimensions') ,'select2' => array('allowClear' => false, 'minimumResultsForSearch' => 'Infinity') ) ); /*** Custom Code Tab ***/ $option_fields['custom-code'] = array( array( 'id' => 'ts_custom_css_code' ,'type' => 'ace_editor' ,'title' => esc_html__( 'Custom CSS Code', 'yobazar' ) ,'subtitle' => '' ,'mode' => 'css' ,'theme' => 'monokai' ,'desc' => '' ,'default' => '' ) ,array( 'id' => 'ts_custom_javascript_code' ,'type' => 'ace_editor' ,'title' => esc_html__( 'Custom Javascript Code', 'yobazar' ) ,'subtitle' => '' ,'mode' => 'javascript' ,'theme' => 'monokai' ,'desc' => '' ,'default' => '' ) );
Edit
Rename
Chmod
Delete
FILE
FOLDER
Name
Size
Permission
Action
assets
---
0755
preset-colors
---
0755
functions.php
4527 bytes
0644
init.php
200 bytes
0644
options.php
113998 bytes
0644
redux.php
10690 bytes
0644
register_sidebar.php
6181 bytes
0644
N4ST4R_ID | Naxtarrr