HEX
Server: Apache
System: Linux linplesk41.pumo.com.tw 3.10.0-962.3.2.lve1.5.27.el7.x86_64 #1 SMP Sat Nov 30 02:18:52 EST 2019 x86_64
User: rajlaw (10192)
PHP: 7.4.24
Disabled: phpinfo,passthru,exec,shell_exec,system,popen,proc_open,proc_close,show_source,pcntl_exec,escapeshellcmd,proc_get_status,proc_nice,proc_terminate,escapeshellarg
Upload Files
File: /home/httpd/vhosts/rajlaw.com.tw/httpdocs/wp-content/themes/advokat/libs/theme-option/config.php
<?php
    /**
     * ReduxFramework Sample Config File
     * For full documentation, please visit: http://docs.reduxframework.com/
     */

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

    // This is your option name where all the Redux data is stored.
    $opt_name = "advokat_option";

    // This line is only for altering the demo. Can be easily removed.
    $opt_name = apply_filters( 'advokat/opt_name', $opt_name );

    /*
     *
     * --> Used within different fields. Simply examples. Search for ACTUAL DECLARATION for field examples
     *
     */

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

    $args = array(
        // TYPICAL -> Change these values as you need/desire
        'opt_name'             => $opt_name,
        // This is where your data is stored in the database and also becomes your global variable name.
        'display_name'         => $theme->get( 'Name' ),
        // Name that appears at the top of your panel
        'display_version'      => $theme->get( 'Version' ),
        // Version that appears at the top of your panel
        'menu_type'            => 'menu',
        //Specify if the admin menu should appear or not. Options: menu or submenu (Under appearance only)
        'allow_sub_menu'       => true,
        // Show the sections below the admin menu item or not
        'menu_title'           => esc_html__( 'Advokat Options', 'advokat' ),
        'page_title'           => esc_html__( 'Advokat Options', 'advokat' ),
        // You will need to generate a Google API key to use this feature.
        // Please visit: https://developers.google.com/fonts/docs/developer_api#Auth
        'google_api_key'       => '',
        // Set it you want google fonts to update weekly. A google_api_key value is required.
        'google_update_weekly' => false,
        // Must be defined to add google fonts to the typography module
        'async_typography'     => true,
        // Use a asynchronous font on the front end or font string
        //'disable_google_fonts_link' => true,                    // Disable this in case you want to create your own google fonts loader
        'admin_bar'            => false,
        // Show the panel pages on the admin bar
        'admin_bar_icon'       => 'dashicons-portfolio',
        // Choose an icon for the admin bar menu
        'admin_bar_priority'   => 50,
        // Choose an priority for the admin bar menu
        'global_variable'      => '',
        // Set a different name for your global variable other than the opt_name
        'dev_mode'             => false,
        'forced_dev_mode_off' => true,
        // Show the time the page took to load, etc
        'update_notice'        => true,
        // If dev_mode is enabled, will notify developer of updated versions available in the GitHub Repo
        'customizer'           => true,
        'compiler' => true,
        // Enable basic customizer support
        //'open_expanded'     => true,                    // Allow you to start the panel in an expanded way initially.
        //'disable_save_warn' => true,                    // Disable the save warning when a user changes a field

        // OPTIONAL -> Give you extra features
        'page_priority'        => null,
        // Order where the menu appears in the admin area. If there is any conflict, something will not show. Warning.
        'page_parent'          => 'themes.php',
        // For a full list of options, visit: http://codex.wordpress.org/Function_Reference/add_submenu_page#Parameters
        'page_permissions'     => 'manage_options',
        // Permissions needed to access the options panel.
        'menu_icon'            => '',
        // Specify a custom URL to an icon
        'last_tab'             => '',
        // Force your panel to always open to a specific tab (by id)
        'page_icon'            => 'icon-themes',
        // Icon displayed in the admin panel next to your menu_title
        'page_slug'            => '',
        // Page slug used to denote the panel, will be based off page title then menu title then opt_name if not provided
        'save_defaults'        => true,
        // On load save the defaults to DB before user clicks save or not
        'default_show'         => false,
        // If true, shows the default value next to each field that is not the default value.
        'default_mark'         => '',
        // What to print by the field's title if the value shown is default. Suggested: *
        'show_import_export'   => true,
        // Shows the Import/Export panel when not used as a field.

        // CAREFUL -> These options are for advanced use only
        'transient_time'       => 60 * MINUTE_IN_SECONDS,
        'output'               => true,
        // Global shut-off for dynamic CSS output by the framework. Will also disable google fonts output
        'output_tag'           => true,
        'force_output' => true,
        // Allows dynamic CSS to be generated for customizer and google fonts, but stops the dynamic CSS from going to the head
        // 'footer_credit'     => '',                   // Disable the footer credit of Redux. Please leave if you can help it.

        // FUTURE -> Not in use yet, but reserved or partially implemented. Use at your own risk.
        'database'             => '',
        // possible: options, theme_mods, theme_mods_expanded, transient. Not fully functional, warning!
        'use_cdn'              => true,
        // If you prefer not to use the CDN for Select2, Ace Editor, and others, you may download the Redux Vendor Support plugin yourself and run locally or embed it in your code.

        // HINTS
        'hints'                => array(
            'icon'          => 'el el-question-sign',
            'icon_position' => 'right',
            'icon_color'    => 'lightgray',
            'icon_size'     => 'normal',
            'tip_style'     => array(
                'color'   => 'red',
                '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',
                ),
            ),
        )
    );

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

    Redux::setArgs( $opt_name, $args );

    /*
     * ---> END ARGUMENTSadvokat
     */
    /*
     *
     * ---> START SECTIONS
     *
     */     
   // -> START General Settings
   Redux::setSection( $opt_name, array(
        'title'            => esc_html__( 'General Sections', 'advokat' ),
        'id'               => 'basic-checkbox',
        'customizer_width' => '450px',
        'fields'           => array(
            array(
                'id'       => 'container_size',
                'title'    => esc_html__( 'Container Size', 'advokat' ),
                'subtitle' => esc_html__( 'Container Size example(1200px)', 'advokat' ),
                'type'     => 'text',
                'default'  => '1400px'
                
            ),
            array(
                'id'       => 'logo',
                'type'     => 'media',
                'title'    => esc_html__( 'Upload Default Logo', 'advokat' ),
                'subtitle' => esc_html__( 'Upload your logo', 'advokat' ),
                'url'=> true
                
            ),

            array(
                'id'       => 'logo_light',
                'type'     => 'media',
                'title'    => esc_html__( 'Upload Your Light', 'advokat' ),
                'subtitle' => esc_html__( 'Upload your light logo', 'advokat' ),
                'url'=> true
                
            ),

            array(
                    'id'       => 'logo-height',                               
                    'title'    => esc_html__( 'Logo Height', 'advokat' ),
                    'subtitle' => esc_html__( 'Logo max height example(50px)', 'advokat' ),
                    'type'     => 'text',
                    'default'  => '48px'
                    
            ),

            array(
                'id'       => 'rswplogo_sticky',
                'type'     => 'media',
                'title'    => esc_html__( 'Upload Your Sticky Logo', 'advokat' ),
                'subtitle' => esc_html__( 'Upload your sticky logo', 'advokat' ),
                'url'=> true                
            ),

            array(
                'id'       => 'sticky_logo_height',                               
                'title'    => esc_html__( 'Sticky Logo Height', 'advokat' ),
                'subtitle' => esc_html__( 'Sticky Logo max height example(20px)', 'advokat' ),
                'type'     => 'text',
                'default'  => '20px'
                    
            ),

            
            array(
            'id'       => 'rs_favicon',
            'type'     => 'media',
            'title'    => esc_html__( 'Upload Favicon', 'advokat' ),
            'subtitle' => esc_html__( 'Upload your faviocn here', 'advokat' ),
            'url'=> true            
            ),
            
            array(
                'id'       => 'off_sticky',
                'type'     => 'switch', 
                'title'    => esc_html__('Sticky Menu', 'advokat'),
                'subtitle' => esc_html__('You can show or hide sticky menu here', 'advokat'),
                'default'  => false,
            ),
               
             array(
                'id'       => 'off_search',
                'type'     => 'switch', 
                'title'    => esc_html__('Show Search', 'advokat'),
                'subtitle' => esc_html__('You can show or hide search icon at menu area', 'advokat'),
                'default'  => false,
            ),
            
            array(
                'id'       => 'off_canvas',
                'type'     => 'switch', 
                'title'    => esc_html__('Show off Canvas', 'advokat'),
                'subtitle' => esc_html__('You can show or hide off canvas here', 'advokat'),
                'default'  => false,
            ), 
                
            array(
                'id'       => 'show_top_bottom',
                'type'     => 'switch', 
                'title'    => esc_html__('Go to Top', 'advokat'),
                'subtitle' => esc_html__('You can show or hide here', 'advokat'),
                'default'  => false,
            ),            
        )
    ) );
    
    
    // -> START Header Section
    Redux::setSection( $opt_name, array(
        'title'            => esc_html__( 'Header', 'advokat' ),
        'id'               => 'header',
        'customizer_width' => '450px',
        'icon' => 'el el-certificate',       
         
        'fields'           => array(
            array(
                'id'     => 'notice_critical',
                'type'   => 'info',
                'notice' => true,
                'style'  => 'success',
                'title'  => esc_html__('Header Top Area', 'advokat')            
            ),
            
            array(
                'id'       => 'show-top',
                'type'     => 'switch', 
                'title'    => esc_html__('Show Top Bar', 'advokat'),
                'subtitle' => esc_html__('You can select top bar show or hide', 'advokat'),
                'default'  => false,
            ), 

            array(
                'id'       => 'welcome-text',                               
                'title'    => esc_html__( 'Top Bar Welcome Text', 'advokat' ),
                'subtitle' => esc_html__( 'Top Bar Welcome Text Add Here', 'advokat' ),
                'type'     => 'text',                       
            ),           
          
            array(
                'id'       => 'show-social',
                'type'     => 'switch', 
                'title'    => esc_html__('Show Social Icons at Header', 'advokat'),
                'subtitle' => esc_html__('You can select Social Icons show or hide', 'advokat'),
                'default'  => true,
            ),  
                        
            array(
                'id'     => 'notice_critical2',
                'type'   => 'info',
                'notice' => true,
                'style'  => 'success',
                'title'  => esc_html__('Header Area', 'advokat')            
            ),

            array(
                'id'               => 'header-grid',
                'type'             => 'select',
                'title'            => esc_html__('Header Area Width', 'advokat'),             
                
                //Must provide key => value pairs for select options
                'options'          => array(                           
                
                'container'        => esc_html__('Container', 'advokat'),
                'full'             => esc_html__('Container Fluid', 'advokat')
                ),
                
                'default'          => 'container',            
            ),

            array(
                'id'       => 'phone-pretext',                               
                'title'    => esc_html__( 'Phone Number Pre Text', 'advokat' ),
                'subtitle' => esc_html__( 'Enter Phone Number Pre Text', 'advokat' ),
                'type'     => 'text',                       
            ),
            
            array(
                'id'       => 'phone',                               
                'title'    => esc_html__( ' Phone Number', 'advokat' ),
                'subtitle' => esc_html__( 'Enter Phone Number', 'advokat' ),
                'type'     => 'text',                       
            ),

           array(
                'id'       => 'email-pretext',                               
                'title'    => esc_html__( ' E-mail Pre Text', 'advokat' ),
                'subtitle' => esc_html__( 'Enter E-mail Pre Text', 'advokat' ),
                'type'     => 'text',                    
            ),
           
            array(
                'id'       => 'top-email',                               
                'title'    => esc_html__( 'Email Address', 'advokat' ),
                'subtitle' => esc_html__( 'Enter Email Address', 'advokat' ),
                'type'     => 'text',
                'validate' => 'email',
                'msg'      => esc_html__('Email Address Not Valid', 'advokat'),
                    
            ),  

            array(
                'id'       => 'location-pretext',                               
                'title'    => esc_html__( 'Location Title', 'advokat' ),
                'subtitle' => esc_html__( 'Pre Text', 'advokat' ),
                'type'     => 'text',                       
            ),
           
            array(
                'id'       => 'top-location',                               
                'title'    => esc_html__( 'Add Location', 'advokat' ),
                'subtitle' => esc_html__( 'Enter Address Here', 'advokat' ),
                'type'     => 'text',        
                        
            ),

            array(
                'id'       => 'opening-pretext',                               
                'title'    => esc_html__( 'Opening Hours Title', 'advokat' ),
                'subtitle' => esc_html__( 'Pre Text', 'advokat' ),
                'type'     => 'text',                    
            ),  

            array(
                'id'       => 'top-opening',                               
                'title'    => esc_html__( 'Opening Hours', 'advokat' ),
                'subtitle' => esc_html__( 'Enter Opening Hours Here', 'advokat' ),
                'type'     => 'text',                          
            ),  
                
            array(
                'id'       => 'quote',                               
                'title'    => esc_html__( 'Quote Button Text', 'advokat' ),                  
                'type'     => 'text',                   
            ),  
            
            array(
                'id'       => 'quote_link',                               
                'title'    => esc_html__( 'Quote Button Link', 'advokat' ),
                'subtitle' => esc_html__( 'Enter Quote Button Link Here', 'advokat' ),
                'type'     => 'text',                   
            ),      
        )
    ) 

);  
   

