HEX
Server: Apache/2.4.34 (Red Hat) OpenSSL/1.0.2k-fips
System: Linux WORDPRESS 3.10.0-1160.118.1.el7.x86_64 #1 SMP Thu Apr 4 03:33:23 EDT 2024 x86_64
User: digital (1020)
PHP: 7.2.24
Disabled: NONE
Upload Files
File: /datos/www/expodubai/wp-content/themes/osapa_/admin/theme_options.php
<?php

/**
 * FTC Theme Options
 */

if (!class_exists('Redux_Framework_smof_data')) {

    class Redux_Framework_smof_data {

        public $args        = array();
        public $sections    = array();
        public $theme;
        public $ReduxFramework;

        public function __construct() {

            if (!class_exists('ReduxFramework')) {
                return;
            }

            // This is needed. Bah WordPress bugs.  ;)
            if (  true == Redux_Helpers::isTheme(__FILE__) ) {
                $this->initSettings();
            } else {
                add_action('plugins_loaded', array($this, 'initSettings'), 10);
            }

        }

        public function initSettings() {

            $this->theme = wp_get_theme();

            // Set the default arguments
            $this->setArguments();
            // Set a few help tabs so you can see how it's done
            $this->setHelpTabs();

            // Create the sections and fields
            $this->setSections();

            if (!isset($this->args['opt_name'])) { // No errors please
                return;
            }

            $this->ReduxFramework = new ReduxFramework($this->sections, $this->args);
        }

        function compiler_action($options, $css, $changed_values) {

        }

        function dynamic_section($sections) {

            return $sections;
        }

        function change_arguments($args) {

            return $args;
        }

        function change_defaults($defaults) {

            return $defaults;
        }

        function remove_demo() {

        }

        public function setSections() {

            /* Default Sidebar */
            global $ftc_default_sidebars;
            $of_sidebars    = array();
            if( $ftc_default_sidebars ){
                foreach( $ftc_default_sidebars as $key => $_sidebar ){
                    $of_sidebars[$_sidebar['id']] = $_sidebar['name'];
                }
            }
            $ftc_layouts = array(
                '0-1-0'     => get_template_directory_uri(). '/admin/images/1col.png'
                ,'0-1-1'    => get_template_directory_uri(). '/admin/images/2cr.png'
                ,'1-1-0'    => get_template_directory_uri(). '/admin/images/2cl.png'
                ,'1-1-1'    => get_template_directory_uri(). '/admin/images/3cm.png'
            );

            /***************************/ 
            /***   General Options   ***/
            /***************************/
            $this->sections[] = array(
                'icon' => 'fa fa-home',
                'icon_class' => 'icon',
                'title' => esc_html__('General', 'osapa'),
                'fields' => array(				
                )
            );	 

            /** Logo - Favicon **/
            $this->sections[] = array(
                'icon' => 'icofont icofont-double-right',
                'icon_class' => 'icon',
                'subsection' => true,
                'title' => esc_html__('Logo - Favicon', 'osapa'),
                'fields' => array(			
                  array(
                    'id'=>'ftc_logo',
                    'type' => 'media',
                    'compiler'  => 'true',
                    'mode'      => false,
                    'title' => esc_html__('Logo Image', 'osapa'),
                    'desc'      => esc_html__('Select an image file for the main logo', 'osapa'),
                    'default' => array(
                        'url' => get_template_directory_uri(). '/assets/images/logo.png'
                    )
                )				
                //   ,array(
                //     'id'=>'ftc_favicon',
                //     'type' => 'media',
                //     'compiler'  => 'true',
                //     'mode'      => false,
                //     'title' => esc_html__('Favicon Image', 'osapa'),
                //     'desc'      => esc_html__('Accept ICO files', 'osapa'),
                //     'default' => array(
                //         'url' => get_template_directory_uri(). '/assets/images/favicon.ico'
                //     )
                // )
                  ,array(
                    'id'=>'ftc_logo_mobile',
                    'type' => 'media',
                    'compiler'  => 'true',
                    'mode'      => false,
                    'title' => esc_html__('Logo Mobile Image', 'osapa'),
                    'desc'      => esc_html__('Select an image file for the main logo mobile', 'osapa'),
                    'default' => array(
                        'url' => get_template_directory_uri(). '/assets/images/logo-mobile.png'
                    )
                )
                  ,array(
                    'id'=>'ftc_text_logo',
                    'type' => 'text',
                    'title' => esc_html__('Text Logo', 'osapa'),
                    'default' => 'Osapa'
                )				
              )
            );
            /* Popup Newletter */
            $this->sections[] = array(
                'icon' => 'icofont icofont-double-right',
                'icon_class' => 'icon',
                'subsection' => true,
                'title' => esc_html__('Popup Newletter', 'osapa'),
                'fields' => array(                    
                    array(
                        'id'=>'ftc_enable_popup',
                        'type' => 'switch',
                        'title' => esc_html__('Enable Popup Newletter', 'osapa'),
                        'desc'     => '',
                        'on' => esc_html__('Yes', 'osapa'),
                        'off' => esc_html__('No', 'osapa'),
                        'default' => 1,
                    ),
                    array(
                        'id'=>'ftc_bg_popup_image',
                        'type' => 'media',
                        'title' => esc_html__('Popup Newletter Background Image', 'osapa'),
                        'desc'     => esc_html__("Select a new image to override current background image", "osapa"),
                        'default'   =>array(
                            'url' => get_template_directory_uri(). '/assets/images/popup-image.jpg'
                        )
                    ),                   
                )
            );
            /** Header Options **/
            $this->sections[] = array(
                'icon' => 'icofont icofont-double-right',
                'icon_class' => 'icon',
                'subsection' => true,
                'title' => esc_html__('Header of inner Pages', 'osapa'),
                'fields' => array(	
                   array(
                      'id'=>'ftc_header_layout',
                      'type' => 'image_select',
                      'full_width' => true,
                      'title' => esc_html__('Header Layout', 'osapa'),
                      'subtitle' => esc_html__('This header style will be showed only in inner pages, please go to Pages > Homepage to change header for front page.', 'osapa'),
                      'options' => array(
                        'layout1'   => get_template_directory_uri() . '/admin/images/header/layout1.jpg'
                        ,'layout2'  => get_template_directory_uri() . '/admin/images/header/layout2.jpg'
                        ,'layout3'   => get_template_directory_uri() . '/admin/images/header/layout3.jpg'
                        ,'layout4'   => get_template_directory_uri() . '/admin/images/header/layout4.jpg'
                        ,'layout5'   => get_template_directory_uri() . '/admin/images/header/layout5.jpg'
                        ,'layout7'   => get_template_directory_uri() . '/admin/images/header/layout7.jpg'
                        ,'layout8'   => get_template_directory_uri() . '/admin/images/header/layout8.jpg'
                        ,'layout9'   => get_template_directory_uri() . '/admin/images/header/layout9.jpg'
                        ,'layout10'   => get_template_directory_uri() . '/admin/images/header/layout10.jpg'
                        ,'layout14'   => get_template_directory_uri() . '/admin/images/header/layout14.jpg'
                        ,'layout15'   => get_template_directory_uri() . '/admin/images/header/layout15.jpg'
                        ,'layout17'   => get_template_directory_uri() . '/admin/images/header/layout17.jpg'
                        ,'layout18'   => get_template_directory_uri() . '/admin/images/header/layout18.jpg'
                        ,'layout19'   => get_template_directory_uri() . '/admin/images/header/layout19.jpg'
                        ,'layout20'   => get_template_directory_uri() . '/admin/images/header/layout20.jpg'
                        ,'layout21'   => get_template_directory_uri() . '/admin/images/header/layout21.jpg'
                        ,'layout22'  => get_template_directory_uri() . '/admin/images/header/layout22.jpg'
                        ,'layout23'  => get_template_directory_uri() . '/admin/images/header/layout23.jpg'
                        ,'layout24'  => get_template_directory_uri() . '/admin/images/header/layout24.jpg'
                        ,'layout25'  => get_template_directory_uri() . '/admin/images/header/layout25.jpg'
                        ,'layout25'  => get_template_directory_uri() . '/admin/images/header/layout25.jpg'

                    ),
                      'default' => 'layout1'
                  ),
                   array(
                    'id'=>'ftc_header_contact_information',
                    'type' => 'textarea',
                    'title' => esc_html__('Header nav Information', 'osapa'),
                    'default' => '',
                ),					
                   array(
                    'id'=>'ftc_middle_header_content',
                    'type' => 'textarea',
                    'title' => esc_html__('Header Content - Information', 'osapa'),
                    'default' => '',
                ),
                   array(
                    'id'=>'ftc_bottom_header_content',
                    'type' => 'textarea',
                    'title' => esc_html__('Header Content Bottom', 'osapa'),
                    'default' => '',
                ),
                   array(   
                    "title"     => esc_html__("Header Sticky", "osapa"),
                    "desc"     => esc_html__("Add header sticky. Please disable sticky mega main menu", "osapa"),
                    "id"       => "ftc_enable_sticky_header",
                    'default' => 1,
                    "on"       => esc_html__("Enable", "osapa"),
                    "off"      => esc_html__("Disable", "osapa"),
                    "type"     => "switch",
                ),
                   array(
                    'id'=>'ftc_mobile_layout',
                    'type' => 'switch',
                    'title' => esc_html__('Mobile Layout', 'osapa'),
                    'default' => 1,
                    'on' => esc_html__('Enable', 'osapa'),
                    'off' => esc_html__('Disable', 'osapa'),
                )
                   ,
                   array(
                    'id'=>'ftc_header_currency',
                    'type' => 'switch',
                    'title' => esc_html__('Header Currency', 'osapa'),
                    'default' => 0,
                    'on' => esc_html__('Enable', 'osapa'),
                    'off' => esc_html__('Disable', 'osapa'),
                ),
                   array(
                    'id'=>'ftc_header_language',
                    'type' => 'switch',
                    'title' => esc_html__('Header Language', 'osapa'),
                    'desc'     => esc_html__("If you don't install WPML plugin, it will display demo html", "osapa"),
                    'on' => esc_html__('Yes', 'osapa'),
                    'off' => esc_html__('No', 'osapa'),
                    'default' => 0,
                ),
                   array(
                    'id'=>'ftc_enable_tiny_shopping_cart',
                    'type' => 'switch',
                    'title' => esc_html__('Shopping Cart', 'osapa'),
                    'on' => esc_html__('Yes', 'osapa'),
                    'off' => esc_html__('No', 'osapa'),
                    'default' => 1,
                ),
                   array(
                    'id'=>'ftc_enable_search',
                    'type' => 'switch',
                    'title' => esc_html__('Search Bar', 'osapa'),
                    'on' => esc_html__('Yes', 'osapa'),
                    'off' => esc_html__('No', 'osapa'),
                    'default' => 1,
                ),
                   array(
                    'id'=>'ftc_enable_tiny_account',
                    'type' => 'switch',
                    'title' => esc_html__('My Account', 'osapa'),
                    'on' => esc_html__('Yes', 'osapa'),
                    'off' => esc_html__('No', 'osapa'),
                    'default' => 1,
                ),
                   array(
                    'id'=>'ftc_enable_tiny_wishlist',
                    'type' => 'switch',
                    'title' => esc_html__('Wishlist', 'osapa'),
                    'on' => esc_html__('Yes', 'osapa'),
                    'off' => esc_html__('No', 'osapa'),
                    'default' => 1,
                ),
                   array(   "title"      => esc_html__("Check out", "osapa")
                    ,"desc"     => ""
                    ,"id"       => "ftc_enable_tiny_checkout"
                    ,"default"      => "1"
                    ,"on"       => esc_html__("Enable", "osapa")
                    ,"off"      => esc_html__("Disable", "osapa")
                    ,"type"     => "switch"
                ),
                   array(
                    'id' => 'ftc_header_social_editor',
                    'type' => 'editor',
                    'full_width' => true,
                    'title' => __( 'Custom content social editor', 'osapa' ),
                    'subtitle' => __( 'Paste your content here.', 'osapa' ),
                    'mode' => 'php',
                    'desc' => '',
                    'default' => ''
                )
               )
);	

$this->sections[] = array(
    'icon' => 'icofont icofont-double-right',
    'icon_class' => 'icon',
    'subsection' => true,
    'title' => esc_html__('Breadcrumb', 'osapa'),
    'fields' => array(
        array(
            'id'=>'ftc_bg_breadcrumbs',
            'type' => 'media',
            'title' => esc_html__('Breadcrumbs Background Image', 'osapa'),
            'desc'     => esc_html__("Select a new image to override current background image", "osapa"),
            'default'   =>array(
                'url' => get_template_directory_uri(). '/assets/images/banner-shop.jpg'
            )
        ),
        array(
            'id'=>'ftc_bg_breadcrumbs_post',
            'type' => 'media',
            'title' => esc_html__('Breadcrumbs Background Image for Single Post', 'osapa'),
            'desc'     => esc_html__("Select a new image to override current background image", "osapa"),
            'default'   =>array(
                'url' => get_template_directory_uri(). '/assets/images/br-blog-page1.jpg'
            )
        ),
        array(
            'id'=>'ftc_enable_breadcrumb_background_image',
            'type' => 'switch',
            'title' => esc_html__('Enable Breadcrumb Background Image', 'osapa'),
            'desc'     => esc_html__("You can set background color by going to Color Scheme tab > Breadcrumb Colors section", "osapa"),
            'on' => esc_html__('Yes', 'osapa'),
            'off' => esc_html__('No', 'osapa'),
            'default' => 1,
        ),                   
    )
);

/** Back top top **/
$this->sections[] = array(
    'icon' => 'icofont icofont-double-right',
    'icon_class' => 'icon',
    'subsection' => true,
    'title' => esc_html__('Back to top', 'osapa'),
    'fields' => array(
        array(
            'id'=>'ftc_back_to_top_button',
            'type' => 'switch',
            'title' => esc_html__('Enable Back To Top Button', 'osapa'),
            'default' => true,
            'on' => esc_html__('Yes', 'osapa'),
            'off' => esc_html__('No', 'osapa'),
        )  
        ,array(
            'id'=>'ftc_back_to_top_button_on_mobile',
            'type' => 'switch',
            'title' => esc_html__('Enable Back To Top Button On Mobile', 'osapa'),
            'default' => true,
            'on' => esc_html__('Yes', 'osapa'),
            'off' => esc_html__('No', 'osapa'),
        )                   
    )
);
$this->sections[] = array(
    'icon' => 'icofont icofont-double-right',
    'icon_class' => 'icon',
    'subsection' => true,
    'title' => esc_html__('Google Map API Key', 'osapa'),
    'fields' => array(
        array(
            'id'=>'ftc_gmap_api_key',
            'type' => 'text',
            'title' => esc_html__('Enter your API key', 'osapa'),
            'default' => 'AIzaSyAypdpHW1-ENvAZRjteinZINafSBpAYxDE',
        )                   
    )
);

/* * *  Typography  * * */
$this->sections[] = array(
    'icon' => 'icofont icofont-brand-appstore',
    'icon_class' => 'icon',
    'title' => esc_html__('Styling', 'osapa'),
    'fields' => array(				
    )
);	

/** Color Scheme Options  * */
$this->sections[] = array(
    'icon' => 'icofont icofont-double-right',
    'icon_class' => 'icon',
    'subsection' => true,
    'title' => esc_html__('Color Scheme', 'osapa'),
    'fields' => array(					
     array(
      'id' => 'ftc_primary_color',
      'type' => 'color',
      'title' => esc_html__('Primary Color', 'osapa'),
      'subtitle' => esc_html__('Select a main color for your site.', 'osapa'),
      'default' => '#353535',
      'transparent' => false,
  ),				 
     array(
      'id' => 'ftc_secondary_color',
      'type' => 'color',
      'title' => esc_html__('Secondary Color', 'osapa'),
      'default' => '#333',
      'transparent' => false,
  ),
     array(
      'id' => 'ftc_body_background_color',
      'type' => 'color',
      'title' => esc_html__('Body Background Color', 'osapa'),
      'default' => '#ffffff',
      'transparent' => false,
  ),	
 )
);

/** Typography Config    **/
$this->sections[] = array(
    'icon' => 'icofont icofont-double-right',
    'icon_class' => 'icon',
    'subsection' => true,
    'title' => esc_html__('Typography', 'osapa'),
    'fields' => array(
        array(
            'id'=>'ftc_body_font_enable_google_font',
            'type' => 'switch',
            'title' => esc_html__('Body Font - Enable Google Font', 'osapa'),
            'default' => 1,
            'folds'    => 1,
            'on' => esc_html__('Yes', 'osapa'),
            'off' => esc_html__('No', 'osapa'),
        ),
        array(
            'id'=>'ftc_body_font_family',
            'type'          => 'select',
            'title'         => esc_html__('Body Font - Family Font', 'osapa'),
            'default'       => 'Arial',
            'options'            => array(
                "Arial" => "Arial"
                ,"Advent Pro" => "Advent Pro"
                ,"Verdana" => "Verdana, Geneva"
                ,"Trebuchet" => "Trebuchet"
                ,"Georgia" => "Georgia"
                ,"Times New Roman" => "Times New Roman"
                ,"Tahoma, Geneva" => "Tahoma, Geneva"
                ,"Palatino" => "Palatino"
                ,"Helvetica" => "Helvetica"
                ,"BebasNeue" => "BebasNeue"
                ,"Poppins" =>"Poppins"
                ,"Cookie" =>"Cookie"

            ),
        ),
        array(
            'id'=>'ftc_body_font_google',
            'type' 			=> 'typography',
            'title' 		=> esc_html__('Body Font - Google Font', 'osapa'),
            'google' 		=> true,
            'subsets' 		=> false,
            'font-style' 	=> false,
            'font-weight'   => false,
            'font-size'     => false,
            'line-height'   => false,
            'text-align' 	=> false,
            'color' 		=> false,
            'output'        => array('body'),
            'default'       => array(
                'color'			=> "#000000",
                'google'		=> true,
                'font-family'	=> 'Poppins'

            ),
            'preview'       => array(
                "text" => esc_html__("This is my font preview!", "osapa")
                ,"size" => "30px"
            )
        ),
        
        array(
            'id'        =>'ftc_secondary_body_font_enable_google_font',
            'title'     => esc_html__('Secondary Body Font - Enable Google Font', 'osapa'),
            'on'       => esc_html__("Enable", "osapa"),
            'off'      => esc_html__("Disable", "osapa"),
            'type'     => 'switch',
            'default'   => 1
        ),
        array(
            'id'            => 'ftc_secondary_body_font_google',
            'type'          => 'typography',
            'title'         => esc_html__('Body Font - Google Font', 'osapa'),
            'google'        => true,
            'subsets'       => false,
            'font-style'    => false,
            'font-weight'   => false,
            'font-size'     => false,
            'line-height'   => false,
            'text-align'    => false,
            'color'         => false,
            'output'        => array('body'),
            'default'       => array(
                'color'         =>"#000000",
                'google'        =>true,
                'font-family'   =>'Raleway'                            
            ),
            'preview'       => array(
                "text" => esc_html__("This is my font preview!", "osapa")
                ,"size" => "30px"
            )
        ),
        array(
            'id'            => 'ftc_font_subtitle_google',
            'type'          => 'typography',
            'title'         => esc_html__('Font Title Homepage Plant', 'osapa'),
            'google'        => true,
            'subsets'       => false,
            'font-style'    => false,
            'font-weight'   => false,
            'font-size'     => false,
            'line-height'   => false,
            'text-align'    => false,
            'color'         => false,
            'output'        => array('body'),
            'default'       => array(
                'color'         =>"#000000",
                'google'        =>true,
                'font-family'   =>'Cookie'                            
            ),
            'preview'       => array(
                "text" => esc_html__("This is my font preview!", "osapa")
                ,"size" => "30px"
            )
        ),
        array(
            'id'        =>'ftc_font_size_body',
            'type'      => 'slider',
            'title'     => esc_html__('Body Font Size', 'osapa'),
            'desc'     => esc_html__("In pixels. Default is 14px", "osapa"),
            'min'      => '10',
            'step'     => '1',
            'max'      => '50',
            'default'   => '14'
        ),	
        array(
            'id'        =>'ftc_line_height_body',
            'type'      => 'slider',
            'title'     => esc_html__('Body Font Line Heigh', 'osapa'),
            'desc'     => esc_html__("In pixels. Default is 24px", "osapa"),
            'min'      => '10',
            'step'     => '1',
            'max'      => '50',
            'default'   => '24'
        )				
    )
);

/* Cookie Notice */
$this->sections[] = array(
    'icon' => 'fa fa-bookmark',
    'icon_class' => 'icon',
    'title' => esc_html__('Cookie Notice', 'osapa'),
    'fields' => array(
     array (
        'id'       => 'cookies_info',
        'type'     => 'switch',
        'title'    => esc_html__('Show cookies info', 'osapa'),
        'subtitle' => esc_html__('Under EU privacy regulations, websites must make it clear to visitors what information about them is being stored. This specifically includes cookies. Turn on this option and user will see info box at the bottom of the page that your web-site is using cookies.', 'osapa'),
        'default' => false
    ),
     array (
        'id' => 'cookies_title',
        'type' => 'editor',
        'title' => esc_html__('Title cookie', 'osapa'),
        'subtitle' => esc_html__('Place here some title', 'osapa'),
        'default' => esc_html__('Cookie Notice', 'osapa'),
    ),
     array (
        'id'       => 'cookies_text',
        'type'     => 'editor',
        'title'    => esc_html__('Popup text', 'osapa'),
        'subtitle' => esc_html__('Place here some information about cookies usage that will be shown in the popup.', 'osapa'),
        'default' => esc_html__('We use cookies to improve your experience on our website. By browsing this website, you agree to our use of cookies.', 'osapa'),
    ),

     array (
        'id'       => 'cookies_version',
        'type'     => 'text',
        'title'    => esc_html__('Cookies version', 'osapa'),
        'subtitle' => esc_html__('If you change your cookie policy information you can increase their version to show the popup to all visitors again.', 'osapa'),
        'default' => 1,
    ),              
 )
);
/*** WooCommerce Config     ** */
if ( class_exists( 'Woocommerce' ) ) :
    $this->sections[] = array(
       'icon' => 'icofont icofont-cart-alt',
       'icon_class' => 'icon',
       'title' => esc_html__('Ecommerce', 'osapa'),
       'fields' => array(				
       )
   );

    /** Woocommerce **/
    $this->sections[] = array(
       'icon' => 'icofont icofont-double-right',
       'icon_class' => 'icon',
       'subsection' => true,
       'title' => esc_html__('Woocommerce', 'osapa'),
       'fields' => array(	
        array(  
            "title"      => esc_html__("Product Label", "osapa")
            ,"desc"     => ""
            ,"id"       => "product_label_options"
            ,"icon"     => true
            ,"type"     => "info"
        ),
        array(  
            "title"      => esc_html__("Product Sale Label Text", "osapa")
            ,"desc"     => ""
            ,"id"       => "ftc_product_sale_label_text"
            ,"default"      => "Sale"
            ,"type"     => "text"
        ),
        array(  
            "title"      => esc_html__("Product Feature Label Text", "osapa")
            ,"desc"     => ""
            ,"id"       => "ftc_product_feature_label_text"
            ,"default"      => "New"
            ,"type"     => "text"
        ),						
        array(  
            "title"      => esc_html__("Product Out Of Stock Label Text", "osapa")
            ,"desc"     => ""
            ,"id"       => "ftc_product_out_of_stock_label_text"
            ,"default"      => "Sold out"
            ,"type"     => "text"
        ),           		
        array(   
            "title"      => esc_html__("Show Sale Label As", "osapa")
            ,"desc"     => ""
            ,"id"       => "ftc_show_sale_label_as"
            ,"default"      => "text"
            ,"type"     => "select"
            ,"options"  => array(
                'text'      => esc_html__('Text', 'osapa')
                ,'number'   => esc_html__('Number', 'osapa')
                ,'percent'  => esc_html__('Percent', 'osapa')
            )
        ),
        array(  
            "title"      => esc_html__("Product Hover Style", "osapa")
            ,"desc"     => ""
            ,"id"       => "prod_hover_style_options"
            ,"icon"     => true
            ,"type"     => "info"
        ),
        array(  
            "title"      => esc_html__("Hover Style", "osapa")
            ,"desc"     => ""
            ,"id"       => "ftc_effect_hover_product_style"
            ,"default"      => "style-1"
            ,"type"     => "select"
            ,"options"  => array(
                'style-1'       => esc_html__('Style 1', 'osapa')
                ,'style-2'      => esc_html__('Style 2', 'osapa')
                ,'style-3'      => esc_html__('Style 3', 'osapa')
            )
        ),
        array(  
            "title"      => esc_html__("Back Product Image", "osapa")
            ,"desc"     => ""
            ,"id"       => "introduction_enable_img_back"
            ,"icon"     => true
            ,"type"     => "info"
        ),					
        array(   
            "title"      => esc_html__("Enable Second Product Image", "osapa")
            ,"desc"     => esc_html__("Show second product image on hover. It will show an image from Product Gallery", "osapa")
            ,"id"       => "ftc_effect_product"
            ,"default"      => "1"
            ,"type"     => "switch"
        ),
        array(  
            "title"      => "Number Of Gallery Product Image"
            ,"id"       => "ftc_product_gallery_number"
            ,"default"      => 3
            ,"type"     => "text"
        ),
        array(  
            "title"      => esc_html__("Lazy Load", "osapa")
            ,"desc"     => ""
            ,"id"       => "prod_lazy_load_options"
            ,"icon"     => true
            ,"type"     => "info"
        ),
        array(  
            "title"      => esc_html__("Activate Lazy Load", "osapa")
            ,"desc"     => ""
            ,"id"       => "ftc_prod_lazy_load"
            ,"default"      => 1
            ,"type"     => "switch"
        ),
        array(
            'id'=>'ftc_prod_placeholder_img',
            'type' => 'media',
            'compiler'  => 'true',
            'mode'      => false,
            'title' => esc_html__('Placeholder Image', 'osapa'),
            'desc'      => '',
            'default' => array(
                'url' => get_template_directory_uri(). '/assets/images/prod_loading.gif'
            )
        ),
        array(  
            "title"      => esc_html__("Quickshop", "osapa")
            ,"desc"     => ""
            ,"id"       => "quickshop_options"
            ,"icon"     => true
            ,"type"     => "info"
        ),
        array(  
            "title"      => esc_html__("Activate Quickshop", "osapa")
            ,"desc"     => ""
            ,"id"       => "ftc_enable_quickshop"
            ,"default"      => 1
            ,"type"     => "switch"
        ),
        array(  
            "title"      => esc_html__("Catalog Mode", "osapa")
            ,"desc"     => ""
            ,"id"       => "introduction_catalog_mode"
            ,"icon"     => true
            ,"type"     => "info"
        ),
        array(  
            "title"      => esc_html__("Enable Catalog Mode", "osapa")
            ,"desc"     => 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", "osapa")
            ,"id"       => "ftc_enable_catalog_mode"
            ,"default"      => "0"
            ,"type"     => "switch"
        ),
        array(     
            "title"      => esc_html__("Ajax Search", "osapa")
            ,"desc"     => ""
            ,"id"       => "ajax_search_options"
            ,"icon"     => true
            ,"type"     => "info"
        ),
        array(     
            "title"      => esc_html__("Enable Ajax Search", "osapa")
            ,"desc"     => ""
            ,"id"       => "ftc_ajax_search"
            ,"default"      => "1"
            ,"type"     => "switch"
        ),
        array(     
            "title"      => esc_html__("Number Of Results", "osapa")
            ,"desc"     => esc_html__("Input -1 to show all results", "osapa")
            ,"id"       => "ftc_ajax_search_number_result"
            ,"default"      => 3
            ,"type"     => "text"
        ),

        array(  
                "title"      => esc_html__("Shop Mansory ", "osapa")
                ,"desc"     => ""
                ,"id"       => "prod_mansory_pro_options"
                ,"icon"     => true
                ,"type"     => "info"
            ),
            array(  "title"      => esc_html__("Active Mansory product", "osapa")
                ,"desc"     => ""
                ,"id"       => "ftc_mansory_product_shop"
                ,'type' => 'switch'
                ,'default' => 0
                ,'on' => esc_html__('Yes', 'osapa')
                ,'off' => esc_html__('No', 'osapa')

            ),
            array(  
                "title"      => esc_html__("Animation Product", "osapa")
                ,"desc"     => ""
                ,"id"       => "prod_animation_pro_options"
                ,"icon"     => true
                ,"type"     => "info"
            ),
            array(  "title"      => esc_html__("Active Animation", "osapa")
                ,"desc"     => ""
                ,"id"       => "ftc_animation_product_shop"
                ,'type' => 'switch'
                ,'default' => 0
                ,'on' => esc_html__('Yes', 'osapa')
                ,'off' => esc_html__('No', 'osapa')

            ),

              array(  
                "title"      => esc_html__("Shop Carousel", "osapa")
                ,"desc"     => ""
                ,"id"       => "prod_carousel_pro_options"
                ,"icon"     => true
                ,"type"     => "info"
            ),
              array(
                "title"      => esc_html__("Advanced Filter", "osapa")
                ,"desc"     => ""
                ,"id"       => "prod_advanced_filter_pro_options"
                ,"icon"     => true
                ,"type"     => "info"
            ),
            array(  "title"      => esc_html__("Active Filter", "osapa")
                ,"desc"     => ""
                ,"id"       => "ftc_advanced_filter_product_shop"
                ,'type' => 'switch'
                ,'default' => 0
                ,'on' => esc_html__('Yes', 'osapa')
                ,'off' => esc_html__('No', 'osapa')

            ),
            array(  "title"      => esc_html__("Active Carousel", "osapa")
                ,"desc"     => ""
                ,"id"       => "ftc_carousel_product_shop"
                ,'type' => 'switch'
                ,'default' => 0
                ,'on' => esc_html__('Yes', 'osapa')
                ,'off' => esc_html__('No', 'osapa')

            ),
  
        array(  
            "title"      => esc_html__("On/Off Infinite Scroll", "osapa")
            ,"desc"     => ""
            ,"id"       => "prod_infinite_scroll"
            ,"icon"     => true
            ,"type"     => "info"
        ),
        array(  
            "title"      => esc_html__("Apply Infinite Scroll", "osapa")
            ,"desc"     => ""
            ,"id"       => "ftc_Infinite_scroll"
            ,"default"      => "0"
            ,"type"     => "select"
            ,"options"  => array(
                '0'       => esc_html__('No', 'osapa')
                ,'1'      => esc_html__('Yes', 'osapa')
            )
        ),
        array(
            'id' => 'ftc_cart_layout', 
            'type' => 'select',
            'title' => esc_html__('Cart Layout', 'osapa'),
            "default" => 'off-canvas',
            'options' => array(
                'dropdown' => esc_html__('Dropdown', 'osapa') ,
                'off-canvas'    => esc_html__('Off Canvas', 'osapa'),
            ),
        ),
        array(

         'id'=>'ftc_enable_category_breadcrumb',

         'type' => 'switch',

         'title' => esc_html__('Enable List Categories Product', 'osapa'),

         'on' => esc_html__('Yes', 'osapa'),

         'off' => esc_html__('No', 'osapa'),

         'default' => 1,

     ),
       array(  
                "title"      => esc_html__("Gallery image on product", "osapa")
                ,"desc"     => ""
                ,"id"       => "prod_gallery_style_options"
                ,"icon"     => true
                ,"type"     => "info"
            ),
            array(  "title"      => esc_html__("Active Gallery", "osapa")
                ,"desc"     => ""
                ,"id"       => "ftc_gallery_on_product"
                ,'type' => 'switch'
                ,'default' => 0
                ,'on' => esc_html__('Yes', 'osapa')
                ,'off' => esc_html__('No', 'osapa')

            ),
        array(  
                "title"      => esc_html__("Button Load More Product", "osapa")
                ,"desc"     => ""
                ,"id"       => "prod_loadmore_infinite_options"
                ,"icon"     => true
                ,"type"     => "info"
            ),
        array(  
            "title"      => esc_html__("Type Main image and lightbox", "osapa")
            ,"desc"     => esc_html__("", "osapa")
            ,"id"       => "ftc_prod_advanced_zoom"
            ,"default"      => 'default'
            ,"type"     => "select"
            ,"options"  => array(
                'default'   => esc_html__('Default', 'osapa')
                ,'type_1'   => esc_html__('Advanced zoom', 'osapa')
                ,'type_2'   => esc_html__('Grid image', 'osapa')
            )
        ),
        array(    
                "title"      => esc_html__("Product Images", "osapa")
                ,"id"       => "ftc_config_prod_img"
                ,"default"      => "2"
                ,"type"     => "select"
                ,"options"  => array(
                    1   => esc_html__('1 Image', 'osapa')
                    ,2  => esc_html__('2 Image (Hover image)', 'osapa')
                    ,'gallery_slider'  => esc_html__('All Image (Gallery Slider)', 'osapa') 
                )
            ),
        array(  
                "title"      => esc_html__("Variation Shop", "osapa")
                ,"desc"     => ""
                ,"id"       => "prod_variation_color_options"
                ,"icon"     => true
                ,"type"     => "info"
            ),
            array(  "title"      => esc_html__("Active Variation", "osapa")
                ,"desc"     => ""
                ,"id"       => "ftc_variation_product_shop"
                ,'type' => 'switch'
                ,'default' => 0
                ,'on' => esc_html__('Yes', 'osapa')
                ,'off' => esc_html__('No', 'osapa')
            ),


            array(  "title"      => esc_html__("Active Button Loadmore", "osapa")
                ,"desc"     => ""
                ,"id"       => "ftc_loadmore_button_infinite"
                ,'type' => 'switch'
                ,'default' => 0
                ,'on' => esc_html__('Yes', 'osapa')
                ,'off' => esc_html__('No', 'osapa')

            ),
    )
);

/*** Product Category ***/
$this->sections[] = array(
   'icon' => 'icofont icofont-double-right',
   'icon_class' => 'icon',
   'subsection' => true,
   'title' => esc_html__( 'Product Category', 'osapa'),
   'fields' => array(
      array(
         'id' => 'ftc_prod_cat_layout',
         'type' => 'image_select',
         'title' => esc_html__('Product Category Layout', 'osapa'),
         'des' => esc_html__('Select main content and sidebar alignment.', 'osapa'),
         'options' => $ftc_layouts,
         'default' => '1-1-0'
     ),						
      array(    
        "title"      => esc_html__("Left Sidebar", "osapa")
        ,"id"       => "ftc_prod_cat_left_sidebar"
        ,"default"      => "product-category-sidebar"
        ,"type"     => "select"
        ,"options"  => $of_sidebars
    ),						
      array(    
        "title"      => esc_html__("Right Sidebar", "osapa")
        ,"id"       => "ftc_prod_cat_right_sidebar"
        ,"default"      => "product-category-sidebar"
        ,"type"     => "select"
        ,"options"  => $of_sidebars
    ),
      array(    
        "title"      => esc_html__("Product Columns", "osapa")
        ,"id"       => "ftc_prod_cat_columns"
        ,"default"      => "3"
        ,"type"     => "select"
        ,"options"  => array(
            3   => 3
            ,4  => 4
            ,5  => 5
            ,6  => 6
        )
    ),
      array(    
          "title"      => esc_html__("Products Per Page", "osapa")
          ,"desc"     => esc_html__("Number of products per page", "osapa")
          ,"id"       => "ftc_prod_cat_per_page"
          ,"default"      => 12
          ,"type"     => "text"
      ),
      array(   
         "title"      => esc_html__("Catalog view", "osapa")
         ,"desc"     => esc_html__("Display option to show product in grid or list view", "osapa")
         ,"id"       => "ftc_enable_glt"
         ,"default"      => 1
         ,"on"       => esc_html__("Show", "osapa")
         ,"off"      => esc_html__("Hide", "osapa")
         ,"type"     => "switch"
     ),       
      array(
        'title'      => esc_html__( 'Default catalog view', 'osapa' ),
        'desc'  => esc_html__( 'Display products in grid or list view by default', 'osapa' ),
        'id'        => 'ftc_glt_default',
        'type'      => 'select',
        "default"      => 'grid',
        'options'   => array(
            'grid'  => esc_html__('Grid', 'osapa'),
            'list'  => esc_html__('List', 'osapa')
        )
    ),						
      array(   
       "title"      => esc_html__("Top Content Widget Area", "osapa")
       ,"desc"     => esc_html__("Display Product Category Top Content widget area", "osapa")
       ,"id"       => "ftc_prod_cat_top_content"
       ,"default"      => 1
       ,"on"       => esc_html__("Show", "osapa")
       ,"off"      => esc_html__("Hide", "osapa")
       ,"type"     => "switch"
   ),
      array(    
        "title"      => esc_html__("Product Thumbnail", "osapa")
        ,"desc"     => ""
        ,"id"       => "ftc_prod_cat_thumbnail"
        ,"default"      => 1
        ,"on"       => esc_html__("Show", "osapa")
        ,"off"      => esc_html__("Hide", "osapa")
        ,"type"     => "switch"
    ),
      array(    
        "title"      => esc_html__("Product Label", "osapa")
        ,"desc"     => ""
        ,"id"       => "ftc_prod_cat_label"
        ,"default"      => 1
        ,"on"       => esc_html__("Show", "osapa")
        ,"off"      => esc_html__("Hide", "osapa")
        ,"type"     => "switch"
    ),
      array(  
        "title"      => esc_html__("Product Categories", "osapa")
        ,"desc"     => ""
        ,"id"       => "ftc_prod_cat_cat"
        ,"default"      => 0
        ,"on"       => esc_html__("Show", "osapa")
        ,"off"      => esc_html__("Hide", "osapa")
        ,"type"     => "switch"
    ),
      array(  
        "title"      => esc_html__("Product Title", "osapa")
        ,"desc"     => ""
        ,"id"       => "ftc_prod_cat_title"
        ,"default"      => 1
        ,"on"       => esc_html__("Show", "osapa")
        ,"off"      => esc_html__("Hide", "osapa")
        ,"type"     => "switch"
    ),
      array(  
        "title"      => esc_html__("Product SKU", "osapa")
        ,"desc"     => ""
        ,"id"       => "ftc_prod_cat_sku"
        ,"default"      => 0
        ,"on"       => esc_html__("Show", "osapa")
        ,"off"      => esc_html__("Hide", "osapa")
        ,"type"     => "switch"
    ),
      array(  
        "title"      => esc_html__("Product Rating", "osapa")
        ,"desc"     => ""
        ,"id"       => "ftc_prod_cat_rating"
        ,"default"      => 1
        ,"on"       => esc_html__("Show", "osapa")
        ,"off"      => esc_html__("Hide", "osapa")
        ,"type"     => "switch"
    ),
      array(  
        "title"      => esc_html__("Product Price", "osapa")
        ,"desc"     => ""
        ,"id"       => "ftc_prod_cat_price"
        ,"default"      => 1
        ,"on"       => esc_html__("Show", "osapa")
        ,"off"      => esc_html__("Hide", "osapa")
        ,"type"     => "switch"
    ),
      array(  
        "title"      => esc_html__("Product Add To Cart Button", "osapa")
        ,"desc"     => ""
        ,"id"       => "ftc_prod_cat_add_to_cart"
        ,"default"      => 1
        ,"on"       => esc_html__("Show", "osapa")
        ,"off"      => esc_html__("Hide", "osapa")
        ,"type"     => "switch"
    ),
      array(    
         "title"      => esc_html__("Product Short Description - Grid View", "osapa")
         ,"desc"     => esc_html__("Show product description on grid view", "osapa")
         ,"id"       => "ftc_prod_cat_grid_desc"
         ,"default"      => 0
         ,"on"       => esc_html__("Show", "osapa")
         ,"off"      => esc_html__("Hide", "osapa")
         ,"type"     => "switch"
     ),
      array(  
        "title"      => esc_html__("Product Short Description - Grid View - Limit Words", "osapa")
        ,"desc"     => esc_html__("Number of words to show product description on grid view. It is also used for product shortcode", "osapa")
        ,"id"       => "ftc_prod_cat_grid_desc_words"
        ,"default"      => 8
        ,"type"     => "text"
    ),
      array(     
        "title"      => esc_html__("Product Short Description - List View", "osapa")
        ,"desc"     => esc_html__("Show product description on list view", "osapa")
        ,"id"       => "ftc_prod_cat_list_desc"
        ,"default"      => 1
        ,"on"       => esc_html__("Show", "osapa")
        ,"off"      => esc_html__("Hide", "osapa")
        ,"type"     => "switch"
    ),
      array(  
        "title"      => esc_html__("Product Short Description - List View - Limit Words", "osapa")
        ,"desc"     => esc_html__("Number of words to show product description on list view", "osapa")
        ,"id"       => "ftc_prod_cat_list_desc_words"
        ,"default"      => 50
        ,"type"     => "text"
    )					
  )
);
/* Product Details Config  */
$this->sections[] = array(
   'icon' => 'icofont icofont-double-right',
   'icon_class' => 'icon',
   'subsection' => true,
   'title' => esc_html__('Product Details', 'osapa'),
   'fields' => array(
    array(
     'id' => 'ftc_prod_layout',
     'type' => 'image_select',
     'title' => esc_html__('Product Detail Layout', 'osapa'),
     'des' => esc_html__('Select main content and sidebar alignment.', 'osapa'),
     'options' => $ftc_layouts,
     'default' => '0-1-1'
 ),
    array(  
        "title"      => esc_html__("Left Sidebar", "osapa")
        ,"id"       => "ftc_prod_left_sidebar"
        ,"default"      => "product-detail-sidebar"
        ,"type"     => "select"
        ,"options"  => $of_sidebars
    ),
    array(  
        "title"      => esc_html__("Right Sidebar", "osapa")
        ,"id"       => "ftc_prod_right_sidebar"
        ,"default"      => "product-detail-sidebar"
        ,"type"     => "select"
        ,"options"  => $of_sidebars
    ),
    array(  
        "title"      => esc_html__("Product Cloud Zoom", "osapa")
        ,"desc"     => esc_html__("If you turn it off, product gallery images will open in a lightbox. This option overrides the option of WooCommerce", "osapa")
        ,"id"       => "ftc_prod_cloudzoom"
        ,"default"      => 1
        ,"type"     => "switch"
    ),
    array(  "title"      => esc_html__("Product Attribute Dropdown", "osapa")
        ,"desc"     => esc_html__("If you turn it off, the dropdown will be replaced by image or text label", "osapa")
        ,"id"       => "ftc_prod_attr_dropdown"
        ,"default"      => 1
        ,"type"     => "switch"
    ),						
    array(  "title"      => esc_html__("Product Thumbnail", "osapa")
        ,"desc"     => ""
        ,"id"       => "ftc_prod_thumbnail"
        ,"default"      => 1
        ,"on"       => esc_html__("Show", "osapa")
        ,"off"      => esc_html__("Hide", "osapa")
        ,"type"     => "switch"
    ),
    array(  "title"      => esc_html__("Product Label", "osapa")
        ,"desc"     => ""
        ,"id"       => "ftc_prod_label"
        ,"default"      => 1
        ,"on"       => esc_html__("Show", "osapa")
        ,"off"      => esc_html__("Hide", "osapa")
        ,"type"     => "switch"
    ),
    array(  "title"      => esc_html__("Product Navigation", "osapa")
        ,"desc"     => ""
        ,"id"       => "ftc_show_prod_navigation"
        ,"default"      => 0
        ,"on"       => esc_html__("Show", "osapa")
        ,"off"      => esc_html__("Hide", "osapa")
        ,"type"     => "switch"
    ),
    array(  "title"      => esc_html__("Product Title", "osapa")
        ,"desc"     => ""
        ,"id"       => "ftc_prod_title"
        ,"default"      => 1
        ,"on"       => esc_html__("Show", "osapa")
        ,"off"      => esc_html__("Hide", "osapa")
        ,"type"     => "switch"
    ),
    array(  "title"      => esc_html__("Product Title In Content", "osapa")
        ,"desc"     => esc_html__("Display the product title in the page content instead of above the breadcrumbs", "osapa")
        ,"id"       => "ftc_prod_title_in_content"
        ,"default"      => 0
        ,"type"     => "switch"
    ),
    array(  "title"      => esc_html__("Product Rating", "osapa")
        ,"desc"     => ""
        ,"id"       => "ftc_prod_rating"
        ,"default"      => 1
        ,"on"       => esc_html__("Show", "osapa")
        ,"off"      => esc_html__("Hide", "osapa")
        ,"type"     => "switch"
    ),
    array(  "title"      => esc_html__("Product SKU", "osapa")
        ,"desc"     => ""
        ,"id"       => "ftc_prod_sku"
        ,"default"      => 1
        ,"on"       => esc_html__("Show", "osapa")
        ,"off"      => esc_html__("Hide", "osapa")
        ,"type"     => "switch"
    ),
    array(  "title"      => esc_html__("Product Availability", "osapa")
        ,"desc"     => ""
        ,"id"       => "ftc_prod_availability"
        ,"default"      => 1
        ,"on"       => esc_html__("Show", "osapa")
        ,"off"      => esc_html__("Hide", "osapa")
        ,"type"     => "switch"
    ),
    array(  "title"      => esc_html__("Product Excerpt", "osapa")
        ,"desc"     => ""
        ,"id"       => "ftc_prod_excerpt"
        ,"default"      => 1
        ,"on"       => esc_html__("Show", "osapa")
        ,"off"      => esc_html__("Hide", "osapa")
        ,"type"     => "switch"
    ),
    array(  "title"      => esc_html__("Product Count Down", "osapa")
        ,"desc"     => esc_html__("You have to activate ThemeFTC plugin", "osapa")
        ,"id"       => "ftc_prod_count_down"
        ,"default"      => 1
        ,"on"       => esc_html__("Show", "osapa")
        ,"off"      => esc_html__("Hide", "osapa")
        ,"type"     => "switch"
    ),
    array(  "title"      => esc_html__("Product Price", "osapa")
        ,"desc"     => ""
        ,"id"       => "ftc_prod_price"
        ,"default"      => 1
        ,"on"       => esc_html__("Show", "osapa")
        ,"off"      => esc_html__("Hide", "osapa")
        ,"type"     => "switch"
    ),
    array(  "title"      => esc_html__("Product Add To Cart Button", "osapa")
        ,"desc"     => ""
        ,"id"       => "ftc_prod_add_to_cart"
        ,"default"      => 1
        ,"on"       => esc_html__("Show", "osapa")
        ,"off"      => esc_html__("Hide", "osapa")
        ,"type"     => "switch"
    ),
    array(  "title"      => esc_html__("Product Categories", "osapa")
        ,"desc"     => ""
        ,"id"       => "ftc_prod_cat"
        ,"default"      => 1
        ,"on"       => esc_html__("Show", "osapa")
        ,"off"      => esc_html__("Hide", "osapa")
        ,"type"     => "switch"
    ),
    array(  "title"      => esc_html__("Product Tags", "osapa")
        ,"desc"     => ""
        ,"id"       => "ftc_prod_tag"
        ,"default"      => 1
        ,"on"       => esc_html__("Show", "osapa")
        ,"off"      => esc_html__("Hide", "osapa")
        ,"type"     => "switch"
    ),
    array(  "title"      => esc_html__("Product Sharing", "osapa")
        ,"desc"     => ""
        ,"id"       => "ftc_prod_sharing"
        ,"default"      => 1
        ,"on"       => esc_html__("Show", "osapa")
        ,"off"      => esc_html__("Hide", "osapa")
        ,"type"     => "switch"
    ),
    array(  "title"      => esc_html__("Size Chart", "osapa")
        ,"desc"     => ""
        ,"id"       => "ftc_show_prod_size_chart"
        ,"default"      => 1
        ,"on"       => esc_html__("Show", "osapa")
        ,"off"      => esc_html__("Hide", "osapa")
        ,"type"     => "switch"
    ),
    array(  "title"      => esc_html__("Size Chart Image", "osapa")
        ,"desc"     => esc_html__("Select an image file for all Product", "osapa")
        ,"id"       => "ftc_prod_size_chart"
        ,"type"     => "media"
        ,'default' => array(
            'url' => get_template_directory_uri(). '/assets/images/size-chart.jpg'
        )
    ),

    
    array(  "title"      => esc_html__("Product Thumbnails", "osapa")
        ,"desc"     => ""
        ,"id"       => "introduction_product_thumbnails"
        ,"icon"     => true
        ,"type"     => "info"
    ),
    array(  "title"      => esc_html__("Product Thumbnails Style", "osapa")
        ,"desc"     => ""
        ,"id"       => "ftc_prod_thumbnails_style"
        ,"default"      => "horizontal" 
        ,"type"     => "select"
        ,"options"  => array(
            'vertical'      => esc_html__('Vertical', 'osapa')
            ,'horizontal'   => esc_html__('Horizontal', 'osapa')
        )
    ),
    array(  "title"      => esc_html__("Product Tabs", "osapa")
        ,"desc"     => ""
        ,"id"       => "introduction_product_tabs"
        ,"icon"     => true
        ,"type"     => "info"
    ),
    array(  "title"      => esc_html__("Product Tabs Style", "osapa")
            ,"desc"     => ""
            ,"id"       => "ftc_prod_style_tabs"
            ,"default"      => "default"
            ,"type"     => "select"
            ,"options"  => array(
                'default'       => esc_html__('Default', 'osapa')
                ,'accordion'    => esc_html__('Accordion', 'osapa')
                ,'vertical' => esc_html__('Vertical', 'osapa')
            )
        ),
     array(    
            "title"      => esc_html__("Boxed Sidebar Filter", "osapa")
            ,"id"       => "ftc_prod_box_sidebar_filter"
            ,"type"     => "switch"
            ,"default"      => 0
            ,"on"       => esc_html__("Yes", "osapa")
            ,"off"      => esc_html__("No", "osapa")
            ,"desc"     => esc_html__("Apply for Product Category Layout is Full-width", "osapa")
        ),
     array( "title" => esc_html__("Sticky Add to cart", "osapa")
            ,"desc" => ""
            ,"id" => "ftc_prod_stic_bot"
            ,"default" => 0
            ,"on" => esc_html__("Show", "osapa")
            ,"off" => esc_html__("Hide", "osapa")
            ,"type" => "switch"
        ),
    array(  "title"      => esc_html__("Product Tabs", "osapa")
        ,"desc"     => esc_html__("Enable Product Tabs", "osapa")
        ,"id"       => "ftc_prod_tabs"
        ,"default"      => 1
        ,"on"       => esc_html__("Show", "osapa")
        ,"off"      => esc_html__("Hide", "osapa")
        ,"type"     => "switch"
    ),
    array(  "title"      => esc_html__("Product Tabs Style", "osapa")
        ,"desc"     => ""
        ,"id"       => "ftc_prod_style_tabs"
        ,"default"      => "defaut"
        ,"type"     => "select"
        ,"options"  => array(
            'default'       => esc_html__('Default', 'osapa')
            ,'accordion'    => esc_html__('Accordion', 'osapa')
            ,'vertical' => esc_html__('Vertical', 'osapa')
        )
    ),
    array(  "title"      => esc_html__("Product Tabs Position", "osapa")
        ,"desc"     => ""
        ,"id"       => "ftc_prod_tabs_position"
        ,"default"      => "after_summary" 
        ,"fold"     => "ftc_prod_tabs"
        ,"type"     => "select"
        ,"options"  => array(
            'after_summary'     => esc_html__('After Summary', 'osapa')
            ,'inside_summary'   => esc_html__('Inside Summary', 'osapa')
        )
    ),
    array(  "title"      => esc_html__("Product Custom Tab", "osapa")
        ,"desc"     => ""
        ,"id"       => "ftc_prod_custom_tab"
        ,"default"      => 1
        ,"on"       => esc_html__("Show", "osapa")
        ,"off"      => esc_html__("Hide", "osapa")
        ,"fold"     => "ftc_prod_tabs"
        ,"type"     => "switch"
    ),
    array(  "title"      => esc_html__("Product Custom Tab Title", "osapa")
        ,"desc"     => ""
        ,"id"       => "ftc_prod_custom_tab_title"
        ,"default"      => "Custom tab"
        ,"fold"     => "ftc_prod_tabs"
        ,"type"     => "text"
    ),
    array(  "title"      => esc_html__("Product Custom Tab Content", "osapa")
        ,"desc"     => ""
        ,"id"       => "ftc_prod_custom_tab_content"
        ,"default"      => "Your custom content goes here. You can add the content for individual product"
        ,"fold"     => "ftc_prod_tabs"
        ,"type"     => "textarea"
    ),
    array(  "title"      => esc_html__("Product Ads Banner", "osapa")
        ,"desc"     => ""
        ,"id"       => "introduction_product_ads_banner"
        ,"icon"     => true
        ,"type"     => "info"
    ),
    array(  "title"      => esc_html__("Ads Banner", "osapa")
        ,"desc"     => ""
        ,"id"       => "ftc_prod_ads_banner"
        ,"default"      => 0
        ,"on"       => esc_html__("Show", "osapa")
        ,"off"      => esc_html__("Hide", "osapa")
        ,"type"     => "switch"
    ),
    array(     "title"      => esc_html__("Ads Banner Content", "osapa")
        ,"desc"     => ""
        ,"id"       => "ftc_prod_ads_banner_content"
        ,"default"      => ''
        ,"fold"     => "ftc_prod_ads_banner"
        ,"type"     => "textarea"
    ),
    array(  "title"      => esc_html__("Related - Up-Sell Products", "osapa")
        ,"desc"     => ""
        ,"id"       => "introduction_related_upsell_product"
        ,"icon"     => true
        ,"type"     => "info"
    ),
    array(     "title"      => esc_html__("Up-Sell Products", "osapa")
        ,"desc"     => ""
        ,"id"       => "ftc_prod_upsells"
        ,"default"      => 0
        ,"on"       => esc_html__("Show", "osapa")
        ,"off"      => esc_html__("Hide", "osapa")
        ,"type"     => "switch"
    ),
    array(  "title"      => esc_html__("Related Products", "osapa")
        ,"desc"     => ""
        ,"id"       => "ftc_prod_related"
        ,"default"      => 0
        ,"on"       => esc_html__("Show", "osapa")
        ,"off"      => esc_html__("Hide", "osapa")
        ,"type"     => "switch"
    )					
)
);

endif;


/* Blog Settings */
$this->sections[] = array(
    'icon' => 'icofont icofont-ui-copy',
    'icon_class' => 'icon',
    'title' => esc_html__('Blog', 'osapa'),
    'fields' => array(				
    )
);		

			// Blog Layout
$this->sections[] = array(
    'icon' => 'icofont icofont-double-right',
    'icon_class' => 'icon',
    'subsection' => true,
    'title' => esc_html__('Blog Layout', 'osapa'),
    'fields' => array(	
        array(
         'id' => 'ftc_blog_layout',
         'type' => 'image_select',
         'title' => esc_html__('Blog Layout', 'osapa'),
         'des' => esc_html__('Select main content and sidebar alignment.', 'osapa'),
         'options' => $ftc_layouts,
         'default' => '1-1-0'
     ),
        array(   "title"      => esc_html__("Left Sidebar", "osapa")
            ,"id"       => "ftc_blog_left_sidebar"
            ,"default"      => "blog-sidebar"
            ,"type"     => "select"
            ,"options"  => $of_sidebars
        ),				
        array(     "title"      => esc_html__("Right Sidebar", "osapa")
            ,"id"       => "ftc_blog_right_sidebar"
            ,"default"      => "blog-sidebar"
            ,"type"     => "select"
            ,"options"  => $of_sidebars
        ),
        array(   "title"      => esc_html__("Blog Thumbnail", "osapa")
            ,"desc"     => ""
            ,"id"       => "ftc_blog_thumbnail"
            ,"default"      => 1
            ,"on"       => esc_html__("Show", "osapa")
            ,"off"      => esc_html__("Hide", "osapa")
            ,"type"     => "switch"
        ),										
        array(   "title"      => esc_html__("Blog Date", "osapa")
            ,"desc"     => ""
            ,"id"       => "ftc_blog_date"
            ,"default"      => 1
            ,"on"       => esc_html__("Show", "osapa")
            ,"off"      => esc_html__("Hide", "osapa")
            ,"type"     => "switch"
        ),
        array(  "title"      => esc_html__("Blog Title", "osapa")
            ,"desc"     => ""
            ,"id"       => "ftc_blog_title"
            ,"default"      => 1
            ,"on"       => esc_html__("Show", "osapa")
            ,"off"      => esc_html__("Hide", "osapa")
            ,"type"     => "switch"
        ),
        array(  "title"      => esc_html__("Blog Author", "osapa")
            ,"desc"     => ""
            ,"id"       => "ftc_blog_author"
            ,"default"      => 1
            ,"on"       => esc_html__("Show", "osapa")
            ,"off"      => esc_html__("Hide", "osapa")
            ,"type"     => "switch"
        ),
        array(  "title"      => esc_html__("Blog Count View", "osapa")
            ,"desc"     => ""
            ,"id"       => "ftc_blog_count_view"
            ,"default"      => 0
            ,"on"       => esc_html__("Show", "osapa")
            ,"off"      => esc_html__("Hide", "osapa")
            ,"type"     => "switch"
        ),
        array(  "title"      => esc_html__("Blog Read More Button", "osapa")
            ,"desc"     => ""
            ,"id"       => "ftc_blog_read_more"
            ,"default"      => 0
            ,"on"       => esc_html__("Show", "osapa")
            ,"off"      => esc_html__("Hide", "osapa")
            ,"type"     => "switch"
        ),
        array(  "title"      => esc_html__("Blog Categories", "osapa")
            ,"desc"     => ""
            ,"id"       => "ftc_blog_categories"
            ,"default"      => 1
            ,"on"       => esc_html__("Show", "osapa")
            ,"off"      => esc_html__("Hide", "osapa")
            ,"type"     => "switch"
        ),
        array(  "title"      => esc_html__("Blog Excerpt", "osapa")
            ,"desc"     => ""
            ,"id"       => "ftc_blog_excerpt"
            ,"default"      => 1
            ,"on"       => esc_html__("Show", "osapa")
            ,"off"      => esc_html__("Hide", "osapa")
            ,"type"     => "switch"
        ),
        array(  "title"      => esc_html__("Blog Excerpt Strip All Tags", "osapa")
            ,"desc"     => esc_html__("Strip all html tags in Excerpt", "osapa")
            ,"id"       => "ftc_blog_excerpt_strip_tags"
            ,"default"      => 0
            ,"type"     => "switch"
        ),
        array(  "title"      => esc_html__("Blog Excerpt Max Words", "osapa")
            ,"desc"     => esc_html__("Input -1 to show full excerpt", "osapa")
            ,"id"       => "ftc_blog_excerpt_max_words"
            ,"default"      => "-1"
            ,"type"     => "text"
        )					
    )
);				

/** Blog Detail **/
$this->sections[] = array(
    'icon' => 'icofont icofont-double-right',
    'icon_class' => 'icon',
    'subsection' => true,
    'title' => esc_html__('Blog Details', 'osapa'),
    'fields' => array(	
        array(
         'id' => 'ftc_blog_details_layout',
         'type' => 'image_select',
         'title' => esc_html__('Blog Detail Layout', 'osapa'),
         'des' => esc_html__('Select main content and sidebar alignment.', 'osapa'),
         'options' => $ftc_layouts,
         'default' => '0-1-0'
     ),
        array(  "title"      => esc_html__("Left Sidebar", "osapa")
            ,"id"       => "ftc_blog_details_left_sidebar"
            ,"default"      => "blog-detail-sidebar"
            ,"type"     => "select"
            ,"options"  => $of_sidebars
        ),
        array(  "title"      => esc_html__("Right Sidebar", "osapa")
            ,"id"       => "ftc_blog_details_right_sidebar"
            ,"default"      => "blog-detail-sidebar"
            ,"type"     => "select"
            ,"options"  => $of_sidebars
        ),
        array(  "title"      => esc_html__("Blog Thumbnail", "osapa")
            ,"desc"     => ""
            ,"id"       => "ftc_blog_details_thumbnail"
            ,"default"      => 1
            ,"on"       => esc_html__("Show", "osapa")
            ,"off"      => esc_html__("Hide", "osapa")
            ,"type"     => "switch"
        ),
        array(     "title"      => esc_html__("Blog Date", "osapa")
            ,"desc"     => ""
            ,"id"       => "ftc_blog_details_date"
            ,"default"      => 1
            ,"on"       => esc_html__("Show", "osapa")
            ,"off"      => esc_html__("Hide", "osapa")
            ,"type"     => "switch"
        ),
        array(  "title"      => esc_html__("Blog Title", "osapa")
            ,"desc"     => ""
            ,"id"       => "ftc_blog_details_title"
            ,"default"      => 1
            ,"on"       => esc_html__("Show", "osapa")
            ,"off"      => esc_html__("Hide", "osapa")
            ,"type"     => "switch"
        ),
        array(  "title"      => esc_html__("Blog Content", "osapa")
            ,"desc"     => ""
            ,"id"       => "ftc_blog_details_content"
            ,"default"      => 1
            ,"on"       => esc_html__("Show", "osapa")
            ,"off"      => esc_html__("Hide", "osapa")
            ,"type"     => "switch"
        ),
        array(  "title"      => esc_html__("Blog Tags", "osapa")
            ,"desc"     => ""
            ,"id"       => "ftc_blog_details_tags"
            ,"default"      => 1
            ,"on"       => esc_html__("Show", "osapa")
            ,"off"      => esc_html__("Hide", "osapa")
            ,"type"     => "switch"
        ),
        array(  "title"      => esc_html__("Blog Count View", "osapa")
            ,"desc"     => ""
            ,"id"       => "ftc_blog_details_count_view"
            ,"default"      => 0
            ,"on"       => esc_html__("Show", "osapa")
            ,"off"      => esc_html__("Hide", "osapa")
            ,"type"     => "switch"
        ),
        array(  "title"      => esc_html__("Blog Categories", "osapa")
            ,"desc"     => ""
            ,"id"       => "ftc_blog_details_categories"
            ,"default"      => 1
            ,"on"       => esc_html__("Show", "osapa")
            ,"off"      => esc_html__("Hide", "osapa")
            ,"type"     => "switch"
        ),
        array(  "title"      => esc_html__("Blog Author Box", "osapa")
            ,"desc"     => ""
            ,"id"       => "ftc_blog_details_author_box"
            ,"default"      => 1
            ,"on"       => esc_html__("Show", "osapa")
            ,"off"      => esc_html__("Hide", "osapa")
            ,"type"     => "switch"
        ),
        array(  "title"      => esc_html__("Blog Related Posts", "osapa")
            ,"desc"     => ""
            ,"id"       => "ftc_blog_details_related_posts"
            ,"default"      => 1
            ,"on"       => esc_html__("Show", "osapa")
            ,"off"      => esc_html__("Hide", "osapa")
            ,"type"     => "switch"
        ),
        array(  "title"      => esc_html__("Blog Comment Form", "osapa")
            ,"desc"     => ""
            ,"id"       => "ftc_blog_details_comment_form"
            ,"default"      => 1
            ,"on"       => esc_html__("Show", "osapa")
            ,"off"      => esc_html__("Hide", "osapa")
            ,"type"     => "switch"
        )				
    )
);		
}


public function setHelpTabs() {

}

public function setArguments() {

            $theme = wp_get_theme(); // For use with some settings. Not necessary.

            $this->args = array(
                'opt_name'          => 'smof_data',
                'menu_type'         => 'submenu',
                'allow_sub_menu'    => true,
                'display_name'      => $theme->get( 'Name' ),
                'display_version'   => $theme->get( 'Version' ),
                'menu_title'        => esc_html__('Theme Options', 'osapa'),
                'page_title'        => esc_html__('Theme Options', 'osapa'),
                'templates_path'    => get_template_directory() . '/admin/et-templates/',
                'disable_google_fonts_link' => true,

                'async_typography'  => false,
                'admin_bar'         => false,
                'admin_bar_icon'       => 'dashicons-admin-generic',
                'admin_bar_priority'   => 50,
                'global_variable'   => '',
                'dev_mode'          => false,
                'customizer'        => false,
                'compiler'          => false,

                'page_priority'     => null,
                'page_parent'       => 'themes.php',
                'page_permissions'  => 'manage_options',
                'menu_icon'         => '',
                'last_tab'          => '',
                'page_icon'         => 'icon-themes',
                'page_slug'         => 'smof_data',
                'save_defaults'     => true,
                'default_show'      => false,
                'default_mark'      => '',
                'show_import_export' => true,
                'show_options_object' => false,

                'transient_time'    => 60 * MINUTE_IN_SECONDS,
                'output'            => false,
                'output_tag'        => false,

                'database'              => '',
                'system_info'           => false,

                'hints' => array(
                    'icon'          => 'icon-question-sign',
                    'icon_position' => 'right',
                    'icon_color'    => 'lightgray',
                    'icon_size'     => 'normal',
                    'tip_style'     => array(
                        'color'         => 'light',
                        'shadow'        => true,
                        'rounded'       => false,
                        'style'         => '',
                    ),
                    'tip_position'  => array(
                        'my' => 'top left',
                        'at' => 'bottom right',
                    ),
                    'tip_effect'    => array(
                        'show'          => array(
                            'effect'        => 'slide',
                            'duration'      => '500',
                            'event'         => 'mouseover',
                        ),
                        'hide'      => array(
                            'effect'    => 'slide',
                            'duration'  => '500',
                            'event'     => 'click mouseleave',
                        ),
                    ),
                ),
                'use_cdn'                   => true,
            );


            // Panel Intro text -> before the form
            if (!isset($this->args['global_variable']) || $this->args['global_variable'] !== false) {
                if (!empty($this->args['global_variable'])) {
                    $v = $this->args['global_variable'];
                } else {
                    $v = str_replace('-', '_', $this->args['opt_name']);
                }
            }
        }			

    }

    global $redux_ftc_settings;
    $redux_ftc_settings = new Redux_Framework_smof_data();
}