Redux::setSection( $opt_name, array(
'title'            => esc_html__( 'Header Layout', 'advokat' ),
'id'               => 'header-style',
'customizer_width' => '450px',
'subsection' =>true,      
'fields'           => array(    
                    
                            array(
                                'id'       => 'header_layout',
                                'type'     => 'image_select',
                                'title'    => esc_html__('Header Layout', 'advokat'), 
                                'subtitle' => esc_html__('Select header layout. Choose between 1, 2 or 3 layout.', 'advokat'),
                                'options'  => array(
                                'style1'   => array(
                                'alt'      => 'Header Style 1', 
                                'img'      => get_template_directory_uri().'/libs/img/style_1.png'
                                
                                ),
                                'style2' => array(
                                'alt'    => 'Header Style 2', 
                                'img'    => get_template_directory_uri().'/libs/img/style_2.png'
                                ),
                                'style3' => array(
                                'alt'    => 'Header Style 3', 
                                'img'    => get_template_directory_uri().'/libs/img/style_3.png'
                                ),
                                
                                ),
                            'default' => 'style1'
                ),                           
                    
            )
        ) 
);
                                   
//Topbar settings
    Redux::setSection( $opt_name, array(
        'title'  => esc_html__( 'Toolbar area', 'advokat' ),
        'desc'   => esc_html__( 'Toolbar area Style Here', 'advokat' ),        
        'subsection' =>true,  
        'fields' => array(

                array(
                    'id'        => 'background_toolbar_color',
                    'type'      => 'color',                           
                    'title'     => esc_html__('Toolbar background Color','advokat'),
                    'subtitle'  => esc_html__('Pick background color', 'advokat'),
                    'default'   => '#1f2839', 
                    'output'   => array(
                        'background-color' => '#rs-header .toolbar-area'
                    ),                      
                ), 
                        
                array(
                    'id'        => 'toolbar_bg_color',
                    'type'      => 'color_rgba',                       
                    'title'     => esc_html__('Toolbar Transparent background Color','advokat'),
                    'subtitle'  => esc_html__('Pick color', 'advokat'),                   
                    'default'  => array(
                        'color' => '#1f2839',
                        'alpha' => 0.41,
                    ),
                    'output'   => array(
                        'background-color' => '#rs-header.header-transparent .toolbar-area'
                    ),                                          
                ), 



                array(
                    'id'        => 'toolbar_text_color',
                    'type'      => 'color',                       
                    'title'     => esc_html__('Toolbar Text Color','advokat'),
                    'subtitle'  => esc_html__('Pick color', 'advokat'),    
                    'default'   => '#ffffff',                        
                    'validate'  => 'color',                        
                ),  

                array(
                    'id'        => 'toolbar_link_color',
                    'type'      => 'color',                       
                    'title'     => esc_html__('Toolbar Link Color','advokat'),
                    'subtitle'  => esc_html__('Pick color', 'advokat'),    
                    'default'   => '#ffffff',                        
                    'validate'  => 'color',                        
                ),  

                array(
                    'id'        => 'toolbar_link_hover_color',
                    'type'      => 'color',                       
                    'title'     => esc_html__('Toolbar Link Hover Color','advokat'),
                    'subtitle'  => esc_html__('Pick color', 'advokat'),    
                    'default'   => '#b69d74',                        
                    'validate'  => 'color',                        
                ), 

                array(
                    'id'        => 'social_links_color',
                    'type'      => 'color',                       
                    'title'     => esc_html__('Social Icons Color','advokat'),
                    'subtitle'  => esc_html__('Pick color', 'advokat'),    
                    'default'   => '#b69d74',                        
                    'validate'  => 'color',                        
                ),   

                array(
                    'id'        => 'social_links_hover',
                    'type'      => 'color',                       
                    'title'     => esc_html__('Social Icons Hover Color','advokat'),
                    'subtitle'  => esc_html__('Pick color', 'advokat'),    
                    'default'   => '#b59158',                        
                    'validate'  => 'color',                        
                ), 

                array(
                    'id'        => 'toolbar_text_size',
                    'type'      => 'text',                       
                    'title'     => esc_html__('Toolbar Font Size','advokat'),
                    'subtitle'  => esc_html__('Font Size', 'advokat'),    
                    'default'   => '15px',                                            
                ), 
                
        )
    )
);
    // -> START Style Section
    Redux::setSection( $opt_name, array(
        'title'            => esc_html__( 'Style', 'advokat' ),
        'id'               => 'stle',
        'customizer_width' => '450px',
        'icon' => 'el el-brush',
        ));
    
    Redux::setSection( $opt_name, array(
        'title'  => esc_html__( 'Global Style', 'advokat' ),
        'desc'   => esc_html__( 'Style your theme', 'advokat' ),        
        'subsection' =>true,  
        'fields' => array( 
                        
                        array(
                            'id'        => 'body_bg_color',
                            'type'      => 'color',                           
                            'title'     => esc_html__('Body Backgroud Color','advokat'),
                            'subtitle'  => esc_html__('Pick body background color', 'advokat'),
                            'default'   => '#ffffff',
                            'validate'  => 'color',                        
                        ), 
                        
                        array(
                            'id'        => 'body_text_color',
                            'type'      => 'color',            
                            'title'     => esc_html__('Text Color','advokat'),
                            'subtitle'  => esc_html__('Pick text color', 'advokat'),
                            'default'   => '#767676',
                            'validate'  => 'color',                        
                        ),     
        
                        array(
                        'id'        => 'primary_color',
                        'type'      => 'color', 
                        'title'     => esc_html__('Primary Color','advokat'),
                        'subtitle'  => esc_html__('Select Primary Color.', 'advokat'),
                        'default'   => '#b69d74',
                        'validate'  => 'color',                        
                        ), 

                        array(
                        'id'        => 'secondary_color',
                        'type'      => 'color', 
                        'title'     => esc_html__('Secondary Color','advokat'),
                        'subtitle'  => esc_html__('Select Secondary Color.', 'advokat'),
                        'default'   => '#1f2839',
                        'validate'  => 'color',                        
                        ),

                        array(
                            'id'        => 'third_color',
                            'type'      => 'color', 
                            'title'     => esc_html__('Extra Elements Bg Color','advokat'),
                            'subtitle'  => esc_html__('Extra bg color', 'advokat'),
                            'default'   => '#263043',
                            'validate'  => 'color',                        
                        ),

                        array(
                            'id'        => 'link_text_color',
                            'type'      => 'color',                       
                            'title'     => esc_html__('Link Color','advokat'),
                            'subtitle'  => esc_html__('Pick Link color', 'advokat'),
                            'default'   => '#b69d74',
                            'validate'  => 'color',                        
                        ),
                        
                        array(
                            'id'        => 'link_hover_text_color',
                            'type'      => 'color',                 
                            'title'     => esc_html__('Link Hover Color','advokat'),
                            'subtitle'  => esc_html__('Pick link hover color', 'advokat'),
                            'default'   => '#1f2839',
                            'validate'  => 'color',                        
                        ),    
                       
                 ) 
            ) 
    ); 

       
    
    //Menu settings
    Redux::setSection( $opt_name, array(
        'title'  => esc_html__( 'Main Menu', 'advokat' ),
        'desc'   => esc_html__( 'Main Menu Style Here', 'advokat' ),        
        'subsection' =>true,  
        'fields' => array( 
                        

                        array(
                            'id'        => 'menu_area_bg_color',
                            'type'      => 'color',                       
                            'title'     => esc_html__('Main Menu Background Color','advokat'),
                            'subtitle'  => esc_html__('Pick color', 'advokat'),    
                            'default'   => '',                        
                            'validate'  => 'color',                        
                        ), 
                        
                        array(
                            'id'        => 'menu_text_color',
                            'type'      => 'color',                       
                            'title'     => esc_html__('Main Menu Text Color','advokat'),
                            'subtitle'  => esc_html__('Pick color', 'advokat'),    
                            'default'   => '#333333',                        
                            'validate'  => 'color',                        
                        ), 
                        
                        array(
                            'id'        => 'transparent_menu_text_color',
                            'type'      => 'color',                       
                            'title'     => esc_html__('Tranparent Menu Text Color','advokat'),
                            'subtitle'  => esc_html__('Pick color', 'advokat'),    
                            'default'   => '#ffffff',                        
                            'validate'  => 'color',                        
                        ), 

                        array(
                            'id'        => 'transparent_menu_hover_color',
                            'type'      => 'color',                       
                            'title'     => esc_html__('Tranparent Menu Hover Color','advokat'),
                            'subtitle'  => esc_html__('Pick color', 'advokat'),    
                            'default'   => '#b69d74',                        
                            'validate'  => 'color',                        
                        ),  

                        array(
                            'id'        => 'transparent_menu_active_color',
                            'type'      => 'color',                       
                            'title'     => esc_html__('Tranparent Menu Active Color','advokat'),
                            'subtitle'  => esc_html__('Pick color', 'advokat'),    
                            'default'   => '#b69d74',                        
                            'validate'  => 'color',                        
                        ), 

                        array(
                            'id'        => 'menu_text_hover_color',
                            'type'      => 'color',                       
                            'title'     => esc_html__('Main Menu Text Hover Color','advokat'),
                            'subtitle'  => esc_html__('Pick color', 'advokat'),           
                            'default'   => '#b69d74',                 
                            'validate'  => 'color',                        
                        ), 

                        array(
                            'id'        => 'menu_text_active_color',
                            'type'      => 'color',                       
                            'title'     => esc_html__('Main Menu Text Active Color','advokat'),
                            'subtitle'  => esc_html__('Pick color', 'advokat'),
                            'default'   => '#b69d74',
                            'validate'  => 'color',                        
                        ),
                                               
                        array(
                            'id'        => 'drop_down_bg_color',
                            'type'      => 'color',                       
                            'title'     => esc_html__('Dropdown Menu Background Color','advokat'),
                            'subtitle'  => esc_html__('Pick bg color', 'advokat'),
                            'default'   => '#ffffff',
                            'validate'  => 'color',                        
                        ), 
                            
                        
                        array(
                            'id'        => 'drop_text_color',
                            'type'      => 'color',                     
                            'title'     => esc_html__('Dropdown Menu Text Color','advokat'),
                            'subtitle'  => esc_html__('Pick text color', 'advokat'),
                            'default'   => '#333333',
                            'validate'  => 'color',                        
                        ), 
                        
                        array(
                            'id'        => 'drop_text_hover_color',
                            'type'      => 'color',                       
                            'title'     => esc_html__('Dropdown Menu Hover Text Color','advokat'),
                            'subtitle'  => esc_html__('Pick text color', 'advokat'),
                            'default'   => '#b69d74',
                            'validate'  => 'color',                        
                        ), 

                        array(
                            'id'        => 'drop_bg_hover_color',
                            'type'      => 'color',                       
                            'title'     => esc_html__('Dropdown Menu Hover Bg Color','advokat'),
                            'subtitle'  => esc_html__('Pick Background Color', 'advokat'),
                            'default'   => '',
                            'validate'  => 'color',                        
                        ),

                        array(
                            'id'        => 'drop_border_color',
                            'type'      => 'color',                       
                            'title'     => esc_html__('Dropdown Menu Border Color','advokat'),
                            'subtitle'  => esc_html__('Pick Border Color', 'advokat'),
                            'default'   => '',
                            'validate'  => 'color',                        
                        ),       
                                
                        array(
                            'id'       => 'menu_text_trasform',
                            'type'     => 'switch',
                            'title'    => esc_html__( 'Menu Text Uppercase', 'advokat' ),
                            'on'       => esc_html__( 'Enabled', 'advokat' ),
                            'off'      => esc_html__( 'Disabled', 'advokat' ),
                            'default'  => false,
                        ),

                        array(
                            'id'       => 'menu_text_trasform2',
                            'type'     => 'switch',
                            'title'    => esc_html__( 'Dropdown Menu Text Uppercase', 'advokat' ),
                            'on'       => esc_html__( 'Enabled', 'advokat' ),
                            'off'      => esc_html__( 'Disabled', 'advokat' ),
                            'default'  => false,
                        ),
                         
                        array(
                            'id'        => 'menu_item_gap',
                            'type'      => 'text',                       
                            'title'     => esc_html__('Menu Item Left Right Gap','advokat'),   
                            'default'   => '15px',                             
                        ), 
                        array(
                            'id'        => 'menu_item_gap2',
                            'type'      => 'text',                       
                            'title'     => esc_html__('Menu Item Top Bottom Gap','advokat'),   
                            'default'   => '50px',                             
                    ),
                        
                )
            )
        );
    
    //Mobile Menu settings
    Redux::setSection( $opt_name, array(
        'title'  => esc_html__( 'Mobile Menu', 'advokat' ),
        'desc'   => esc_html__( 'Mobile Menu Style Here', 'advokat' ),        
        'subsection' =>true,  
        'fields' => array( 
                    array(
                        'id'        => 'mobile_menu_icon_color',
                        'type'      => 'color',                       
                        'title'     => esc_html__('Menu Burger Icon Color','advokat'),
                        'subtitle'  => esc_html__('Pick color', 'advokat'),           
                        'default'   => '#494949',                 
                        'validate'  => 'color',                        
                    ),

                    array(
                        'id'        => 'mobile_menu_container_bg',
                        'type'      => 'color',                       
                        'title'     => esc_html__('Menu Background Color','advokat'),
                        'subtitle'  => esc_html__('Pick color', 'advokat'),           
                        'default'   => '#fafafa',                 
                        'validate'  => 'color',               
                    ),                    
                    
                    array(
                        'id'        => 'mobile_menu_text_color',
                        'type'      => 'color',                       
                        'title'     => esc_html__('Main Menu Text Color','advokat'),
                        'subtitle'  => esc_html__('Pick color', 'advokat'),    
                        'default'   => '#101010',                        
                        'validate'  => 'color',                        
                    ),                    
                    
                    array(
                        'id'        => 'mobile_menu_text_hover_color',
                        'type'      => 'color',                       
                        'title'     => esc_html__('Main Menu Text Hover Color','advokat'),
                        'subtitle'  => esc_html__('Pick color', 'advokat'),           
                        'default'   => '#b69d74',                 
                        'validate'  => 'color',                        
                    ), 
                    array(
                        'id'        => 'mobile_menu_text_active_color',
                        'type'      => 'color',                       
                        'title'     => esc_html__('Main Menu Text Active Color','advokat'),
                        'subtitle'  => esc_html__('Pick color', 'advokat'),
                        'default'   => '#b69d74',
                        'validate'  => 'color',                        
                    ),                 
                 
                    array(
                        'id'        => 'mobile_drop_text_border_color',
                        'type'      => 'color',                       
                        'title'     => esc_html__('Dropdown Menu item Seperate Border Color','advokat'),
                        'subtitle'  => esc_html__('Pick a color', 'advokat'),             
                        'default'   => '#f0f0f0',               
                        'validate'  => 'color',                        
                    ),       
                    
            )
        )
    );

    //Sticky Menu settings
    Redux::setSection( $opt_name, array(
        'title'  => esc_html__( 'Sticky Menu', 'advokat' ),
        'desc'   => esc_html__( 'Sticky Menu Style Here', 'advokat' ),        
        'subsection' =>true,  
        'fields' => array(                       

                        array(
                            'id'        => 'stiky_menu_area_bg_color',
                            'type'      => 'color',                       
                            'title'     => esc_html__('Sticky Menu Area Background Color','advokat'),
                            'subtitle'  => esc_html__('Pick color', 'advokat'),    
                            'default'   => '#ffffff',                        
                            'validate'  => 'color',                        
                        ), 
                        
                        array(
                            'id'        => 'stikcy_menu_text_color',
                            'type'      => 'color',                       
                            'title'     => esc_html__('Menu Text Color','advokat'),
                            'subtitle'  => esc_html__('Pick color', 'advokat'),    
                            'default'   => '#494949',                        
                            'validate'  => 'color',                        
                        ), 
                       

                        array(
                            'id'        => 'sticky_menu_text_hover_color',
                            'type'      => 'color',                       
                            'title'     => esc_html__('Menu Text Hover Color','advokat'),
                            'subtitle'  => esc_html__('Pick color', 'advokat'),           
                            'default'   => '#b69d74',                 
                            'validate'  => 'color',                        
                        ), 

                        array(
                            'id'        => 'stikcy_menu_text_active_color',
                            'type'      => 'color',                       
                            'title'     => esc_html__('Main Menu Text Active Color','advokat'),
                            'subtitle'  => esc_html__('Pick color', 'advokat'),
                            'default'   => '#b69d74',
                            'validate'  => 'color',                        
                        ),
                                               
                        array(
                            'id'        => 'sticky_drop_down_bg_color',
                            'type'      => 'color',                       
                            'title'     => esc_html__('Dropdown Menu Background Color','advokat'),
                            'subtitle'  => esc_html__('Pick bg color', 'advokat'),
                            'default'   => '#ffffff',
                            'validate'  => 'color',                        
                        ),                             
                        
                        array(
                            'id'        => 'stikcy_drop_text_color',
                            'type'      => 'color',                     
                            'title'     => esc_html__('Dropdown Menu Text Color','advokat'),
                            'subtitle'  => esc_html__('Pick text color', 'advokat'),
                            'default'   => '#333333',
                            'validate'  => 'color',                        
                        ), 

                        array(
                            'id'        => 'drop_bg_hover_color1',
                            'type'      => 'color',                       
                            'title'     => esc_html__('Dropdown Menu Hover Bg Color','advokat'),
                            'subtitle'  => esc_html__('Pick Background Color', 'advokat'),
                            'default'   => '',
                            'validate'  => 'color',                        
                        ),

                        array(
                            'id'        => 'drop_border_color2',
                            'type'      => 'color',                       
                            'title'     => esc_html__('Dropdown Menu Border Color','advokat'),
                            'subtitle'  => esc_html__('Pick Border Color', 'advokat'),
                            'default'   => '',
                            'validate'  => 'color',                        
                        ), 
                        
                        array(
                            'id'        => 'sticky_drop_text_hover_color',
                            'type'      => 'color',                       
                            'title'     => esc_html__('Dropdown Menu Hover Text Color','advokat'),
                            'subtitle'  => esc_html__('Pick text color', 'advokat'),
                            'default'   => '#b69d74',
                            'validate'  => 'color',                        
                        ),               
                        
                )
            )
    ); 

    //Breadcrumb settings
    Redux::setSection( $opt_name, array(
        'title'  => esc_html__( 'Breadcrumb Style', 'advokat' ),      
        'subsection' =>true,  
        'fields' => array( 

                    array(
                        'id'        => 'breadcrumb_bg_color',
                        'type'      => 'color',                       
                        'title'     => esc_html__('Background Color','advokat'),
                        'subtitle'  => esc_html__('Pick color', 'advokat'),    
                        'default'   => '#1f2839',                        
                        'validate'  => 'color',                        
                    ), 
                    
                    array(
                        'id'        => 'breadcrumb_text_color',
                        'type'      => 'color',                       
                        'title'     => esc_html__('Text Color','advokat'),
                        'subtitle'  => esc_html__('Pick color', 'advokat'),    
                        'default'   => '#ffffff',                        
                        'validate'  => 'color',                        
                    ), 
                    
                  
                    array(
                        'id'        => 'breadcrumb_gap',
                        'type'      => 'text',                       
                        'title'     => esc_html__('Top Bottom Gap','advokat'),                          
                        'default'   => '115px',                        
                                            
                    ), 

                    array(
                        'id'        => 'breadcrumb_gap-1',
                        'type'      => 'text',                       
                        'title'     => esc_html__('Top Gap For Tranparent Header','advokat'),                          
                        'default'   => '260px',                        
                                            
                    ), 

                    array(
                        'id'        => 'breadcrumb_gap2',
                        'type'      => 'text',                       
                        'title'     => esc_html__('Bottom Gap For Tranparent Header','advokat'),                          
                        'default'   => '150px',                        
                                            
                    ), 

                        
                )
            )
        );

    //Button settings
    Redux::setSection( $opt_name, array(
        'title'  => esc_html__( 'Button Style', 'advokat' ),
        'desc'   => esc_html__( 'Button Style Here', 'advokat' ),        
        'subsection' =>true,  
        'fields' => array( 

                    array(
                        'id'        => 'btn_bg_color',
                        'type'      => 'color',                       
                        'title'     => esc_html__('Button Background Color','advokat'),
                        'subtitle'  => esc_html__('Pick color', 'advokat'),    
                        'default'   => '#b69d74',                        
                        'validate'  => 'color',                        
                    ), 
                    
                    array(
                        'id'        => 'btn_text_color',
                        'type'      => 'color',                       
                        'title'     => esc_html__('Button Text Color','advokat'),
                        'subtitle'  => esc_html__('Pick color', 'advokat'),    
                        'default'   => '#ffffff',                        
                        'validate'  => 'color',                        
                    ), 
                    
                    array(
                        'id'        => 'btn_txt_hover_color',
                        'type'      => 'color',                       
                        'title'     => esc_html__('Button Hover Text Color','advokat'),
                        'subtitle'  => esc_html__('Pick color', 'advokat'),    
                        'default'   => '#ffffff',                        
                        'validate'  => 'color',                        
                    ), 

                    array(
                        'id'        => 'btn_bg_hover_color',
                        'type'      => 'color',                       
                        'title'     => esc_html__('Button Hover Bg Color','advokat'),
                        'subtitle'  => esc_html__('Pick color', 'advokat'),    
                        'default'   => '#b69d74',                        
                        'validate'  => 'color',                        
                    ),     
                        
                )
            )
        );

    //Preloader settings
    Redux::setSection( $opt_name, array(
        'title'  => esc_html__( 'Preloader Style', 'advokat' ),
        'desc'   => esc_html__( 'Preloader Style Here', 'advokat' ),        
        'subsection' =>true,  
        'fields' => array( 
                        array(
                            'id'       => 'show_preloader',
                            'type'     => 'switch', 
                            'title'    => esc_html__('Show Preloader', 'advokat'),
                            'subtitle' => esc_html__('You can show or hide preloader', 'advokat'),
                            'default'  => false,
                        ), 

                        array(
                            'id'        => 'preloader_bg_color',
                            'type'      => 'color',                       
                            'title'     => esc_html__('Preloader Background Color','advokat'),
                            'subtitle'  => esc_html__('Pick color', 'advokat'),    
                            'default'   => '#b69d74',                        
                            'validate'  => 'color',                        
                        ), 
                        
                        array(
                            'id'        => 'preloader_text_color',
                            'type'      => 'color',                       
                            'title'     => esc_html__('Preloader Color','advokat'),
                            'subtitle'  => esc_html__('Pick color', 'advokat'),    
                            'default'   => '#ffffff',                        
                            'validate'  => 'color',                        
                        ), 

                        array(
                            'id'    => 'preloader_img', 
                            'url'   => true,     
                            'title' => esc_html__( 'Preloader Image', 'advokat' ),                 
                            'type'  => 'media',                                  
                        ),       
                    )
                )
            );    
    //End Preloader settings
    
    //-> START Typography
    Redux::setSection( $opt_name, array(
        'title'  => esc_html__( 'Typography', 'advokat' ),
        'id'     => 'typography',
        'desc'   => esc_html__( 'You can specify your body and heading font here','advokat'),
        'icon'   => 'el el-font',
        'fields' => array(
            array(
                'id'       => 'opt-typography-body',
                'type'     => 'typography',
                'title'    => esc_html__( 'Body Font', 'advokat' ),
                'subtitle' => esc_html__( 'Specify the body font properties.', 'advokat' ),
                'google'   => true, 
                'font-style' =>false,           
                'default'  => array(                    
                    'font-size'   => '15px',
                    'font-family' => 'Open Sans',
                    'font-weight' => '400',
                ),
            ),
             array(
                'id'       => 'opt-typography-menu',
                'type'     => 'typography',
                'title'    => esc_html__( 'Navigation Font', 'advokat' ),
                'subtitle' => esc_html__( 'Specify the menu font properties.', 'advokat' ),
                'google'   => true,
                'font-backup' => true,                
                'all_styles'  => true,              
                'default'  => array(
                    'color'       => '#101010',                    
                    'font-family' => 'Open Sans',
                    'google'      => true,
                    'font-size'   => '15px',                    
                    'font-weight' => 'Normal',                    
                ),
            ),
            array(
                'id'          => 'opt-typography-h1',
                'type'        => 'typography',
                'title'       => esc_html__( 'Heading H1', 'advokat' ),
                'font-backup' => true,                
                'all_styles'  => true,
                'units'       => 'px',
                'subtitle'    => esc_html__( 'Typography option with each property can be called individually.', 'advokat' ),
                'default'     => array(
                    'color'       => '#101010',
                    'font-style'  => '400',
                    'font-family' => 'Playfair Display',
                    'google'      => true,
                    'font-size'   => '45px',
                    'line-height' => '55px'
                    
                    ),
                ),
            array(
                'id'          => 'opt-typography-h2',
                'type'        => 'typography',
                'title'       => esc_html__( 'Heading H2', 'advokat' ),
                'font-backup' => true,                
                'all_styles'  => true,                 
                'units'       => 'px',
                // Defaults to px
                'subtitle'    => esc_html__( 'Typography option with each property can be called individually.', 'advokat' ),
                'default'     => array(
                    'color'       => '#101010',
                    'font-style'  => '400',
                    'font-family' => 'Playfair Display',
                    'google'      => true,
                    'font-size'   => '36px',
                    'line-height' => '46px'
                    
                ),
                ),
            array(
                'id'          => 'opt-typography-h3',
                'type'        => 'typography',
                'title'       => esc_html__( 'Heading H3', 'advokat' ),             
                'units'       => 'px',
                // Defaults to px
                'subtitle'    => esc_html__( 'Typography option with each property can be called individually.', 'advokat' ),
                'default'     => array(
                    'color'       => '#101010',
                    'font-style'  => '400',
                    'font-family' => 'Playfair Display',
                    'google'      => true,
                    'font-size'   => '30px',
                    'line-height' => '40px'
                    
                    ),
                ),
            array(
                'id'          => 'opt-typography-h4',
                'type'        => 'typography',
                'title'       => esc_html__( 'Heading H4', 'advokat' ),
                //'compiler'      => true,  // Use if you want to hook in your own CSS compiler
                //'google'      => false,
                // Disable google fonts. Won't work if you haven't defined your google api key
                'font-backup' => false,                
                'all_styles'  => true,               
                'units'       => 'px',
                // Defaults to px
                'subtitle'    => esc_html__( 'Typography option with each property can be called individually.', 'advokat' ),
                'default'     => array(
                    'color'       => '#101010',
                    'font-style'  => '400',
                    'font-family' => 'Playfair Display',
                    'google'      => true,
                    'font-size'   => '24px',
                    'line-height' => '34px'
                    ),
                ),
            array(
                'id'          => 'opt-typography-h5',
                'type'        => 'typography',
                'title'       => esc_html__( 'Heading H5', 'advokat' ),
                //'compiler'      => true,  // Use if you want to hook in your own CSS compiler
                //'google'      => false,
                // Disable google fonts. Won't work if you haven't defined your google api key
                'font-backup' => false,                
                'all_styles'  => true,                
                'units'       => 'px',
                // Defaults to px
                'subtitle'    => esc_html__( 'Typography option with each property can be called individually.', 'advokat' ),
                'default'     => array(
                    'color'       => '#101010',
                    'font-style'  => '400',
                    'font-family' => 'Playfair Display',
                    'google'      => true,
                    'font-size'   => '20px',
                    'line-height' => '28px'
                    ),
                ),
            array(
                'id'          => 'opt-typography-6',
                'type'        => 'typography',
                'title'       => esc_html__( 'Heading H6', 'advokat' ),
             
                'font-backup' => false,                
                'all_styles'  => true,                
                'units'       => 'px',
                // Defaults to px
                'subtitle'    => esc_html__( 'Typography option with each property can be called individually.', 'advokat' ),
                'default'     => array(
                    'color'       => '#101010',
                    'font-style'  => '400',
                    'font-family' => 'Playfair Display',
                    'google'      => true,
                    'font-size'   => '17px',
                    'line-height' => '20px'
                ),
                ),
                
                )
            )
                    
   
    );

    /*Blog Sections*/
    Redux::setSection( $opt_name, array(
        'title'            => esc_html__( 'Blog', 'advokat' ),
        'id'               => 'blog',
        'customizer_width' => '450px',
        'icon' => 'el el-comment',
        )
        );
        
    Redux::setSection( $opt_name, array(
        'title'            => esc_html__( 'Blog Settings', 'advokat' ),
        'id'               => 'blog-settings',
        'subsection'       => true,
        'customizer_width' => '450px',      
        'fields'           => array(
        
                                array(
                                    'id'               => 'blog_banner_main', 
                                    'url'              => true,     
                                    'title'            => esc_html__( 'Blog Page Banner', 'advokat' ),                 
                                    'type'             => 'media',                                  
                                ),  
                                
                                array(
                                    'id'               => 'blog_title',                               
                                    'title'            => esc_html__( 'Blog  Title', 'advokat' ),
                                    'subtitle'         => esc_html__( 'Enter Blog  Title Here', 'advokat' ),
                                    'type'             => 'text',                                   
                                ),
                                
                                array(
                                    'id'               => 'blog-layout',
                                    'type'             => 'image_select',
                                    'title'            => esc_html__('Select Blog Layout', 'advokat'), 
                                    'subtitle'         => esc_html__('Select your blog layout', 'advokat'),
                                    'options'          => array(
                                    'full'             => array(
                                    'alt'              => 'Blog Style 1', 
                                    'img'              => get_template_directory_uri().'/libs/img/1c.png'                                      
                                ),
                                    '2right'           => array(
                                    'alt'              => 'Blog Style 2', 
                                    'img'              => get_template_directory_uri().'/libs/img/2cr.png'
                                ),
                                '2left'            => array(
                                'alt'              => 'Blog Style 3', 
                                'img'              => get_template_directory_uri().'/libs/img/2cl.png'
                                ),                                  
                                ),
                                'default'          => '2right'
                                ),                      
                                
                                array(
                                    'id'               => 'blog-grid',
                                    'type'             => 'select',
                                    'title'            => esc_html__('Select Blog Gird', 'advokat'),                   
                                    'desc'             => esc_html__('Select your blog gird layout', 'advokat'),
                                //Must provide key => value pairs for select options
                                'options'          => array(
                                    '12'               => esc_html__('1 Column', 'advokat'),                                   
                                    '6'                => esc_html__('2 Column', 'advokat'),                                          
                                    '4'                => esc_html__('3 Column', 'advokat'),
                                    '3'                => esc_html__('4 Column', 'advokat')
                                    ),
                                    'default'          => '12',                                  
                                ),  
                                
                                array(
                                'id'               => 'blog-author-post',
                                'type'             => 'select',
                                'title'            => esc_html__('Show Author Info ', 'advokat'),                   
                                'desc'             => esc_html__('Select author info show or hide', 'advokat'),
                                //Must provide key => value pairs for select options
                                'options'          => array(                                            
                                    'show'             => esc_html__('Show', 'advokat'),
                                    'hide'             => esc_html__('Hide', 'advokat'),
                                ),
                                'default'          => 'show',
                                
                                ), 

                                

                                array(
                                'id'               => 'blog-category',
                                'type'             => 'select',
                                'title'            => esc_html__('Show Category', 'advokat'),                   
                               
                                //Must provide key => value pairs for select options
                                'options'          => array(                                            
                                    'show'             => esc_html__('Show', 'advokat'),
                                    'hide'             => esc_html__('Hide', 'advokat'),
                                ),
                                'default'          => 'show',
                                
                                ), 
                                
                                array(
                                    'id'               => 'blog-date',
                                    'type'             => 'switch',
                                    'title'            => esc_html__('Show Date', 'advokat'),                   
                                    'desc'             => esc_html__('You can show/hide date at blog page', 'advokat'),
                                    
                                    'default'          => true,
                                ), 
                                array(
                                    'id'               => 'blog_readmore',                               
                                    'title'            => esc_html__( 'Blog  ReadMore Text', 'advokat' ),
                                    'subtitle'         => esc_html__( 'Enter Blog  ReadMore Here', 'advokat' ),
                                    'type'             => 'text',                                   
                                ),
                                
                            )
                        ) 
                                
                    );
    
    
    /*Single Post Sections*/
    Redux::setSection( $opt_name, array(
        'title'            => esc_html__( 'Single Post', 'advokat' ),
        'id'               => 'spost',
        'subsection'       => true,
        'customizer_width' => '450px',      
        'fields'           => array(                            
        
                            array(
                                    'id'       => 'blog_banner', 
                                    'url'      => true,     
                                    'title'    => esc_html__( 'Blog Single page banner', 'advokat' ),                  
                                    'type'     => 'media',
                                    
                            ),  
                        )
                ) 
    
    
    );

        /*Portfolio Sections*/
    Redux::setSection( $opt_name, array(
        'title'            => esc_html__( 'Case Result Section', 'advokat' ),
        'id'               => 'caseresult',
        'customizer_width' => '450px',
        'icon' => 'el el-camera',
        'fields'           => array(
        
            array(
                    'id'       => 'portfolio_single_image', 
                    'url'      => true,     
                    'title'    => esc_html__( 'Caseresult Single page banner image', 'advokat' ),                   
                    'type'     => 'media',
                    
            ),  
            
            array(
                    'id'       => 'portfolio_slug',                               
                    'title'    => esc_html__( 'Caseresult Slug', 'advokat' ),
                    'subtitle' => esc_html__( 'Enter Case Slug Here', 'advokat' ),
                    'type'     => 'text',
                    'default'  => esc_html__('caseresult', 'advokat')
                ),      
             )
         ) 
    );
    

   /*Team Sections*/
    Redux::setSection( $opt_name, array(
        'title'            => esc_html__( 'Attorney Section', 'advokat' ),
        'id'               => 'team',
        'customizer_width' => '450px',
        'icon' => 'el el-user',
        'fields'           => array(

             array(
                    'id'       => 'team_title',                               
                    'title'    => esc_html__( 'Single Attorney Page Title', 'advokat' ),
                    'subtitle' => esc_html__( 'Enter Title here', 'advokat' ),
                    'type'     => 'text',
                    'default'  => esc_html__('Attorney Single', 'advokat')                    
                ),
                    
        
            array(
                    'id'       => 'team_single_image', 
                    'url'      => true,     
                    'title'    => esc_html__( 'Attorney Single page banner image', 'advokat' ),                    
                    'type'     => 'media',
                    
            ),  
            
            array(
                    'id'       => 'team_slug',                               
                    'title'    => esc_html__( 'Attorney Slug', 'advokat' ),
                    'subtitle' => esc_html__( 'Enter Attorney Slug Here', 'advokat' ),
                    'type'     => 'text',
                    'default'  => esc_html__('attorney', 'advokat')
                    
                ), 

              
                
             )
         ) 
    );
    
    Redux::setSection( $opt_name, array(
        'title'  => esc_html__( 'Social Icons', 'advokat' ),
        'desc'   => esc_html__( 'Add your social icon here', 'advokat' ),
        'icon'   => 'el el-share',
         'submenu' => true, // Setting submenu to false on a given section will hide it from the WordPress sidebar menu!
        'fields' => array(
                    array(
                        'id'       => 'facebook',                               
                        'title'    => esc_html__( 'Facebook Link', 'advokat' ),
                        'subtitle' => esc_html__( 'Enter Facebook Link', 'advokat' ),
                        'type'     => 'text',                     
                    ),
                        
                     array(
                        'id'       => 'twitter',                               
                        'title'    => esc_html__( 'Twitter Link', 'advokat' ),
                        'subtitle' => esc_html__( 'Enter Twitter Link', 'advokat' ),
                        'type'     => 'text'
                    ),
                    
                        array(
                        'id'       => 'rss',                               
                        'title'    => esc_html__( 'Rss Link', 'advokat' ),
                        'subtitle' => esc_html__( 'Enter Rss Link', 'advokat' ),
                        'type'     => 'text'
                    ),
                    
                     array(
                        'id'       => 'pinterest',                               
                        'title'    => esc_html__( 'Pinterest Link', 'advokat' ),
                        'subtitle' => esc_html__( 'Enter Pinterest Link', 'advokat' ),
                        'type'     => 'text'
                    ),
                     array(
                        'id'       => 'linkedin',                               
                        'title'    => esc_html__( 'Linkedin Link', 'advokat' ),
                        'subtitle' => esc_html__( 'Enter Linkedin Link', 'advokat' ),
                        'type'     => 'text',
                        
                    ),
                     array(
                        'id'       => 'google',                               
                        'title'    => esc_html__( 'Google Plus Link', 'advokat' ),
                        'subtitle' => esc_html__( 'Enter Google Plus  Link', 'advokat' ),
                        'type'     => 'text',                       
                    ),

                    array(
                        'id'       => 'instagram',                               
                        'title'    => esc_html__( 'Instagram Link', 'advokat' ),
                        'subtitle' => esc_html__( 'Enter Instagram Link', 'advokat' ),
                        'type'     => 'text',                       
                    ),

                    array(
                        'id'       => 'youtube',                               
                        'title'    => esc_html__( 'Youtube Link', 'advokat' ),
                        'subtitle' => esc_html__( 'Enter Youtube Link', 'advokat' ),
                        'type'     => 'text',                       
                    ),

                    array(
                        'id'       => 'whatsapp',                               
                        'title'    => esc_html__( 'Whatsapp Link', 'advokat' ),
                        'subtitle' => esc_html__( 'Enter Whatsapp Link', 'advokat' ),
                        'type'     => 'text',                       
                    ),

                    array(
                        'id'       => 'tiktok',                               
                        'title'    => esc_html__( 'Tiktok Link', 'advokat' ),
                        'subtitle' => esc_html__( 'Enter Tiktok Link', 'advokat' ),
                        'type'     => 'text',                       
                    ),

                    array(
                        'id'       => 'snapchat',                               
                        'title'    => esc_html__( 'Snapchat Link', 'advokat' ),
                        'subtitle' => esc_html__( 'Enter Snapchat Link', 'advokat' ),
                        'type'     => 'text',                       
                    ),

                    array(
                        'id'       => 'tumblr',                               
                        'title'    => esc_html__( 'Tumblr Link', 'advokat' ),
                        'subtitle' => esc_html__( 'Enter Tumblr Link', 'advokat' ),
                        'type'     => 'text',                       
                    ),

                    array(
                        'id'       => 'vimeo',                               
                        'title'    => esc_html__( 'Vimeo Link', 'advokat' ),
                        'subtitle' => esc_html__( 'Enter Vimeo Link', 'advokat' ),
                        'type'     => 'text',                       
                    ),         
            ) 
        ) 
    );
    
    
   
    Redux::setSection( $opt_name, array(
    'title'  => esc_html__( 'Footer Option', 'advokat' ),
    'desc'   => esc_html__( 'Footer style here', 'advokat' ),
    'icon'   => 'el el-th-large',
    // 'submenu' => false, // Setting submenu to false on a given section will hide it from the WordPress sidebar menu!
    'fields' => array(


                array(
                        'id'       => 'footer_bg_image', 
                        'url'      => true,     
                        'title'    => esc_html__( 'Footer Background Image', 'advokat' ),                 
                        'type'     => 'media',                                  
                ),

                array(
                        'id'        => 'footer_bg_color',
                        'type'      => 'color',
                        'title'     => esc_html__('Footer Bg Color','advokat'),
                        'subtitle'  => esc_html__('Pick color.', 'advokat'),
                        'default'   => '#1f2839',
                        'validate'  => 'color',                        
                    ),  

                 array(
                    'id'               => 'header_grid2',
                    'type'             => 'select',
                    'title'            => esc_html__('Footer Area Width', 'advokat'),                  
               
                    //Must provide key => value pairs for select options
                    'options'          => array(                                     
                    
                        'container'       => esc_html__('Container', 'advokat'),
                        'full'          => esc_html__('Container Fluid', 'advokat'),
                    ),

                    'default'          => 'container',            
                ),

                array(
                    'id'       => 'show_footer_icon',
                    'type'     => 'switch', 
                    'title'    => esc_html__('Show Footer Social Icon', 'advokat'),
                    'subtitle' => esc_html__('You can show or hide here', 'advokat'),
                    'default'  => false,
                ),  

                array(
                        'id'       => 'footer_logo',
                        'type'     => 'media',
                        'title'    => esc_html__( 'Footer Logo', 'advokat' ),
                        'subtitle' => esc_html__( 'Upload your footer logo', 'advokat' ),                  
                    ), 

                array(
                        'id'       => 'footer_dark_logo',
                        'type'     => 'media',
                        'title'    => esc_html__( 'Footer Dark Logo', 'advokat' ),
                        'subtitle' => esc_html__( 'Upload your footer dark logo', 'advokat' ),                  
                    ),   

                array(
                        'id'        => 'footer_text_size',
                        'type'      => 'text',                       
                        'title'     => esc_html__('Footer Font Size','advokat'),
                        'subtitle'  => esc_html__('Font Size', 'advokat'),    
                        'default'   => '15px',                                            
                    ),  

                array(
                        'id'        => 'footer_h3_size',
                        'type'      => 'text',                       
                        'title'     => esc_html__('Footer Title Font Size','advokat'),
                        'subtitle'  => esc_html__('Font Size', 'advokat'),    
                        'default'   => '20px',                                            
                    ),  

                array(
                        'id'        => 'footer_link_size',
                        'type'      => 'text',                       
                        'title'     => esc_html__('Footer Link Font Size','advokat'),
                        'subtitle'  => esc_html__('Font Size', 'advokat'),    
                        'default'   => '15px',                                            
                    ),  

                array(
                        'id'        => 'footer_text_color',
                        'type'      => 'color',
                        'title'     => esc_html__('Footer Text Color','advokat'),
                        'subtitle'  => esc_html__('Pick color.', 'advokat'),
                        'default'   => '#ffffff',
                        'validate'  => 'color',                        
                    ),  

                array(
                        'id'        => 'footer_link_color',
                        'type'      => 'color',
                        'title'     => esc_html__('Footer Link Hover Color','advokat'),
                        'subtitle'  => esc_html__('Pick color.', 'advokat'),
                        'default'   => '#ffffff',
                        'validate'  => 'color',                        
                    ),   

                array(
                        'id'        => 'footer_input_bg_color',
                        'type'      => 'color',
                        'title'     => esc_html__('Footer Button Background Color','advokat'),
                        'subtitle'  => esc_html__('Pick color.', 'advokat'),
                        'default'   => '#b69d74',
                        'validate'  => 'color',                        
                    ), 

                array(
                        'id'        => 'footer_input_hover_color',
                        'type'      => 'color',
                        'title'     => esc_html__('Footer Button Hover Background Color','advokat'),
                        'subtitle'  => esc_html__('Pick color.', 'advokat'),
                        'default'   => '#b69d74',
                        'validate'  => 'color',                        
                    ),

                array(
                        'id'        => 'footer_input_border_color',
                        'type'      => 'color',
                        'title'     => esc_html__('Footer input Border Color','advokat'),
                        'subtitle'  => esc_html__('Pick color.', 'advokat'),
                        'default'   => '#ffffff',
                        'validate'  => 'color',                        
                    ),  

                array(
                    'id'        => 'footer_input_text_color',
                    'type'      => 'color',
                    'title'     => esc_html__('Footer Button Text Color','advokat'),
                    'subtitle'  => esc_html__('Pick color.', 'advokat'),
                    'default'   => '#ffffff',
                    'validate'  => 'color',                        
                ),                  
                       
                
                array(
                    'id'       => 'copyright',
                    'type'     => 'textarea',
                    'title'    => esc_html__( 'Footer CopyRight', 'advokat' ),
                    'subtitle' => esc_html__( 'Change your footer copyright text ?', 'advokat' ),
                    'default'  => esc_html__('&copy; 2022 All Rights Reserved', 'advokat'),
                ),  

                array(
                    'id'       => 'copyright_bg',
                    'type'     => 'color',
                    'title'    => esc_html__( 'Copyright Background', 'advokat' ),
                    'subtitle' => esc_html__( 'Copyright Background Color', 'advokat' ),      
                    'default'  => '#192336',            
                ),
                array(
                    'id'       => 'copyright_text_color',
                    'type'     => 'color',
                    'title'    => esc_html__( 'Copyright Text Color', 'advokat' ),
                    'subtitle' => esc_html__( 'Copyright Text Color', 'advokat' ),      
                    'default'  => '#d1d1d1',            
                ), 
            ) 
        ) 
    ); 


 Redux::setSection( $opt_name, array(
    'title'  => esc_html__( 'Woocommerce', 'advokat' ),    
    'icon'   => 'el el-shopping-cart',    
        ) 
    ); 

    Redux::setSection( $opt_name, array(
    'title'            => esc_html__( 'Shop', 'advokat' ),
    'id'               => 'shop_layout',
    'customizer_width' => '450px',
    'subsection' =>'true',      
    'fields'           => array(                      
            array(
                'id'       => 'shop_banner', 
                'url'      => true,     
                'title'    => esc_html__( 'Shop page banner', 'advokat' ),                    
                'type'     => 'media',
            ), 
            array(
                    'id'       => 'shop-layout',
                    'type'     => 'image_select',
                    'title'    => esc_html__('Select Shop Layout', 'advokat'), 
                    'subtitle' => esc_html__('Select your shop layout', 'advokat'),
                    'options'  => array(
                        'full'      => array(
                            'alt'   => 'Shop Style 1', 
                            'img'   => get_template_directory_uri().'/libs/img/1c.png'                                      
                        ),
                        'right-col'      => array(
                            'alt'   => 'Shop Style 2', 
                            'img'   => get_template_directory_uri().'/libs/img/2cr.png'
                        ),
                        'left-col'      => array(
                            'alt'   => 'Shop Style 3', 
                            'img'  => get_template_directory_uri().'/libs/img/2cl.png'
                        ),                                  
                    ),
                    'default' => 'full'
                ),

                array(
                    'id'       => 'wc_num_product',
                    'type'     => 'text',
                    'title'    => esc_html__( 'Number of Products Per Page', 'advokat' ),
                    'default'  => '9',
                ),

                array(
                    'id'       => 'wc_num_product_per_row',
                    'type'     => 'text',
                    'title'    => esc_html__( 'Number of Products Per Row', 'advokat' ),
                    'default'  => '3',
                ),

                array(
                    'id'       => 'wc_cart_icon',
                    'type'     => 'switch',
                    'title'    => esc_html__( 'Cart Icon Show At Menu Area', 'advokat' ),
                    'on'       => esc_html__( 'Enabled', 'advokat' ),
                    'off'      => esc_html__( 'Disabled', 'advokat' ),
                    'default'  => true,
                ), 

                 array(
                'id'       => 'disable-sidebar',
                'type'     => 'switch', 
                'title'    => esc_html__('Sidebar Disable For Single Product Page', 'advokat'),                
                'default'  => true,
            ), 
               
            )
        ) 
    );
    
    Redux::setSection( $opt_name, array(
    'title'  => esc_html__( '404 Error Page', 'advokat' ),
    'desc'   => esc_html__( '404 details  here', 'advokat' ),
    'icon'   => 'el el-error-alt',
    // 'submenu' => false, // Setting submenu to false on a given section will hide it from the WordPress sidebar menu!
    'fields' => array(

                array(
                        'id'       => 'title_404',
                        'type'     => 'text',
                        'title'    => esc_html__( 'Title', 'advokat' ),
                        'subtitle' => esc_html__( 'Enter title for 404 page', 'advokat' ), 
                        'default'  => esc_html__('404', 'advokat'),                
                    ),  
                
                array(
                        'id'       => 'text_404',
                        'type'     => 'text',
                        'title'    => esc_html__( 'Text', 'advokat' ),
                        'subtitle' => esc_html__( 'Enter text for 404 page', 'advokat' ),  
                        'default'  => esc_html__('Page Not Found', 'advokat'),             
                    ),                      
                       
                
                array(
                        'id'       => 'back_home',
                        'type'     => 'text',
                        'title'    => esc_html__( 'Back to Home Button Label', 'advokat' ),
                        'subtitle' => esc_html__( 'Enter label for "Back to Home" button', 'advokat' ),
                        'default'  => esc_html__('Back to Homepage', 'advokat'),   
                                    
                    ),                
            
                                  
            ) 
        ) 
    ); 
    


    /*
     * <--- END SECTIONS
     */


    /*
     *
     * YOU MUST PREFIX THE FUNCTIONS BELOW AND ACTION FUNCTION CALLS OR ANY OTHER CONFIG MAY OVERRIDE YOUR CODE.
     *
     */

    /*
    *
    * --> Action hook examples
    *
    */

    // If Redux is running as a plugin, this will remove the demo notice and links
    //add_action( 'redux/loaded', 'remove_demo' );
    
    //add_filter('redux/options/' . $this->args['opt_name'] . '/compiler', array( $this, 'compiler_action' ), 10, 3);

    if ( ! function_exists( 'compiler_action' ) ) {
        function compiler_action( $options, $css, $changed_values ) {
            echo '<h1>The compiler hook has run!</h1>';
            echo "<pre>";
            print_r( $changed_values ); // Values that have changed since the last save
            echo "</pre>";
            //print_r($options); //Option values
            //print_r($css); // Compiler selector CSS values  compiler => array( CSS SELECTORS )
        }
    }

    /**
     * Custom function for the callback validation referenced above
     * */
    if ( ! function_exists( 'redux_validate_callback_function' ) ) {
        function redux_validate_callback_function( $field, $value, $existing_value ) {
            $error   = false;
            $warning = false;

            //do your validation
            if ( $value == 1 ) {
                $error = true;
                $value = $existing_value;
            } elseif ( $value == 2 ) {
                $warning = true;
                $value   = $existing_value;
            }

            $return['value'] = $value;

            if ( $error == true ) {
                $field['msg']    = 'your custom error message';
                $return['error'] = $field;
            }

            if ( $warning == true ) {
                $field['msg']      = 'your custom warning message';
                $return['warning'] = $field;
            }

            return $return;
        }
    }

    /**
     * Custom function for the callback referenced above
     */
    if ( ! function_exists( 'redux_my_custom_field' ) ) {
        function redux_my_custom_field( $field, $value ) {
            print_r( $field );
            echo '<br/>';
            print_r( $value );
        }
    }

    /**
     * Custom function for filtering the sections array. Good for child themes to override or add to the sections.
     * Simply include this function in the child themes functions.php file.
     * NOTE: the defined constants for URLs, and directories will NOT be available at this point in a child theme,
     * so you must use get_template_directory_uri()() if you want to use any of the built in icons
     * */
    if ( ! function_exists( 'dynamic_section' ) ) {
        function dynamic_section( $sections ) {
            //$sections = array();
            $sections[] = array(
                'title'  => esc_html__( 'Section via hook', 'advokat' ),
                'desc'   => esc_html__( '<p class="description">This is a section created by adding a filter to the sections array. Can be used by child themes to add/remove sections from the options.</p>', 'advokat' ),
                'icon'   => 'el el-paper-clip',
                // Leave this as a blank section, no options just some intro text set above.
                'fields' => array()
            );

            return $sections;
        }
    }

    /**
     * Filter hook for filtering the args. Good for child themes to override or add to the args array. Can also be used in other functions.
     * */
    if ( ! function_exists( 'change_arguments' ) ) {
        function change_arguments( $args ) {
            //$args['dev_mode'] = true;

            return $args;
        }
    }

    /**
     * Filter hook for filtering the default value of any given field. Very useful in development mode.
     * */
    if ( ! function_exists( 'change_defaults' ) ) {
        function change_defaults( $defaults ) {
            $defaults['str_replace'] = 'Testing filter hook!';

            return $defaults;
        }
    }

    /**
     * Removes the demo link and the notice of integrated demo from the redux-framework plugin
     */
    if ( ! function_exists( 'remove_demo' ) ) {
        function remove_demo() {
            // Used to hide the demo mode link from the plugin page. Only used when Redux is a plugin.
            if ( class_exists( 'ReduxFrameworkPlugin' ) ) {
                remove_action( 'plugin_row_meta', array(
                    ReduxFrameworkPlugin::instance(),
                    'plugin_metalinks'
                ), null, 2 );

                // Used to hide the activation notice informing users of the demo panel. Only used when Redux is a plugin.
                remove_action( 'admin_notices', array( ReduxFrameworkPlugin::instance(), 'admin_notices' ) );
            }
        }
    }