Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/walla3t.corals.io/wp-content/plugins/apper-core/includes/framework/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/walla3t.corals.io/wp-content/plugins/apper-core/includes/framework/framework.php
<?php
/**
 * Theme settings config file
 *
 */
if (!class_exists('Redux')) {
    return;
}

$theme_name = ACMTHEMES_THEME_NAME;
$theme_slug = ACMTHEMES_THEME_SLUG;

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

$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' => 'submenu',
    //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' => ACMTHEMES_THEME_NAME . ' ' . __('Options', 'apper'),
    'page_title' => ACMTHEMES_THEME_NAME . ' ' . __('Options', 'apper'),
    // 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' => true,
    // 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' => true,
    // 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,
    // Show the time the page took to load, etc
    'update_notice' => false,
    // If dev_mode is enabled, will notify developer of updated versions available in the GitHub Repo
    'customizer' => 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' => $opt_name,
    // Page slug used to denote the panel
    '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,
    // Allows dynamic CSS to be generated for customizer and google fonts, but stops the dynamic CSS from going to the head
    'footer_credit' => false,                   // 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.
    //'compiler'             => true,
    // HINTS
    'hints' => array(
        'icon' => 'el el-question-sign',
        'icon_position' => 'right',
        'icon_color' => 'lightgray',
        'icon_size' => 'normal',
        'tip_style' => array(
            'color' => 'light',
            'shadow' => true,
            'rounded' => false,
            'style' => '',
        ),
        'tip_position' => array(
            'my' => 'top left',
            'at' => 'bottom right',
        ),
        'tip_effect' => array(
            'show' => array(
                'effect' => 'slide',
                'duration' => '500',
                'event' => 'mouseover',
            ),
            'hide' => array(
                'effect' => 'slide',
                'duration' => '500',
                'event' => 'click mouseleave',
            ),
        ),
    )
);
// ADMIN BAR LINKS -> Setup custom links in the admin bar menu as external items.
$args['admin_bar_links'][] = array(
    'id' => 'apper-docs',
    'href' => 'https://acmeedesign.support/helpproduct/apper-wordpress-theme/',
    'title' => __('Documentation', 'apper'),
);
$args['admin_bar_links'][] = array(
    //'id'    => 'redux-support',
    'href' => 'https://envato.acmeedesign.support',
    'title' => __('Support', 'apper'),
);
// 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'] = '';
}
// Add content after the form.
//$args['footer_text'] = __( '<p>This text is displayed below the options panel. It isn\'t required, but more info is always better! The footer_text field accepts all HTML.</p>', 'apper' );
Redux::set_args($opt_name, $args);
/*
 * ---> END ARGUMENTS
 */
/*
 * ---> START HELP TABS
 */
$tab = array(
    array(
        'id' => 'apper-theme-help',
        'title' => __('Documentation', 'apper'),
        'content' => __('<p><a href="https://acmeedesign.support/helpproduct/apper-wordpress-theme/">
            Check documentation and FAQ for apper theme.</a></p>', 'apper')
    ),
);

Redux::set_help_tab($opt_name, $tab);

/*
 * <--- END HELP TABS
 */
/*
 *
 * ---> START SECTIONS
 */
Redux::set_section($opt_name, array(
    'title' => __('General Settings', 'apper'),
    'id' => 'general',
    'icon' => 'el el-home'
));

Redux::set_section($opt_name, array(
    'title' => __('Layout', 'apper'),
    'id' => 'general_styles',
    'subsection' => true,
    'fields' => array(
        array(
            'id' => 'layout_style',
            'type' => 'radio',
            'title' => __('Layout style', 'apper'),
            'options' => array(
                'full' => esc_html__('Full width', 'apper'),
                'boxed' => esc_html__('Boxed', 'apper'),
            ),
            'default' => 'full',
        ),
        array(
            'id' => 'body_bg_color',
            'type' => 'color',
            'default' => '#f6f4fe',
            'title' => esc_html__('Body background color', 'apper'),
            'validate' => 'color',
            'transparent' => false,
        ),
        array(
            'id' => 'enable_boxed_shadow',
            'type' => 'checkbox',
            'title' => esc_html__('Enable box shadow', 'apper'),
            'default' => '1',
            'required' => array('layout_style', 'equals', 'boxed'),
        ),
        array(
            'id' => 'body_font_style',
            'type' => 'typography',
            'title' => esc_html__('Body Typography', 'apper'),
            'google' => true,
            'all_styles' => true,
            'font-backup' => true,
            'color' => false,
            'font-style' => false,
            'text-align' => false,
            'desc' => esc_html__('Common typography settings for all pages.', 'apper'),
            'default' => array(
                'color' => '#3e3f66',
                'font-weight' => '300',
                'font-family' => 'Jost',
                'google' => true,
                'font-size' => '16px',
                'line-height' => '25'
            ),
        ),
        array(
            'id' => 'paragraph_line_height',
            'type' => 'slider',
            'title' => esc_html__('Paragraph text line height', 'apper'),
            'desc' => esc_html__('Paragraph line height in pixels.', 'apper'),
            'default' => '29',
            "min" => 16,
            "step" => 1,
            "max" => 40,
        ),
        array(
            'id' => 'body_font_color',
            'type' => 'color',
            'default' => '#3e3f66',
            'title' => esc_html__('Body font color', 'apper'),
            'subtitle' => esc_html__('General font color. ', 'apper'),
            'validate' => 'color',
            'transparent' => false,
        ),
        array(
            'id' => 'heading_colors',
            'type' => 'color',
            'default' => '#3e3f66',
            'title' => esc_html__('Headings colors ', 'apper'),
            'subtitle' => esc_html__('Colors for H1 H2 H3 H4 H5 H6 ', 'apper'),
            'validate' => 'color',
            'transparent' => false,
        ),
        array(
            'id' => 'anchor_color',
            'type' => 'color',
            'default' => '#3e3f66',
            'title' => esc_html__('Anchor tag color ', 'apper'),
            'subtitle' => esc_html__('Set color for link tags.', 'apper'),
            'validate' => 'color',
            'transparent' => false,
        ),
        array(
            'id' => 'site_favicon',
            'type' => 'media',
            'preview' => true,
            'title' => esc_html__('Upload Favicon', 'apper'),
            'subtitle' => esc_html__('Recommanded size 80 X 80px in png format. ', 'apper'),
        ),
        array(
            'id' => 'disable_preloader',
            'type' => 'checkbox',
            'title' => esc_html__('Disable Pre-loader animation', 'apper'),
            'default' => '0',
        ),
        array(
            'id' => 'disable_scroll_top',
            'type' => 'checkbox',
            'title' => esc_html__('Hide scroll to top button', 'apper'),
            'default' => '1',
        ),
        array(
            'id' => 'scroll_top_position',
            'type' => 'radio',
            'title' => __('Scroll top position if enabled', 'apper'),
            'options' => array(
                'right' => esc_html__('Right', 'apper'),
                'left' => esc_html__('Left', 'apper'),
            ),
            'default' => 'right',
            'required' => array('disable_scroll_top', 'not', '1'),
        ),
    )
));

Redux::set_section($opt_name, array(
    'title' => __('Page Header Settings', 'apper'),
    'id' => 'page_styles',
    'icon' => 'el el-website',
));

Redux::set_section($opt_name, array(
    'title' => __('Default menu version', 'apper'),
    'id' => 'default_page_menu_version',
    'subsection' => true,
    'fields' => array(
        array(
            'id' => 'default_menu_version',
            'type' => 'select',
            'title' => __('Set default menu version for pages', 'apper'),
            'options' => array(
                'menu-light' => esc_html__('Light version', 'apper'),
                'menu-dark' => esc_html__('Dark version', 'apper'),
            ),
            'default' => 'menu-light',
        ),
        array(
            'id' => 'default_blog_menu_version',
            'type' => 'select',
            'title' => __('Set default menu version for blog', 'apper'),
            'options' => array(
                'menu-light' => esc_html__('Light version', 'apper'),
                'menu-dark' => esc_html__('Dark version', 'apper'),
            ),
            'default' => 'menu-light',
        ),
    )
));

Redux::set_section($opt_name, array(
    'title' => __('Page layout', 'apper'),
    'id' => 'page_layout_options',
    'subsection' => true,
    'fields' => array(
        array(
            'id' => 'page_layout',
            'type' => 'image_select',
            'title' => __('Select Pages Layout', 'apper'),
            'subtitle' => __('Select sidebar location.', 'apper'),
            'options' => array(
                'left' => array(
                    'alt' => 'Left Sidebar',
                    'img' => ACMBASE_IMG_DIR_URI . 'layout-left-bar.png'
                ),
                'right' => array(
                    'alt' => 'Right Sidebar',
                    'img' => ACMBASE_IMG_DIR_URI . 'layout-right-bar.png'
                ),
                'fullwidth' => array(
                    'alt' => 'Full Width',
                    'img' => ACMBASE_IMG_DIR_URI . 'layout-full-width.png'
                ),
            ),
            'default' => 'right'
        ),
    )
));

Redux::set_section($opt_name, array(
    'title' => __('Page header styles', 'apper'),
    'id' => 'page_options',
    'subsection' => true,
    'fields' => array(
        array(
            'id' => 'enable_page_header_filled',
            'type'     => 'switch',
            'default' => 'false',
            'title' => esc_html__( 'Enable main header background color', 'apper' ),
            'subtitle' => esc_html__('Enable background to main header for all pages. ', 'apper'),
        ),
        array(
            'id' => 'page_header_fill_color',
            'type' => 'color',
            'default' => '#ffffff',
            'title' => esc_html__('Main header background color', 'apper'),
            'subtitle' => esc_html__('Select the "Dark Menu" as the default menu version when opting for a light header background color.', 'apper'),
            'validate' => 'color',
            'transparent' => false,
            'required' => array('enable_page_header_filled', 'equals', '1'),
        ),
        array(
            'id' => 'enable_page_header',
            'type' => 'select',
            'options' => array(
                'enable' => esc_html__('Enable', 'apper'),
                'disable' => esc_html__('Disable', 'apper'),
            ),
            'default' => 'enable',
            'title' => esc_html__('Show Page header', 'apper'),
            'subtitle' => esc_html__('Enable to show page header for all pages. ', 'apper'),
        ),        
        array(
            'id' => 'enable_page_header_particle_anim',
            'type'     => 'switch',
            'default' => 'true',
            'title' => esc_html__( 'Enable header particle animation', 'apper' ),
            'subtitle' => esc_html__('Enable or disable header particle animation. ', 'apper'),
        ),
        array(
            'id' => 'default_header_bg_img',
            'type' => 'select',
            'title' => __('Set default header banner for pages', 'apper'),
            'options' => array(
                'hero_wave_light' => esc_html__('Hero wave light', 'apper'),
                'hero_wave_dark' => esc_html__('Hero wave dark', 'apper'),
                'hero_wave_small' => esc_html__('Hero wave small', 'apper'),
                'cross_shade' => esc_html__('Cross shade', 'apper'),
                'simple_plain_header' => esc_html__('Simple plain background', 'apper'),
                'custom' => esc_html__('Custom', 'apper'),
            ),
            'default' => 'hero_wave_light',
        ),
        array(
            'id' => 'page_header_padding',
            'type' => 'slider',
            'title' => __('Page header padding', 'apper'),
            'subtitle' => __('Set page header top and bottom padding.', 'apper'),
            "default" => 30,
            "min" => 0,
            "step" => 1,
            "max" => 200,
            'display_value' => 'label',
            'required' => array('default_header_bg_img', 'equals', 'simple_plain_header'),
        ),
        array(
            'id' => 'enable_page_header_shape_overlay',
            'type'     => 'switch',
            'default' => 'true',
            'title' => esc_html__( 'Enable shape overlay background', 'apper' ),
            'subtitle' => esc_html__('Enable or disable shape overlay background. ', 'apper'),
            'required' => array('default_header_bg_img', 'equals', 'simple_plain_header'),
        ),
        array(
            'id' => 'wave_light_path1_color',
            'type' => 'color',
            'default' => '#ffffff',
            'title' => esc_html__('Wave path 1 background color', 'apper'),
            'validate' => 'color',
            'transparent' => true,
            'required' => array('default_header_bg_img', 'equals', 'hero_wave_light'),
        ),
        array(
            'id' => 'wave_light_path2_color',
            'type' => 'color',
            'default' => '#ffffff',
            'title' => esc_html__('Wave path 2 background color', 'apper'),
            'validate' => 'color',
            'transparent' => true,
            'required' => array('default_header_bg_img', 'equals', 'hero_wave_light'),
        ),
        array(
            'id' => 'wave_light_path3_color',
            'type' => 'color',
            'default' => '#fffcfc',
            'title' => esc_html__('Wave path 3 background color', 'apper'),
            'validate' => 'color',
            'transparent' => true,
            'required' => array('default_header_bg_img', 'equals', 'hero_wave_light'),
        ),
        array(
            'id' => 'wave_dark_path1_color',
            'type' => 'color',
            'default' => '#ffffff',
            'title' => esc_html__('Wave path 1 background color', 'apper'),
            'validate' => 'color',
            'transparent' => true,
            'required' => array('default_header_bg_img', 'equals', 'hero_wave_dark'),
        ),
        array(
            'id' => 'wave_dark_path2_color',
            'type' => 'color',
            'default' => '#ffffff',
            'title' => esc_html__('Wave path 2 background color', 'apper'),
            'validate' => 'color',
            'transparent' => true,
            'required' => array('default_header_bg_img', 'equals', 'hero_wave_dark'),
        ),
        array(
            'id' => 'wave_dark_path3_color',
            'type' => 'color',
            'default' => '#fffcfc',
            'title' => esc_html__('Wave path 3 background color', 'apper'),
            'validate' => 'color',
            'transparent' => true,
            'required' => array('default_header_bg_img', 'equals', 'hero_wave_dark'),
        ),
        array(
            'id' => 'wave_divider_color',
            'type' => 'color',
            'default' => '#f6f4fe',
            'title' => esc_html__('Wave divider background color', 'apper'),
            'validate' => 'color',
            'transparent' => true,
            'required' => array('default_header_bg_img', 'equals', array( 'hero_wave_light', 'hero_wave_dark') ),
        ),
        array(
            'id' => 'wave_small_path1_color',
            'type' => 'color',
            'default' => '#ffffff',
            'title' => esc_html__('Wave path 1 background color', 'apper'),
            'validate' => 'color',
            'transparent' => true,
            'required' => array('default_header_bg_img', 'equals', 'hero_wave_small'),
        ),
        array(
            'id' => 'wave_small_path2_color',
            'type' => 'color',
            'default' => '#ffffff',
            'title' => esc_html__('Wave path 2 background color', 'apper'),
            'validate' => 'color',
            'transparent' => true,
            'required' => array('default_header_bg_img', 'equals', 'hero_wave_small'),
        ),
        array(
            'id' => 'wave_small_path3_color',
            'type' => 'color',
            'default' => '#fffcfc',
            'title' => esc_html__('Wave path 3 background color', 'apper'),
            'validate' => 'color',
            'transparent' => true,
            'required' => array('default_header_bg_img', 'equals', 'hero_wave_small'),
        ),
        array(
            'id' => 'cross_shade_path1_color',
            'type' => 'color',
            'default' => '#ffffff',
            'title' => esc_html__('Cross inner shape color', 'apper'),
            'validate' => 'color',
            'transparent' => true,
            'required' => array('default_header_bg_img', 'equals', 'cross_shade'),
        ),
        array(
            'id' => 'cross_shade_path2_color',
            'type' => 'color',
            'default' => '#ffffff',
            'title' => esc_html__('Cross outer shape color', 'apper'),
            'validate' => 'color',
            'transparent' => true,
            'required' => array('default_header_bg_img', 'equals', 'cross_shade'),
        ),
        array(
            'id' => 'custom_page_header_img',
            'type' => 'media',
            'preview' => true,
            'title' => esc_html__('Upload custom header image.', 'apper'),
            'subtitle' => esc_html__('Custom background image for page header.', 'apper'),
            'required' => array('default_header_bg_img', 'equals', 'custom'),
        ),
        array(
            'id' => 'page_header_img_overlay_opacity',
            'type' => 'slider',
            'title' => esc_html__('Page header overlay opacity', 'apper'),
            'desc' => esc_html__('Set page header overlay opacity.', 'apper'),
            "min" => 0,
            'step' => 0.1,
            'max' => 0.9,
            'resolution' => 0.1,
            'required' => array('default_header_bg_img', 'equals', 'custom'),
        ),
        array(
            'id' => 'page_header_bg_color',
            'type' => 'color',
            'default' => '#6A49F1',
            'title' => esc_html__('Page header background color', 'apper'),
            'subtitle' => esc_html__('Background color for page header. ', 'apper'),
            'validate' => 'color',
            'transparent' => true,
        ),
        array(
            'id' => 'page_header_text_color',
            'type' => 'color',
            'default' => '#ffffff',
            'title' => esc_html__('Page header text color', 'apper'),
            'subtitle' => esc_html__('Text color for page header. ', 'apper'),
            'validate' => 'color',
            'transparent' => false,
        ),
        array(
            'id' => 'page_header_link_color',
            'type' => 'color',
            'default' => '#ffffff',
            'title' => esc_html__('Page header links color', 'apper'),
            'subtitle' => esc_html__('Links color for page header. ', 'apper'),
            'validate' => 'color',
            'transparent' => false,
        ),
        array(
            'id' => 'page_header_link_hover_color',
            'type' => 'color',
            'default' => '#f5f5f5',
            'title' => esc_html__('Page header link hover color', 'apper'),
            'subtitle' => esc_html__('Link hover color for page header. ', 'apper'),
            'validate' => 'color',
            'transparent' => false,
        ),
        array(
            'id' => 'enable_page_breadcrumb',
            'type' => 'checkbox',
            'default' => true,
            'title' => esc_html__('Show Breadcrumb', 'apper'),
            'subtitle' => esc_html__('Enable to show breadcrumb for all pages. ', 'apper'),
        ),
        array(
            'id' => 'breadcrumb_home',
            'type' => 'radio',
            'title' => __('Breadcrumb home style', 'apper'),
            'options' => array(
                'icon' => esc_html__('Show icon', 'apper'),
                'text' => esc_html__('Show Home text', 'apper'),
            ),
            'default' => 'icon',
        ),
        array(
            'id' => 'get_started_bg_color',
            'type' => 'color',
            'default' => '#32236F',
            'title' => esc_html__('Get started background', 'apper'),
            'subtitle' => esc_html__('Set Get started background overlay color. ', 'apper'),
            'validate' => 'color',
            'transparent' => false,
        ),
    )
));

Redux::set_section($opt_name, array(
    'title' => __('Topbar Settings', 'apper'),
    'id' => 'topbar_settings',
    'icon' => 'el el-minus'
));
Redux::set_section($opt_name, array(
    'title' => __('Topbar Style', 'apper'),
    'id' => 'topbar_styles',
    'subsection' => true,
    'fields' => array(
        array(
            'id' => 'hide_topbar',
            'type' => 'checkbox',
            'title' => esc_html__('Hide topbar', 'apper'),
            'default' => '1',
        ),
        array(
            'id' => 'fullwidth_topbar',
            'type' => 'checkbox',
            'title' => esc_html__('Enable Full width topbar', 'apper'),
            'default' => '0',
        ),
        array(
            'id' => 'topbar_bg_color',
            'type' => 'color',
            'title' => esc_html__('Top bar background', 'apper'),
            'desc' => esc_html__('Choose background color.', 'apper'),
            'default' => '#6A49F2',
            'transparent' => false,
        ),
        array(
            'id' => 'topbar_text_color',
            'type' => 'color',
            'title' => esc_html__('Top bar text color', 'apper'),
            'desc' => esc_html__('Choose text color.', 'apper'),
            'default' => '#ffffff',
            'transparent' => false,
        ),
        array(
            'id' => 'topbar_link_color',
            'type' => 'link_color',
            'title' => esc_html__('Top bar link color', 'apper'),
            'desc' => esc_html__('Choose link color.', 'apper'),
            'default' => array(
                'regular' => '#ffffff',
                'hover' => '#f6f6f6',
                'active' => '#f6f6f6',
                'visited' => '#f6f6f6',
            ),
        ),
        array(
            'id' => 'topbar_icons_color',
            'type' => 'color',
            'title' => esc_html__('Top bar icons color', 'apper'),
            'desc' => esc_html__('Choose Top bar icons color.', 'apper'),
            'default' => '#ffffff',
            'transparent' => false,
        ),
        array(
            'id' => 'topbar_icons_hover_color',
            'type' => 'color',
            'title' => esc_html__('Top bar icons hover color', 'apper'),
            'desc' => esc_html__('Choose Top bar icons hover color.', 'apper'),
            'default' => '#ffffff',
            'transparent' => false,
        ),
    )
));
Redux::set_section($opt_name, array(
    'title' => __('Topbar Content Order', 'apper'),
    'desc' => __('Align topbar contents', 'apper'),
    'id' => 'topbar_order',
    'subsection' => true,
    'fields' => array(
        array(
            'id' => 'topbar_elements_order',
            'type' => 'sortable',
            'title' => __('Sort topbar contents', 'apper'),
            'subtitle' => __('Re-order the contents as you want.', 'apper'),
            'desc' => __('Enable the elements you want and Drag & drop in the order you want.', 'apper'),
            'mode' => 'checkbox',
            'options' => array(
                'topbar_social' => __('Social Icons', 'apper'),
                'topbar_custom_content' => __('Topbar Custom Content', 'apper'),
                'topbar_nav' => __('Topbar Navigation', 'apper'),
            ),
            'default' => array(
                'topbar_social' => true,
                'topbar_custom_content' => true,
                'topbar_nav' => true
            ),
        ),
    )
));
Redux::set_section($opt_name, array(
    'title' => __('Topbar Custom Content', 'apper'),
    'id' => 'topbar_content',
    'subsection' => true,
    'fields' => array(
        array(
            'id' => 'topbar_custom_content',
            'type' => 'editor',
            'title' => __('Content to show', 'apper'),
            'subtitle' => __('Put your custom content here.', 'apper'),
            'default' => '50% DISCOUNT! LIMITED TIME OFFER',
            'args' => array(
                'teeny' => true,
                'textarea_rows' => 7,
                'media_buttons' => false,
            )
        ),
    )
));

Redux::set_section($opt_name, array(
    'title' => __('Header Settings', 'apper'),
    'id' => 'header_settings',
    'icon' => 'el el-website-alt'
));
Redux::set_section($opt_name, array(
    'title' => esc_html__('Header general settings', 'apper'),
    'id' => 'header_general_settings',
    'subsection' => true,
    'fields' => array(
        array(
            'id' => 'max_logo_width',
            'type' => 'slider',
            'title' => esc_html__('Max logo width', 'apper'),
            'desc' => esc_html__('Maximum logo width in pixels.', 'apper'),
            'default' => '160',
            "min" => 100,
            "step" => 1,
            "max" => 250,
        ),
        array(
            'id' => 'enable_search_on_menu',
            'type' => 'checkbox',
            'title' => esc_html__('Show search box', 'apper'),
            'default' => '1',
        ),
        array(
            'id' => 'show_mobile_search',
            'type' => 'checkbox',
            'title' => esc_html__('Show search box on mobile', 'apper'),
            'default' => '1',
        ),
        array(
            'id' => 'show_woo_menu_icon_desktop',
            'type' => 'checkbox',
            'title' => esc_html__('Show cart icon for desktop', 'apper'),
            'default' => '1',
        ),
    )
));

Redux::set_section($opt_name, array(
    'title' => esc_html__('Logo dark version', 'apper'),
    'id' => 'header_light',
    'subsection' => true,
    'fields' => array(
        array(
            'id' => 'full_screen_header_logo',
            'type' => 'media',
            'preview' => true,
            'title' => esc_html__('Upload Logo', 'apper'),
            'subtitle' => esc_html__('Upload dark version logo of size 160px x 40px. ', 'apper'),
        ),
        array(
            'id' => 'full_screen_header_retina_logo',
            'type' => 'media',
            'preview' => true,
            'title' => esc_html__('Upload Logo (Optional)', 'apper'),
            'subtitle' => esc_html__('Upload dark version retina logo of size 320px x 80px. ', 'apper'),
        ),
    )
));

Redux::set_section($opt_name, array(
    'title' => esc_html__('Logo light version', 'apper'),
    'id' => 'header_dark',
    'subsection' => true,
    'fields' => array(
        array(
            'id' => 'full_screen_header_light_logo',
            'type' => 'media',
            'preview' => true,
            'title' => esc_html__('Upload Logo', 'apper'),
            'subtitle' => esc_html__('Upload light version logo of size 160px x 40px. ', 'apper'),
        ),
        array(
            'id' => 'full_screen_header_light_retina_logo',
            'type' => 'media',
            'preview' => true,
            'title' => esc_html__('Upload Logo (Optional)', 'apper'),
            'subtitle' => esc_html__('Upload light version retina logo of size 320px x 80px. ', 'apper'),
        ),
    )
));

Redux::set_section($opt_name, array(
    'title' => esc_html__('Mobile logo', 'apper'),
    'id' => 'header_mobile',
    'subsection' => true,
    'fields' => array(
        array(
            'id' => 'mob_screen_header_light_logo',
            'type' => 'media',
            'preview' => true,
            'title' => esc_html__('Upload Logo', 'apper'),
            'subtitle' => esc_html__('Upload logo for mobile screen of size 140px x 35px. ', 'apper'),
        ),
    )
));

Redux::set_section($opt_name, array(
    'title' => esc_html__('Header sticky settings', 'apper'),
    'id' => 'header_sticky_settings',
    'subsection' => true,
    'fields' => array(
        array(
            'id' => 'header_sticky_bg_color',
            'type' => 'color',
            'title' => esc_html__('Header sticky background color', 'apper'),
            'desc' => esc_html__('Choose sticky header background color.', 'apper'),
            'default' => '#ffffff',
            'transparent' => false,
        ),
        array(
            'id' => 'sticky_header_logo',
            'type' => 'media',
            'preview' => true,
            'title' => esc_html__('Upload Logo', 'apper'),
            'subtitle' => esc_html__('Upload logo for sticky header of size 160px x 40px. ', 'apper'),
        ),        
    )
));

Redux::set_section($opt_name, array(
    'title' => __('Menu Settings', 'apper'),
    'id' => 'menu-settings',
    'icon' => 'el el-lines',
));

Redux::set_section($opt_name, array(
    'title' => esc_html__('Menu Light Version', 'apper'),
    'id' => 'menu-light-settings',
    'subsection' => true,
    'fields' => array(
        array(
            'id' => 'main_menu_fonts',
            'type' => 'typography',
            'title' => esc_html__('Main Menu Typography', 'apper'),
            'google' => true,
            'font-backup' => true,
            'color' => false,
            'font-style' => false,
            'text-align' => false,
            'desc' => esc_html__('Top level menu typography settings.', 'apper'),
            'default' => array(
                'color' => '#ffffff',
                'font-weight' => '600',
                'font-family' => 'Poppins',
                'google' => true,
                'font-size' => '15px',
                'line-height' => '25'
            ),
        ),
        array(
            'id' => 'menu_link_colors',
            'type' => 'link_color',
            'title' => esc_html__('Main menu link colors', 'apper'),
            'desc' => esc_html__('Choose Main menu link colors.', 'apper'),
            'active' => false,
            'default' => array(
                'regular' => '#ffffff',
                'hover' => '#ffffff',
            ),
        ),
        array(
            'id' => 'menu_light_dropdown_main_menu_color',
            'type' => 'color',
            'default' => '#6a49f2',
            'title' => esc_html__('Dropdown top menu hover color', 'apper'),
            'subtitle' => esc_html__('Dropdown top level menu hover text color. ', 'apper'),
            'validate' => 'color',
            'transparent' => false,
        ),
        array(
            'id' => 'menu_label_color',
            'type' => 'color',
            'default' => '#6a49f2',
            'title' => esc_html__('Menu label background color', 'apper'),
            'subtitle' => esc_html__('Menu label background color. ', 'apper'),
            'validate' => 'color',
            'transparent' => false,
        ),
        array(
            'id' => 'menu_label_text_color',
            'type' => 'color',
            'default' => '#ffffff',
            'title' => esc_html__('Menu label text color', 'apper'),
            'subtitle' => esc_html__('Menu label text color. ', 'apper'),
            'validate' => 'color',
            'transparent' => false,
        ),
        array(
            'id' => 'sub_menu_bg_color',
            'type' => 'color',
            'default' => '#ffffff',
            'title' => esc_html__('Sub Menu Background', 'apper'),
            'subtitle' => esc_html__('Sub Menu background color. ', 'apper'),
            'validate' => 'color',
            'transparent' => false,
        ),
        array(
            'id' => 'sub_menu_color',
            'type' => 'color',
            'default' => '#3e3f66',
            'title' => esc_html__('Sub Menu link color', 'apper'),
            'subtitle' => esc_html__('Sub Menu link color. ', 'apper'),
            'validate' => 'color',
            'transparent' => false,
        ),
        array(
            'id' => 'sub_menu_hover_color',
            'type' => 'color',
            'default' => '#6a49f2',
            'title' => esc_html__('Sub Menu link hover color', 'apper'),
            'subtitle' => esc_html__('Sub Menu link hover color. ', 'apper'),
            'validate' => 'color',
            'transparent' => false,
        ),
        array(
            'id' => 'sub_menu_desc_color',
            'type' => 'color',
            'default' => '#485064',
            'title' => esc_html__('Sub Menu description color', 'apper'),
            'subtitle' => esc_html__('Sub Menu description color. ', 'apper'),
            'validate' => 'color',
            'transparent' => false,
        ),
        array(
            'id' => 'enable_menu_cta',
            'type' => 'checkbox',
            'title' => esc_html__('Enable Call to action button on menu', 'apper'),
            'default' => '1',
        ),
        array(
            'id' => 'menu_cta_text',
            'type' => 'text',
            'default' => 'Get Started',
            'title' => esc_html__('CTA text', 'apper'),
            'subtitle' => esc_html__('Enter CTA button text. ', 'apper'),
            'required' => array('enable_menu_cta', 'equals', '1'),
        ),
        array(
            'id' => 'menu_cta_url',
            'type' => 'text',
            'default' => '',
            'title' => esc_html__('CTA link url', 'apper'),
            'subtitle' => esc_html__('Enter CTA button url. ', 'apper'),
            'required' => array('enable_menu_cta', 'equals', '1'),
        ),
        array(
            'id' => 'menu_cta_bg_color',
            'type' => 'color',
            'title' => esc_html__('Header CTA background color', 'apper'),
            'desc' => esc_html__('Choose CTA background color.', 'apper'),
            'default' => '#ffffff',
            'transparent' => false,
            'required' => array('enable_menu_cta', 'equals', '1'),
        ),
        array(
            'id' => 'menu_cta_text_color',
            'type' => 'color',
            'title' => esc_html__('Header CTA text color', 'apper'),
            'desc' => esc_html__('Choose text color.', 'apper'),
            'default' => '#6a49f2',
            'transparent' => false,
            'required' => array('enable_menu_cta', 'equals', '1'),
        ),
        array(
            'id' => 'menu_cta_hover_bg_color',
            'type' => 'color',
            'title' => esc_html__('Header CTA hover background color', 'apper'),
            'desc' => esc_html__('Choose CTA background color.', 'apper'),
            'default' => '#ffffff',
            'transparent' => false,
            'required' => array('enable_menu_cta', 'equals', '1'),
        ),
        array(
            'id' => 'menu_cta_hover_text_color',
            'type' => 'color',
            'title' => esc_html__('Header CTA hover text color', 'apper'),
            'desc' => esc_html__('Choose hover text color.', 'apper'),
            'default' => '#6a49f2',
            'transparent' => false,
            'required' => array('enable_menu_cta', 'equals', '1'),
        ),
        array(
            'id' => 'mobile_toggle_icon_color_light',
            'type' => 'color',
            'default' => '#ffffff',
            'title' => esc_html__('Mobile menu toggle icon color', 'apper'),
            'subtitle' => esc_html__('Set toggle icon color for light menu version. ', 'apper'),
            'validate' => 'color',
            'transparent' => false,
        ),
    )
));

Redux::set_section($opt_name, array(
    'title' => esc_html__('Menu Dark Version', 'apper'),
    'id' => 'menu-dark-settings',
    'subsection' => true,
    'fields' => array(
        array(
            'id' => 'v2_main_menu_fonts',
            'type' => 'typography',
            'title' => esc_html__('Main Menu Typography', 'apper'),
            'google' => true,
            'font-backup' => true,
            'color' => false,
            'font-style' => false,
            'text-align' => false,
            'desc' => esc_html__('Top level menu typography settings.', 'apper'),
            'default' => array(
                'color' => '#3e3f66',
                'font-weight' => '600',
                'font-family' => 'Poppins',
                'google' => true,
                'font-size' => '12px',
                'line-height' => '25'
            ),
        ),
        array(
            'id' => 'v2_megamenu_heading_typecase',
            'type' => 'checkbox',
            'title' => __('Disable uppercase for Mega menu headings', 'apper'),
            'subtitle' => __('Select to disable all uppercase for Mega menu headings.', 'apper'),
            'default' => '0'
        ),
        array(
            'id' => 'v2_menu_link_colors',
            'type' => 'link_color',
            'title' => esc_html__('Main menu link colors', 'apper'),
            'desc' => esc_html__('Choose Main menu link colors.', 'apper'),
            'active' => false,
            'default' => array(
                'regular' => '#3e3f66',
                'hover' => '#6a49f2',
            ),
        ),
        array(
            'id' => 'menu_dark_dropdown_main_menu_color',
            'type' => 'color',
            'default' => '#3e3f66',
            'title' => esc_html__('Dropdown top menu hover color', 'apper'),
            'subtitle' => esc_html__('Dropdown top level menu hover text color. ', 'apper'),
            'validate' => 'color',
            'transparent' => false,
        ),
        array(
            'id' => 'v2_menu_label_color',
            'type' => 'color',
            'default' => '#f18e7d',
            'title' => esc_html__('Menu label background color', 'apper'),
            'subtitle' => esc_html__('Menu label background color. ', 'apper'),
            'validate' => 'color',
            'transparent' => false,
        ),
        array(
            'id' => 'v2_menu_label_text_color',
            'type' => 'color',
            'default' => '#ffffff',
            'title' => esc_html__('Menu label text color', 'apper'),
            'subtitle' => esc_html__('Menu label text color. ', 'apper'),
            'validate' => 'color',
            'transparent' => false,
        ),
        array(
            'id' => 'v2_sub_menu_bg_color',
            'type' => 'color',
            'default' => '#ffffff',
            'title' => esc_html__('Sub Menu Background', 'apper'),
            'subtitle' => esc_html__('Sub Menu background color. ', 'apper'),
            'validate' => 'color',
            'transparent' => false,
        ),
        array(
            'id' => 'v2_sub_menu_color',
            'type' => 'color',
            'default' => '#3e3f66',
            'title' => esc_html__('Sub Menu link color', 'apper'),
            'subtitle' => esc_html__('Sub Menu link color. ', 'apper'),
            'validate' => 'color',
            'transparent' => false,
        ),
        array(
            'id' => 'v2_sub_menu_hover_color',
            'type' => 'color',
            'default' => '#6a49f2',
            'title' => esc_html__('Sub Menu link hover color', 'apper'),
            'subtitle' => esc_html__('Sub Menu link hover color. ', 'apper'),
            'validate' => 'color',
            'transparent' => false,
        ),
        array(
            'id' => 'v2_sub_menu_desc_color',
            'type' => 'color',
            'default' => '#485064',
            'title' => esc_html__('Sub Menu description color', 'apper'),
            'subtitle' => esc_html__('Sub Menu description color. ', 'apper'),
            'validate' => 'color',
            'transparent' => false,
        ),
        array(
            'id' => 'v2_enable_menu_cta',
            'type' => 'checkbox',
            'title' => esc_html__('Enable Call to action button on menu', 'apper'),
            'default' => '1',
        ),
        array(
            'id' => 'v2_menu_cta_text',
            'type' => 'text',
            'default' => 'Get Started',
            'title' => esc_html__('CTA text', 'apper'),
            'subtitle' => esc_html__('Enter CTA button text. ', 'apper'),
            'required' => array('v2_enable_menu_cta', 'equals', '1'),
        ),
        array(
            'id' => 'v2_menu_cta_url',
            'type' => 'text',
            'default' => '',
            'title' => esc_html__('CTA link url', 'apper'),
            'subtitle' => esc_html__('Enter CTA button url. ', 'apper'),
            'required' => array('v2_enable_menu_cta', 'equals', '1'),
        ),
        array(
            'id' => 'v2_menu_cta_bg_color',
            'type' => 'color',
            'title' => esc_html__('Header CTA background color', 'apper'),
            'desc' => esc_html__('Choose CTA background color.', 'apper'),
            'default' => '#6a49f2',
            'transparent' => false,
            'required' => array('v2_enable_menu_cta', 'equals', '1'),
        ),
        array(
            'id' => 'v2_menu_cta_text_color',
            'type' => 'color',
            'title' => esc_html__('Header CTA text color', 'apper'),
            'desc' => esc_html__('Choose text color.', 'apper'),
            'default' => '#ffffff',
            'transparent' => false,
            'required' => array('v2_enable_menu_cta', 'equals', '1'),
        ),
        array(
            'id' => 'v2_menu_cta_hover_bg_color',
            'type' => 'color',
            'title' => esc_html__('Header CTA hover background color', 'apper'),
            'desc' => esc_html__('Choose CTA background color.', 'apper'),
            'default' => '#6a49f2',
            'transparent' => false,
            'required' => array('v2_enable_menu_cta', 'equals', '1'),
        ),
        array(
            'id' => 'v2_menu_cta_hover_text_color',
            'type' => 'color',
            'title' => esc_html__('Header CTA hover text color', 'apper'),
            'desc' => esc_html__('Choose hover text color.', 'apper'),
            'default' => '#ffffff',
            'transparent' => false,
            'required' => array('v2_enable_menu_cta', 'equals', '1'),
        ),
        array(
            'id' => 'mobile_menu_toggle_icon_color',
            'type' => 'color',
            'default' => '#424b58',
            'title' => esc_html__('Mobile menu toggle icon color', 'apper'),
            'subtitle' => esc_html__('Set toggle icon color for dark menu version. ', 'apper'),
            'validate' => 'color',
            'transparent' => false,
        ),
    )
));

Redux::set_section($opt_name, array(
    'title' => esc_html__('Sticky menu settings', 'apper'),
    'id' => 'sticky_menu_settings',
    'subsection' => true,
    'fields' => array(
        array(
            'id' => 'sticky_menu_version',
            'type' => 'select',
            'options' => array(
                'sticky-dark-menu' => esc_html__('Dark menu style', 'apper'),
                'sticky-light-menu' => esc_html__('Light menu style', 'apper'),
            ),
            'default' => 'sticky-dark-menu',
            'title' => esc_html__('Select menu color version for sticky header.', 'apper'),
        ),
        array(
            'id' => 'sticky_menu_label_color',
            'type' => 'color',
            'default' => '#6a49f2',
            'title' => esc_html__('Menu label background color', 'apper'),
            'subtitle' => esc_html__('Menu label background color. ', 'apper'),
            'validate' => 'color',
            'transparent' => false,
        ),
        array(
            'id' => 'sticky_menu_label_text_color',
            'type' => 'color',
            'default' => '#ffffff',
            'title' => esc_html__('Menu label text color', 'apper'),
            'subtitle' => esc_html__('Menu label text color. ', 'apper'),
            'validate' => 'color',
            'transparent' => false,
        ),
    )
));

Redux::set_section($opt_name, array(
    'title' => esc_html__('Mobile Menu Settings', 'apper'),
    'id' => 'mobile-menu-settings',
    'subsection' => true,
    'fields' => array(
        array(
            'id' => 'mobile_menu_bg_color',
            'type' => 'color',
            'default' => '#ffffff',
            'title' => esc_html__('Background color', 'apper'),
            'subtitle' => esc_html__('Menu background color. ', 'apper'),
            'validate' => 'color',
            'transparent' => false,
        ),
        array(
            'id' => 'mobile_menu_text_color',
            'type' => 'color',
            'default' => '#424b58',
            'title' => esc_html__('Text color', 'apper'),
            'validate' => 'color',
            'transparent' => false,
        ),
        array(
            'id' => 'mobile_menu_fonts',
            'type' => 'typography',
            'title' => esc_html__('Mobile Menu Typography', 'apper'),
            'google' => true,
            'font-backup' => true,
            'color' => false,
            'font-style' => false,
            'line-height' => false,
            'desc' => esc_html__('Menu typography settings.', 'apper'),
            'default' => array(
                'font-weight' => '600',
                'font-family' => 'Jost',
                'google' => true,
                'font-size' => '14px',
                'line-height' => '50'
            ),
        ),
        array(
            'id' => 'mobile_menu_link_colors',
            'type' => 'link_color',
            'title' => esc_html__('Menu link colors', 'apper'),
            'desc' => esc_html__('Choose menu link colors.', 'apper'),
            'active' => false,
            'default' => array(
                'regular' => '#424b58',
                'hover' => '#121823',
            ),
        ),
        array(
            'id' => 'mobile_submenu_arrow_color',
            'type' => 'color',
            'default' => '#424b58',
            'title' => esc_html__('Submenu toggle icon color', 'apper'),
            'validate' => 'color',
            'transparent' => false,
        ),
        array(
            'id' => 'mobile_submenu_arrow_bg_color',
            'type' => 'color',
            'default' => '#ffffff',
            'title' => esc_html__('Submenu toggle icon background color', 'apper'),
            'validate' => 'color',
            'transparent' => false,
        ),
        array(
            'id' => 'mobile_menu_counter_border_color',
            'type' => 'color',
            'default' => '#424b58',
            'title' => esc_html__('Mobile sub-menu counter border color', 'apper'),
            'validate' => 'color',
            'transparent' => false,
        ),
        array(
            'id' => 'mobile_menu_counter_text_color',
            'type' => 'color',
            'default' => '#424b58',
            'title' => esc_html__('Mobile sub-menu counter text color', 'apper'),
            'validate' => 'color',
            'transparent' => false,
        ),
    )
));

Redux::set_section($opt_name, array(
    'title' => __('Shop Settings', 'apper'),
    'id' => 'bks-shop-settings',
    'icon' => 'el el-shopping-cart-sign',
));

Redux::set_section($opt_name, array(
    'title' => __('General Settings', 'apper'),
    'id' => 'bks-shop-general-settings',
    'subsection' => true,
    'fields' => array(
        array(
            'id' => 'show_shop_header',
            'type' => 'checkbox',
            'title' => esc_html__('Show shop header', 'apper'),
            'default' => '1',
        ),
        array(
            'id' => 'shop_layout',
            'type' => 'image_select',
            'title' => __('Select Shop Layout', 'apper'),
            'subtitle' => __('Select sidebar location.', 'apper'),
            'options' => array(
                'left' => array(
                    'alt' => 'Left Sidebar',
                    'img' => ACMBASE_IMG_DIR_URI . 'layout-left-bar.png'
                ),
                'right' => array(
                    'alt' => 'Right Sidebar',
                    'img' => ACMBASE_IMG_DIR_URI . 'layout-right-bar.png'
                ),
                'fullwidth' => array(
                    'alt' => 'Full Width',
                    'img' => ACMBASE_IMG_DIR_URI . 'layout-full-width.png'
                ),
            ),
            'default' => 'fullwidth'
        ),
        array(
            'id' => 'shop_showcase_type',
            'type' => 'radio',
            'title' => esc_html__('Shop default showcase style', 'apper'),
            'subtitle' => esc_html__('Select style Grid or list to show by default. ', 'apper'),
            'options' => array(
                'grid' => 'Grid',
                'list' => 'List',
            ),
            'default' => 'grid'
        ),
        array(
            'id' => 'disable_sale_badge_ingrid',
            'type' => 'checkbox',
            'title' => esc_html__('Disable Sale badge', 'apper'),
            'subtitle' => esc_html__('Disable Sale badge in products grid.', 'apper'),
            'default' => '0',
        ),
        array(
            'id' => 'sale_badge_type',
            'type' => 'radio',
            'title' => esc_html__('Sale badge type', 'apper'),
            'subtitle' => esc_html__('Select sale badge type. ', 'apper'),
            'options' => array(
                'percent' => 'Percentage',
                'label' => 'Sale Label',
            ),
            'default' => 'label'
        ),
        array(
            'id' => 'shop_products_count',
            'type' => 'slider',
            'title' => esc_html__('Number of products', 'apper'),
            'desc' => esc_html__('Number of products to show shop page.', 'apper'),
            'default' => '12',
            "min" => 1,
            "step" => 1,
            "max" => 50,
        ),
        array(
            'id' => 'shop_product_columns',
            'type' => 'slider',
            'title' => esc_html__('Number of products per row', 'apper'),
            'desc' => esc_html__('Number of products to show per row.', 'apper'),
            'default' => '3',
            "min" => 2,
            "step" => 1,
            "max" => 4,
        ),
        array(
            'id' => 'woo_checkout_btn_bg_color',
            'type' => 'color',
            'default' => '#6a49f2',
            'title' => esc_html__('Cart checkout button background color', 'apper'),
            'validate' => 'color',
            'transparent' => false,
        ),
        array(
            'id' => 'woo_checkout_btn_text_color',
            'type' => 'color',
            'default' => '#ffffff',
            'title' => esc_html__('Cart checkout button text color', 'apper'),
            'validate' => 'color',
            'transparent' => false,
        ),
        array(
            'id' => 'woo_checkout_btn_hover_bg_color',
            'type' => 'color',
            'default' => '#32236f',
            'title' => esc_html__('Cart checkout button hover background color', 'apper'),
            'validate' => 'color',
            'transparent' => false,
        ),
        array(
            'id' => 'woo_checkout_btn_hover_text_color',
            'type' => 'color',
            'default' => '#ffffff',
            'title' => esc_html__('Cart checkout button hover text color', 'apper'),
            'validate' => 'color',
            'transparent' => false,
        ),
        array(
            'id' => 'disable_related_items',
            'type' => 'checkbox',
            'title' => esc_html__('Disable product related items', 'apper'),
            'default' => '1'
        ),
        array(
            'id' => 'shop_products_related_count',
            'type' => 'slider',
            'title' => esc_html__('Number of related products', 'apper'),
            'desc' => esc_html__('Number of related products to display on single product page.', 'apper'),
            'default' => '3',
            "min" => 2,
            "step" => 1,
            "max" => 12,
            'required' => array('disable_related_items', 'not', '1'),
        ),
        array(
            'id' => 'shop_products_related_count_per_row',
            'type' => 'slider',
            'title' => esc_html__('Number of related products per row', 'apper'),
            'desc' => esc_html__('Number of related products per row to display on single product page.', 'apper'),
            'default' => '4',
            "min" => 2,
            "step" => 1,
            "max" => 4,
            'required' => array('disable_related_items', 'not', '1'),
        ),
        array(
            'id' => 'show_upsell_sell',
            'type' => 'checkbox',
            'title' => esc_html__('Display upsell products on cart page.', 'apper'),
            'default' => '1'
        ),
        array(
            'id' => 'show_cross_sell',
            'type' => 'checkbox',
            'title' => esc_html__('Display cross sell products on cart page.', 'apper'),
            'default' => '1'
        ),
        array(
            'id' => 'shop_grid_list',
            'type' => 'checkbox',
            'title' => esc_html__('Display grid list buttons.', 'apper'),
            'default' => '1'
        ),
        array(
            'id' => 'woo_category_header',
            'type' => 'checkbox',
            'title' => esc_html__('Display category header.', 'apper'),
            'default' => '1'
        ),
        array(
            'id' => 'shop_view_pr_count',
            'type' => 'checkbox',
            'title' => esc_html__('Display product results count selection.', 'apper'),
            'desc' => esc_html__('example, View: 12|24|ALL', 'apper'),
            'default' => '1'
        ),
        array(
            'id' => 'enable_publish_date_field',
            'type' => 'checkbox',
            'title' => esc_html__('Enable publish date field', 'apper'),
            'subtitle' => esc_html__('By enabling this field you can add publish date to each product. ', 'apper'),
            'default' => '0',
        ),
        array(
            'id' => 'publication_date_text',
            'type' => 'text',
            'default' => '',
            'title' => esc_html__('Publication date label', 'apper'),
            'subtitle' => esc_html__('Published date label to show on product grids. ', 'apper'),
            'required' => array('enable_publish_date_field', 'equals', '1'),
        ),
        array(
            'id' => 'publish_date_format',
            'type' => 'select',
            'multi' => false,
            'options' => array(
                '1' => esc_html__('Only Year', 'apper'),
                '2' => esc_html__('Month and year', 'apper'),
            ),
            'default' => '1',
            'title' => esc_html__('Publication date format', 'apper'),
            'required' => array('enable_publish_date_field', 'equals', '1'),
        ),
        array(
            'id' => 'publication_date_separator',
            'type' => 'text',
            'default' => '',
            'title' => esc_html__('Publication date separator', 'apper'),
            'required' => array('publish_date_format', 'equals', '2'),
        ),
        array(
            'id' => 'enable_publish_date_sort_order',
            'type' => 'checkbox',
            'title' => esc_html__('Enable publish date sorting', 'apper'),
            'subtitle' => esc_html__('Enable sorting of books by publication date. ', 'apper'),
            'default' => '0',
            'required' => array('enable_publish_date_field', 'equals', '1'),
        ),
    )
));

Redux::set_section($opt_name, array(
    'title' => __('Product Grid styles', 'apper'),
    'id' => 'bks-product-grid-settings',
    'subsection' => true,
    'fields' => array(
        array(
            'id' => 'prod_grid_img_size',
            'type' => 'radio',
            'title' => esc_html__('Grid image size', 'apper'),
            'subtitle' => esc_html__('Select product grid image size. ', 'apper'),
            'options' => array(
                'small' => 'Small',
                'medium' => 'Medium',
                'full' => 'Full',
            ),
            'default' => 'medium'
        ),
        array(
            'id' => 'prod_grid_img_bg_color',
            'type' => 'color',
            'default' => '#f8f9fa',
            'title' => esc_html__('Product grid image background color', 'apper'),
            'validate' => 'color',
            'transparent' => false,
        ),
        array(
            'id' => 'prod_grid_img_overlay_color',
            'type' => 'color',
            'default' => '#6a49f2',
            'title' => esc_html__('Product grid image hover overlay color', 'apper'),
            'subtitle' => esc_html__('Set image hover overlay. ', 'apper'),
            'validate' => 'color',
            'transparent' => false,
        ),
        array(
            'id' => 'prod_grid_title_color',
            'type' => 'color',
            'default' => '#32236f',
            'title' => esc_html__('Product title color', 'apper'),
            'subtitle' => esc_html__('Product title color in product grid. ', 'apper'),
            'validate' => 'color',
            'transparent' => false,
        ),
        array(
            'id' => 'prod_grid_text_color',
            'type' => 'color',
            'default' => '#3e3f66',
            'title' => esc_html__('Product texts color', 'apper'),
            'subtitle' => esc_html__('Product texts color in product grid. ', 'apper'),
            'validate' => 'color',
            'transparent' => false,
        ),
        array(
            'id' => 'prod_grid_category_color',
            'type' => 'color',
            'default' => '#9199a6',
            'title' => esc_html__('Author link color', 'apper'),
            'subtitle' => esc_html__('Set author link color. ', 'apper'),
            'validate' => 'color',
            'transparent' => false,
        ),
        array(
            'id' => 'prod_grid_price_color',
            'type' => 'color',
            'default' => '#6a49f2',
            'title' => esc_html__('Price text color', 'apper'),
            'subtitle' => esc_html__('Set price text color. ', 'apper'),
            'validate' => 'color',
            'transparent' => false,
        ),
        array(
            'id' => 'product_sale_bg_color',
            'type' => 'color',
            'default' => '#3e3f66',
            'title' => esc_html__('Product sale badge color', 'apper'),
            'subtitle' => esc_html__('Set sale badge color. ', 'apper'),
            'validate' => 'color',
            'transparent' => false,
        ),
        array(
            'id' => 'product_sale_text_color',
            'type' => 'color',
            'default' => '#ffffff',
            'title' => esc_html__('Product sale text color', 'apper'),
            'subtitle' => esc_html__('Set sale text color. ', 'apper'),
            'validate' => 'color',
            'transparent' => false,
        ),
        array(
            'id' => 'catalog_quick_view',
            'type' => 'checkbox',
            'title' => esc_html__('Show quick view in product grid style', 'apper'),
            'default' => '1',
        ),
        array(
            'id' => 'product_compare',
            'type' => 'checkbox',
            'title' => esc_html__('Show product compare in product grid style', 'apper'),
            'default' => '1',
        ),
        array(
            'id' => 'yith_wish_list',
            'type' => 'checkbox',
            'title' => esc_html__('Show wish list in product grid style', 'apper'),
            'default' => '1',
        ),
    )
));

Redux::set_section($opt_name, array(
    'title' => __('Button Styles', 'apper'),
    'id' => 'bks-button-styles',
    'icon' => 'el el-brush'
));

Redux::set_section($opt_name, array(
    'title' => esc_html__('Primary Button Styles', 'apper'),
    'id' => 'bkc-primary-btn-settings',
    'subsection' => true,
    'fields' => array(
        array(
            'id' => 'primary_btn_bg_color',
            'type' => 'color',
            'default' => '#6a49f2',
            'title' => esc_html__('Primary button background color', 'apper'),
            'subtitle' => esc_html__('Set primary button background color. ', 'apper'),
            'validate' => 'color',
            'transparent' => false,
        ),
        array(
            'id' => 'primary_btn_text_color',
            'type' => 'color',
            'default' => '#ffffff',
            'title' => esc_html__('Primary button text color', 'apper'),
            'subtitle' => esc_html__('Set primary button text color color. ', 'apper'),
            'validate' => 'color',
            'transparent' => false,
        ),
        array(
            'id' => 'primary_btn_hover_bg_color',
            'type' => 'color',
            'default' => '#ffffff',
            'title' => esc_html__('Primary button hover color', 'apper'),
            'subtitle' => esc_html__('Set primary button hover background color. ', 'apper'),
            'validate' => 'color',
            'transparent' => false,
        ),
        array(
            'id' => 'primary_btn_hover_text_color',
            'type' => 'color',
            'default' => '#6a49f2',
            'title' => esc_html__('Primary button hover text color', 'apper'),
            'subtitle' => esc_html__('Set primary button hover text color. ', 'apper'),
            'validate' => 'color',
            'transparent' => false,
        ),

    )
));

Redux::set_section($opt_name, array(
    'title' => esc_html__('Secondary Button Styles', 'apper'),
    'id' => 'bkc-secondary-button-settings',
    'subsection' => true,
    'fields' => array(
        array(
            'id' => 'secdry_btn_border_color',
            'type' => 'color',
            'default' => '#6a49f2',
            'title' => esc_html__('Secondary button border color', 'apper'),
            'subtitle' => esc_html__('Set secondary button border color. ', 'apper'),
            'validate' => 'color',
            'transparent' => false,
        ),
        array(
            'id' => 'secdry_btn_text_color',
            'type' => 'color',
            'default' => '#6a49f2',
            'title' => esc_html__('Secondary button text color', 'apper'),
            'subtitle' => esc_html__('Set secondary button text color color. ', 'apper'),
            'validate' => 'color',
            'transparent' => false,
        ),
        array(
            'id' => 'secdry_btn_hover_bg_color',
            'type' => 'color',
            'default' => '#6a49f2',
            'title' => esc_html__('Secondary button hover color', 'apper'),
            'subtitle' => esc_html__('Set secondary button hover background color. ', 'apper'),
            'validate' => 'color',
            'transparent' => false,
        ),
        array(
            'id' => 'secdry_btn_hover_text_color',
            'type' => 'color',
            'default' => '#ffffff',
            'title' => esc_html__('Secondary button hover text color', 'apper'),
            'subtitle' => esc_html__('Set secondary button hover text color. ', 'apper'),
            'validate' => 'color',
            'transparent' => false,
        ),

    )
));

Redux::set_section($opt_name, array(
    'title' => esc_html__('Product Button Styles', 'apper'),
    'id' => 'bks-button-settings',
    'subsection' => true,
    'fields' => array(
        array(
            'id' => 'product_btn_type',
            'type' => 'select',
            'multi' => false,
            'options' => array(
                'round' => esc_html__('Round', 'apper'),
                'square' => esc_html__('Soft square', 'apper'),
            ),
            'default' => 'square',
            'title' => esc_html__('Product button type', 'apper'),
            'subtitle' => esc_html__('Set button style. ', 'apper'),
        ),
        array(
            'id' => 'product_btn_bg_color',
            'type' => 'color',
            'default' => '#ffffff',
            'title' => esc_html__('Product button color', 'apper'),
            'subtitle' => esc_html__('Set button color. ', 'apper'),
            'validate' => 'color',
            'transparent' => false,
        ),
        array(
            'id' => 'product_btn_icon_color',
            'type' => 'color',
            'default' => '#121823',
            'title' => esc_html__('Product button icon/text color', 'apper'),
            'subtitle' => esc_html__('Set button icon/text color. ', 'apper'),
            'validate' => 'color',
            'transparent' => false,
        ),
        array(
            'id' => 'product_btn_hover_color',
            'type' => 'color',
            'default' => '#121823',
            'title' => esc_html__('Product button hover color', 'apper'),
            'subtitle' => esc_html__('Set button hover color. ', 'apper'),
            'validate' => 'color',
            'transparent' => false,
        ),
        array(
            'id' => 'product_btn_icon_hover_color',
            'type' => 'color',
            'default' => '#ffffff',
            'title' => esc_html__('Product button icon/text hover color', 'apper'),
            'subtitle' => esc_html__('Set button icon/text hover color. ', 'apper'),
            'validate' => 'color',
            'transparent' => false,
        ),

    )
));

Redux::set_section($opt_name, array(
    'title' => esc_html__('Side cart Button Styles', 'apper'),
    'id' => 'bkc-sidecart-button-settings',
    'subsection' => true,
    'fields' => array(
        array(
            'id' => 'viewcart_btn_border_color',
            'type' => 'color',
            'default' => '#303947',
            'title' => esc_html__('View cart button border color', 'apper'),
            'subtitle' => esc_html__('Set button border color. ', 'apper'),
            'validate' => 'color',
            'transparent' => false,
        ),
        array(
            'id' => 'viewcart_btn_text_color',
            'type' => 'color',
            'default' => '#303947',
            'title' => esc_html__('View cart button text color', 'apper'),
            'subtitle' => esc_html__('Set button text color color. ', 'apper'),
            'validate' => 'color',
            'transparent' => false,
        ),
        array(
            'id' => 'viewcart_btn_hover_border_color',
            'type' => 'color',
            'default' => '#1d2530',
            'title' => esc_html__('View cart button hover border color', 'apper'),
            'subtitle' => esc_html__('Set button hover border color. ', 'apper'),
            'validate' => 'color',
            'transparent' => false,
        ),
        array(
            'id' => 'viewcart_btn_hover_text_color',
            'type' => 'color',
            'default' => '#1d2530',
            'title' => esc_html__('View cart button hover text color', 'apper'),
            'subtitle' => esc_html__('Set button hover text color. ', 'apper'),
            'validate' => 'color',
            'transparent' => false,
        ),

        array(
            'id' => 'continue_btn_bg_color',
            'type' => 'color',
            'default' => '#f08d7c',
            'title' => esc_html__('Continue shopping button color', 'apper'),
            'subtitle' => esc_html__('Set button background color. ', 'apper'),
            'validate' => 'color',
            'transparent' => false,
        ),
        array(
            'id' => 'continue_btn_text_color',
            'type' => 'color',
            'default' => '#ffffff',
            'title' => esc_html__('Continue shopping button text color', 'apper'),
            'subtitle' => esc_html__('Set button text color color. ', 'apper'),
            'validate' => 'color',
            'transparent' => false,
        ),
        array(
            'id' => 'continue_btn_hover_bg_color',
            'type' => 'color',
            'default' => '#e38676',
            'title' => esc_html__('Continue shopping button hover color', 'apper'),
            'subtitle' => esc_html__('Set button hover background color. ', 'apper'),
            'validate' => 'color',
            'transparent' => false,
        ),
        array(
            'id' => 'continue_btn_hover_text_color',
            'type' => 'color',
            'default' => '#ffffff',
            'title' => esc_html__('Continue shopping button hover text color', 'apper'),
            'subtitle' => esc_html__('Set button hover text color. ', 'apper'),
            'validate' => 'color',
            'transparent' => false,
        ),

        array(
            'id' => 'chkout_btn_bg_color',
            'type' => 'color',
            'default' => '#1d2530',
            'title' => esc_html__('Checkout button color', 'apper'),
            'subtitle' => esc_html__('Set button background color. ', 'apper'),
            'validate' => 'color',
            'transparent' => false,
        ),
        array(
            'id' => 'chkout_btn_text_color',
            'type' => 'color',
            'default' => '#ffffff',
            'title' => esc_html__('Checkout button text color', 'apper'),
            'subtitle' => esc_html__('Set button text color color. ', 'apper'),
            'validate' => 'color',
            'transparent' => false,
        ),
        array(
            'id' => 'chkout_btn_hover_bg_color',
            'type' => 'color',
            'default' => '#121823',
            'title' => esc_html__('Checkout button hover color', 'apper'),
            'subtitle' => esc_html__('Set button hover background color. ', 'apper'),
            'validate' => 'color',
            'transparent' => false,
        ),
        array(
            'id' => 'chkout_btn_hover_text_color',
            'type' => 'color',
            'default' => '#ffffff',
            'title' => esc_html__('Checkout button hover text color', 'apper'),
            'subtitle' => esc_html__('Set button hover text color. ', 'apper'),
            'validate' => 'color',
            'transparent' => false,
        ),

    )
));

Redux::set_section($opt_name, array(
    'title' => esc_html__('Blog Settings', 'apper'),
    'id' => 'bks-blog-settings',
    'icon' => 'el el-pencil-alt',
));

Redux::set_section($opt_name, array(
    'title' => esc_html__('Loop post settings', 'apper'),
    'id' => 'bks-blog-loop-settings',
    'subsection' => true,
    'fields' => array(
        array(
            'id' => 'blog_layout',
            'type' => 'image_select',
            'title' => __('Select Blog Layout', 'apper'),
            'subtitle' => __('Select sidebar location.', 'apper'),
            'options' => array(
                'left' => array(
                    'alt' => 'Left Sidebar',
                    'img' => ACMBASE_IMG_DIR_URI . 'layout-left-bar.png'
                ),
                'right' => array(
                    'alt' => 'Right Sidebar',
                    'img' => ACMBASE_IMG_DIR_URI . 'layout-right-bar.png'
                ),
                'fullwidth' => array(
                    'alt' => 'Full Width',
                    'img' => ACMBASE_IMG_DIR_URI . 'layout-full-width.png'
                ),
            ),
            'default' => 'fullwidth'
        ),
        array(
            'id' => 'blog_col_layout',
            'type' => 'radio',
            'title' => __('Number of columns for blog list', 'apper'),
            'desc' => __('Select number of columns for blog index page.', 'apper'),
            'options' => array(
                '3' => esc_html__('3 Column', 'apper'),
                '2' => esc_html__('2 Column', 'apper'),
                '1' => esc_html__('Single Column', 'apper'),

            ),
            'default' => '3',
        ),
        array(
            'id' => 'posts_per_page_on_search',
            'type' => 'slider',
            'title' => __('Search posts per page', 'apper'),
            'subtitle' => __('Set number of posts to show per search page.', 'apper'),
            "default" => 10,
            "min" => 1,
            "step" => 1,
            "max" => 20,
            'display_value' => 'label'
        ),
        array(
            'id' => 'show_author_bio',
            'type' => 'checkbox',
            'title' => esc_html__('Show author biography on single page', 'apper'),
            'default' => '1'
        ),
        array(
            'id' => 'show_author_socials',
            'type' => 'checkbox',
            'title' => esc_html__('Show author social pages', 'apper'),
            'default' => '1'
        ),
        array(
            'id' => 'blog_title_typography',
            'type' => 'typography',
            'title' => esc_html__('Blog title typography', 'apper'),
            'google' => true,
            'font-backup' => true,
            'color' => false,
            'font-style' => false,
            'text-align' => false,
            'desc' => esc_html__('Blog header title typography settings.', 'apper'),
            'default' => array(
                'color' => '#1d2530',
                'font-weight' => '700',
                'font-family' => 'Jost',
                'google' => true,
                'font-size' => '48px',
                'line-height' => '25'
            ),
        ),
        array(
            'id' => 'blog_excerpt_length',
            'type' => 'slider',
            'title' => __('Blog excerpt length', 'apper'),
            'subtitle' => __('Number of words to show blog excerpt.', 'apper'),
            "default" => 30,
            "min" => 10,
            "step" => 1,
            "max" => 100,
            'display_value' => 'label'
        ),
        array(
            'id' => 'multi_col_blog_excerpt_length',
            'type' => 'slider',
            'title' => __('Multi column blog excerpt length', 'apper'),
            'subtitle' => __('Number of words to show blog excerpt on multi-column blog page.', 'apper'),
            "default" => 15,
            "min" => 10,
            "step" => 1,
            "max" => 50,
            'display_value' => 'label'
        ),

        array(
            'id' => 'blog_header_title',
            'type' => 'radio',
            'title' => __('Blog single page header title', 'apper'),
            'desc' => __('Select the header title to show on single blog posts.', 'apper'),
            'options' => array(
                'post-title' => esc_html__('Post title', 'apper'),
                'blog' => esc_html__('Text - Blog', 'apper'),
            ),
            'default' => 'post-title',
        ), 

        array(
            'id' => 'blog_loop_post_title',
            'type' => 'link_color',
            'title' => esc_html__(' Blog Posts list title color', 'apper'),
            'subtitle' => esc_html__('post title color', 'apper'),
            'desc' => esc_html__('Select the blog list title color.', 'apper'),
            'default' => array(
                'regular' => '#32236f',
                'hover' => '#2b205a',
                'active' => '#2b205a',
                'visited' => '#2b205a',
            )
        ),

        array(
            'id' => 'blog_loop_post_categories_color',
            'type' => 'link_color',
            'title' => esc_html__('Blog post list categories Color ', 'apper'),
            'subtitle' => esc_html__('categories text color', 'apper'),
            'desc' => esc_html__('Select the color for blog posts list categories text color.', 'apper'),
            'default' => array(
                'regular' => '#007bff',
                'hover' => '#6a49f2',
            )
        ),

        array(
            'id' => 'post_content_color',
            'type' => 'color',
            'default' => '#3e3f66',
            'title' => esc_html__('Post list content color', 'apper'),
            'subtitle' => esc_html__('Select the blog post list  content color.', 'apper'),
            'validate' => 'color',
            'transparent' => false,
        ),

        array(
            'id' => 'blog_loop_date_color',
            'type' => 'color',
            'default' => '#ffffff',
            'title' => esc_html__('Post list date text color', 'apper'),
            'subtitle' => esc_html__('Select the blog post list date color.', 'apper'),
            'validate' => 'color',
            'transparent' => false,
        ),

        array(
            'id' => 'blog_loop_date_background_color',
            'type' => 'color',
            'default' => '#6a49f2',
            'title' => esc_html__('Post list date background  color', 'apper'),
            'subtitle' => esc_html__('Select the blog post list date background color.', 'apper'),
            'validate' => 'color',
            'transparent' => false,
        ),

        array(
            'id' => 'blog_loop_readmore_color',
            'type' => 'link_color',
            'title' => esc_html__('Blog post list readmore  Color ', 'apper'),
            'subtitle' => esc_html__('Readmore color', 'apper'),
            'desc' => esc_html__('Select the color for blog posts list readmore link color.', 'apper'),
            'default' => array(
                'regular' => '#6a49f2',
                'hover' => '#6a49f2',
                'active' => '#6a49f2',
                'visited' => '#6a49f2',
            )
        ),
       
    )
));

Redux::set_section($opt_name, array(
    'title' => esc_html__('Single page Settings', 'apper'),
    'id' => 'bks-blog-single-settings',
    'subsection' => true,
    'fields' => array(
        array(
            'id' => 'post_title_color',
            'type' => 'color',
            'default' => '#32236f',
            'title' => esc_html__('Post title color', 'apper'),
            'subtitle' => esc_html__('Select the blog title color.', 'apper'),
            'validate' => 'color',
            'transparent' => false,
        ),
        array(
            'id' => 'categories_text_color',
            'type' => 'link_color',
            'title' => esc_html__('Post categories Color', 'apper'),
            'subtitle' => esc_html__('categories text color', 'apper'),
            'desc' => esc_html__('Select the color for blog post categories  color.', 'apper'),
            'default' => array(
                'regular' => '#6a49f2',
                'hover' => '#563bc5',
            )
        ),
        array(
            'id' => 'single_page_post_date_color',
            'type' => 'color',
            'default' => '#3e3f66',
            'title' => esc_html__('Post date color', 'apper'),
            'subtitle' => esc_html__('Select the single page post date color.', 'apper'),
            'validate' => 'color',
            'transparent' => false,
        ),
        array(
            'id' => 'single_page_meta_sep_color',
            'type' => 'color',
            'default' => '#3e3f66',
            'title' => esc_html__('Post meta separator color', 'apper'),
            'subtitle' => esc_html__('Select the post meta separator color.', 'apper'),
            'validate' => 'color',
            'transparent' => false,
        ),
        array(
            'id' => 'related_blog_posts_count',
            'type' => 'slider',
            'title' => __('Related blog posts count', 'apper'),
            'subtitle' => __('Set number of posts to show.', 'apper'),
            "default" => 3,
            "min" => 1,
            "step" => 1,
            "max" => 12,
            'display_value' => 'label'
        ),
        array(
            'id' => 'related_blog_posts_cols',
            'type' => 'slider',
            'title' => __('Related blog posts columns', 'apper'),
            'subtitle' => __('Set number of post columns to show.', 'apper'),
            "default" => 3,
            "min" => 2,
            "step" => 1,
            "max" => 4,
            'display_value' => 'label'
        ),
        array(
            'id' => 'single_adjac_post_link_color',
            'type' => 'color',
            'default' => '#3e3f66',
            'title' => esc_html__('Post navigation color', 'apper'),
            'subtitle' => esc_html__('Select the previous post and next post link color.', 'apper'),
            'validate' => 'color',
            'transparent' => false,
        ),
    )
)
);

Redux::set_section(
    $opt_name,
    array(
        'title' => esc_html__('Blog sidebar settings', 'apper'),
        'id' => 'bks-blog-sidebar-settings',
        'subsection' => true,
        'fields' => array(
            array(
                'id' => 'widget_title_color',
                'type' => 'color',
                'default' => '#32236f',
                'title' => esc_html__('Widget title', 'apper'),
                'subtitle' => esc_html__('Select the blog sidebar widget title color.', 'apper'),
                'validate' => 'color',
                'transparent' => false,
            ),

            array(
                'id' => 'widget_link_and_hover_color',
                'type' => 'link_color',
                'title' => esc_html__('Widget link and hover color', 'apper'),
                'subtitle' => esc_html__('Sidebar link text color', 'apper'),
                'desc' => esc_html__('Select the color for  post sidebar widget link and hover color.', 'apper'),
                'default' => array(
                    'regular' => '#3e3f66',
                    'hover' => '#32236f',
                )
            ),

            array(
                'id' => 'search_box_border_color',
                'type' => 'color',
                'default' => '#cec6ef',
                'title' => esc_html__('Search box border color', 'apper'),
                'subtitle' => esc_html__('Select the post sidebar widget search box border color.', 'apper'),
                'validate' => 'color',
                'transparent' => false,
            ),

            array(
                'id' => 'search_box_background_color',
                'type' => 'link_color',
                'title' => esc_html__('Search box button background color', 'apper'),
                'subtitle' => esc_html__('Search button background  color', 'apper'),
                'desc' => esc_html__('Select the post sidebar widget search box background color.', 'apper'),
                'default' => array(
                    'regular' => '#6a49f2',
                    'hover' => '#fff',
                )
            ),

            array(
                'id' => 'search_box_text_color',
                'type' => 'link_color',
                'title' => esc_html__('Search box button text color', 'apper'),
                'subtitle' => esc_html__('Select search button text  color', 'apper'),
                'desc' => esc_html__('Select the post sidebar widget search box text color.', 'apper'),
                'default' => array(
                    'regular' => '#fff',
                    'hover' => '#fff',
                )
            ),


        )
    )
);

Redux::set_section($opt_name, array(
    'title' => __('Footer Settings', 'apper'),
    'id' => 'footer_styles',
    'icon' => 'el el-photo'
));

Redux::set_section($opt_name, array(
    'title' => esc_html__('Enable/Disable Footer', 'apper'),
    'id' => 'footer_customize',
    'subsection' => true,
    'fields' => array(
        array(
            'id' => 'hide_footer_widgets',
            'type' => 'checkbox',
            'title' => esc_html__('Hide footer widgets throughout the site', 'apper'),
            'subtitle' => __('Note: when disabled, adjust the padding of "Subscribe form" in homepage using Elementor.', 'apper'),
            'default' => '0'
        ),
        array(
            'id' => 'hide_footer_copyright',
            'type' => 'checkbox',
            'title' => esc_html__('Hide footer copyright row throughout the site', 'apper'),
            'default' => '0'
        ),
    )
));


Redux::set_section($opt_name, array(
    'title' => esc_html__('Footer Top Styles', 'apper'),
    'id' => 'footer_top_settings',
    'subsection' => true,
    'fields' => array(
        array(
            'id' => 'footer_subscribe_form_id',
            'type' => 'text',
            'title' => esc_html__('Enter subscribe form elementor template id', 'apper'),
            'subtitle' => __('Show email subscription form on all pages except homepage.', 'apper'),
            'desc' => sprintf('<a href="%s">%s</a>', admin_url('edit.php?post_type=elementor_library&tabs_group=library&elementor_library_type=section'), esc_html__('You can find the template id here or create your own.', 'apper')),
            'default' => 3020,
        ),
        array(
            'id' => 'footer_columns',
            'type' => 'slider',
            'title' => __('Footer columns', 'apper'),
            'subtitle' => __('Set number of footer columns to show.', 'apper'),
            "default" => 4,
            "min" => 1,
            "step" => 1,
            "max" => 4,
            'display_value' => 'label'
        ),
        array(
            'id' => 'footer_top_padding',
            'type' => 'slider',
            'title' => __('Footer top padding', 'apper'),
            'subtitle' => __('Set footer top space in px.', 'apper'),
            "default" => 95,
            "min" => 5,
            "step" => 1,
            "max" => 400,
            'display_value' => 'label'
        ),
        array(
            'id' => 'footer_btm_padding',
            'type' => 'slider',
            'title' => __('Footer bottom padding', 'apper'),
            'subtitle' => __('Set footer bottom space in px..', 'apper'),
            "default" => 95,
            "min" => 5,
            "step" => 1,
            "max" => 400,
            'display_value' => 'label'
        ),
        array(
            'id' => 'footer_bg_color',
            'type' => 'color',
            'default' => '#583BD3',
            'title' => esc_html__('Footer background color', 'apper'),
            'subtitle' => esc_html__('Footer top row background color. ', 'apper'),
            'validate' => 'color',
            'transparent' => false,
        ),
        array(
            'id' => 'footer_typography',
            'type' => 'typography',
            'title' => esc_html__('Footer Typography', 'apper'),
            'google' => true,
            'font-backup' => true,
            'color' => false,
            'font-style' => false,
            'text-align' => false,
            'desc' => esc_html__('Footer text and links typography settings.', 'apper'),
            'default' => array(
                'color' => '#fff',
                'font-weight' => '600',
                'font-family' => 'Jost',
                'google' => true,
                'font-size' => '14px',
                'line-height' => '25'
            ),
        ),
        array(
            'id' => 'footer_heading_typography',
            'type' => 'typography',
            'title' => esc_html__('Footer widgets title typography', 'apper'),
            'google' => true,
            'font-backup' => true,
            'color' => false,
            'font-style' => false,
            'text-align' => false,
            'desc' => esc_html__('Footer widgets title typography settings.', 'apper'),
            'default' => array(
                'color' => '#fff',
                'font-weight' => '600',
                'font-family' => 'Jost',
                'google' => true,
                'font-size' => '20px',
                'line-height' => '25'
            ),
        ),
        array(
            'id' => 'footer_heading_color',
            'type' => 'color',
            'default' => '#ffffff',
            'title' => esc_html__('Footer heading color', 'apper'),
            'subtitle' => esc_html__('Footer heading text color. ', 'apper'),
            'validate' => 'color',
            'transparent' => false,
        ),
        array(
            'id' => 'footer_text_color',
            'type' => 'color',
            'default' => '#cbcfd6',
            'title' => esc_html__('Footer text color', 'apper'),
            'subtitle' => esc_html__('Footer top row text color. ', 'apper'),
            'validate' => 'color',
            'transparent' => false,
        ),
        array(
            'id' => 'footer_link_color',
            'type' => 'link_color',
            'title' => esc_html__('Footer link text color', 'apper'),
            'desc' => esc_html__('Footer top row link text color.', 'apper'),
            'active' => false,
            'default' => array(
                'regular' => '#cbcfd6',
                'hover' => '#ffffff',
            ),
        ),
    )
));

Redux::set_section($opt_name, array(
    'title' => esc_html__('Footer Bottom Styles', 'apper'),
    'id' => 'footer_btm_settings',
    'subsection' => true,
    'fields' => array(
        array(
            'id' => 'footer_bottom_bg_color',
            'type' => 'color',
            'default' => '#6a49f2',
            'title' => esc_html__('Footer bottom background color', 'apper'),
            'subtitle' => esc_html__('Footer bottom row background color. ', 'apper'),
            'validate' => 'color',
            'transparent' => false,
        ),

        array(
            'id' => 'footer_btm_typography',
            'type' => 'typography',
            'title' => esc_html__('Footer bottom Typography', 'apper'),
            'google' => true,
            'font-backup' => true,
            'color' => false,
            'font-style' => false,
            'text-align' => false,
            'desc' => esc_html__('Footer text and links typography settings.', 'apper'),
            'default' => array(
                'color' => '#f1f2f5',
                'font-weight' => '600',
                'font-family' => 'Jost',
                'google' => true,
                'font-size' => '14px',
                'line-height' => '25'
            ),
        ),
        array(
            'id' => 'footer_bottom_text_color',
            'type' => 'color',
            'default' => '#ffffff',
            'title' => esc_html__('Footer text color', 'apper'),
            'subtitle' => esc_html__('Footer bottom row text color. ', 'apper'),
            'validate' => 'color',
            'transparent' => false,
        ),
        array(
            'id' => 'footer_bottom_link_color',
            'type' => 'link_color',
            'title' => esc_html__('Footer link text color', 'apper'),
            'desc' => esc_html__('Footer bottom row link text color.', 'apper'),
            'active' => false,
            'default' => array(
                'regular' => '#cbcfd6',
                'hover' => '#ffffff',
            ),
        ),
        array(
            'id' => 'footer_copyright_text',
            'type' => 'textarea',
            'title' => esc_html__('Footer left column content', 'apper'),
            'desc' => esc_html__('Put your copyright information here.', 'apper'),
            'default' => esc_html__('Copyright', 'apper') . ' ' . date('Y') . ' ' . get_bloginfo('name') . '. ' . esc_html__('All Rights Reserved.', 'apper'),
        ),
        array(
            'id' => 'right_col_content',
            'type' => 'editor',
            'title' => esc_html__('Footer right column content', 'apper'),
            'desc' => esc_html__('Put your content to show on right column.', 'apper'),
        ),
    )
));

Redux::set_section($opt_name, array(
    'title' => __('Match height', 'apper'),
    'id' => 'bks-match-height',
    'icon' => 'el el-pause',
    'fields' => array(
        array(
            'id' => 'prod_grid_enable_matchheight',
            'type' => 'checkbox',
            'title' => esc_html__('Enable equal heights for product grid divs.', 'apper'),
            'subtitle' => esc_html__('Select to enable equal heights for product grid divs.', 'apper'),
            'default' => '1',
        ),

    )
));

Redux::set_section($opt_name, array(
    'title' => __('Social Icons', 'apper'),
    'desc' => __('Social icons links', 'apper'),
    'id' => 'topbar_socials',
    'icon' => 'el el-share',
    'fields' => array(
        array(
            'id' => 'footer_social_icon_color',
            'type' => 'color',
            'default' => '#ffffff',
            'title' => esc_html__('Footer social icon color', 'apper'),
            'validate' => 'color',
            'transparent' => false,
        ),
        array(
            'id' => 'footer_social_icon_bg_color',
            'type' => 'color',
            'title' => esc_html__('Footer social icon background color', 'apper'),
            'active' => false,
            'default' => '',
            'transparent' => true,
        ),
        array(
            'id' => 'footer_social_icon_border_color',
            'type' => 'color',
            'title' => esc_html__('Footer social icon border color', 'apper'),
            'active' => false,
            'default' => '',
            'transparent' => true,
        ),
        array(
            'id' => 'footer_social_hover_icon_color',
            'type' => 'color',
            'default' => '#6a49f2',
            'title' => esc_html__('Footer social icon hover color', 'apper'),
            'validate' => 'color',
            'transparent' => false,
        ),
        array(
            'id' => 'footer_social_icon_hover_bg_color',
            'type' => 'color',
            'title' => esc_html__('Footer social icon hover background color', 'apper'),
            'active' => false,
            'default' => '#ffffff',
            'transparent' => true,
        ),
        array(
            'id' => 'footer_social_icon_hover_border_color',
            'type' => 'color',
            'title' => esc_html__('Footer social icon hover border color', 'apper'),
            'active' => false,
            'default' => '',
            'transparent' => true,
        ),
        array(
            'id' => 'topbar_social_google',
            'type' => 'text',
            'title' => __('Google', 'apper'),
            'desc' => __('Put google link here.', 'apper'),
        ),
        array(
            'id' => 'topbar_social_dribbble',
            'type' => 'text',
            'title' => __('Dribbble', 'apper'),
            'desc' => __('Put dribbble link here.', 'apper'),
        ),
        array(
            'id' => 'topbar_social_email',
            'type' => 'text',
            'title' => __('Email', 'apper'),
            'desc' => __('Put email link here.', 'apper'),
        ),
        array(
            'id' => 'topbar_social_facebook',
            'type' => 'text',
            'title' => __('Facebook', 'apper'),
            'desc' => __('Put facebook link here.', 'apper'),
        ),
        array(
            'id' => 'topbar_social_github',
            'type' => 'text',
            'title' => __('Github', 'apper'),
            'desc' => __('Put github link here.', 'apper'),
        ),
        array(
            'id' => 'topbar_social_instagram',
            'type' => 'text',
            'title' => __('Instagram', 'apper'),
            'desc' => __('Put instagram link here.', 'apper'),
        ),
        array(
            'id' => 'topbar_social_linkedin',
            'type' => 'text',
            'title' => __('LinkedIn', 'apper'),
            'desc' => __('Put linkedin link here.', 'apper'),
        ),
        array(
            'id' => 'topbar_social_pinterest',
            'type' => 'text',
            'title' => __('Pinterest', 'apper'),
            'desc' => __('Put pinterest link here.', 'apper'),
        ),
        array(
            'id' => 'topbar_social_rss',
            'type' => 'text',
            'title' => __('RSS', 'apper'),
            'desc' => __('Put RSS link here.', 'apper'),
        ),
        array(
            'id' => 'topbar_social_skype',
            'type' => 'text',
            'title' => __('Skype', 'apper'),
            'desc' => __('Put skype link here.', 'apper'),
        ),
        array(
            'id' => 'topbar_social_twitter',
            'type' => 'text',
            'title' => __('Twitter', 'apper'),
            'desc' => __('Put twitter link here.', 'apper'),
        ),
        array(
            'id' => 'topbar_social_youtube',
            'type' => 'text',
            'title' => __('Youtube', 'apper'),
            'desc' => __('Put youtube link here.', 'apper'),
        ),
        array(
            'id' => 'topbar_social_vimeo',
            'type' => 'text',
            'title' => __('Vimeo', 'apper'),
            'desc' => __('Put vimeo link here.', 'apper'),
        ),
    )
));

Redux::set_section($opt_name, array(
    'title' => esc_html__('Error page', 'apper'),
    'id' => 'error_page_settings',
    'icon' => 'el el-brush',
));

Redux::set_section($opt_name, array(
    'title' => esc_html__('404 Settings', 'apper'),
    'id' => 'error-settings',
    'subsection' => true,
    'fields' => array(
        array(
            'id' => 'error_image',
            'type' => 'media',
            'preview' => true,
            'title' => esc_html__('Upload 404 image', 'apper'),
        ),
        array(
            'id' => 'error404-title',
            'type' => 'text',
            'title' => esc_html__('404 heading', 'apper'),
            'desc' => esc_html__('404 page heading.', 'apper'),
            'default' => 'PAGE NOT FOUND!',
        ),
        array(
            'id' => 'error404-desc',
            'type' => 'textarea',
            'title' => esc_html__('404 description', 'apper'),
            'desc' => esc_html__('404 page description.', 'apper'),
            'default' => 'WE ARE SORRY, BUT THE WEB ADDRESS YOU HAVE ENTERED IS NO LONGER AVAILABLE.',
        ),
    )
));

Redux::set_section($opt_name, array(
    'title' => esc_html__('Custom CSS', 'apper'),
    'id' => 'custom_css',
    'icon' => 'el el-css',
    'fields' => array(
        array(
            'id' => 'acmthemes_custom_css',
            'type' => 'ace_editor',
            'mode' => 'css',
            'theme' => 'monokai',
            'title' => esc_html__('Custom CSS', 'apper'),
            'desc' => esc_html__("Custom css will override the theme's styles.", 'apper'),
        ),
    )
));

$help_content = '
<div class="acm-help-content">
        <ul>
            <li>
                <a href="https://hostacmee.space/docs/apper/" target="_blank">
                    <span>
                        <i aria-hidden="true" class="icon icon-book-open"></i>
                    </span>
                    <div class="acm-help-content">
                        ' . esc_html__('Documentation', 'apper') . '
                        <span class="acm-help-desc"> '. esc_html__('Theme information.', 'apper') . '</span>
                    </div>
                </a>
            </li>
            <li>
                <a href="https://acmeedesign.support/helpproduct/apper-wordpress-landing-page-theme/" target="_blank">
                    <span>
                        <i aria-hidden="true" class="icon icon-notebook"></i>
                    </span>
                    <div class="acm-help-content">'
                        . esc_html__('Knowledge base', 'apper') .
                        '<span class="acm-help-desc">' . esc_html__('Knowledge base topics.', 'apper') . '</span>
                    </div>
                </a>
            </li>
            <li>
                <a href="https://envato.acmeedesign.support/" target="_blank">
                    <span>
                        <i aria-hidden="true" class="icon icon-earphones-alt"></i>
                    </span>
                    <div class="acm-help-content">'
                        . esc_html__('Submit ticket', 'apper') .
                        '<span class="acm-help-desc">' . esc_html__("Need help with a query or an issue?", "apper") . '</span>
                    </div>
                </a>
            </li>
        </ul>
    <span><small><i aria-hidden="true" class="icon icon-info"></i> This button will show only to administrator users.</small></span>
    </div>';

Redux::set_section($opt_name, array(
    'title' => __('Theme Help', 'apper'),
    'id' => 'theme_help',
    'icon' => 'el el-question-sign',
    'fields' => array(
        array(
            'id' => 'help_links',
            'type'     => 'raw',
            'title'    => esc_html__('Apper WordPress Theme Help', 'apper'),
            'subtitle' => esc_html__('Need assistance with theme customization or encountering any issues where we can extend our support to help you?', 'apper'),
            'content'  => $help_content
        ),
        array(
            'id' => 'disable_help_btn_adminarea',
            'type'     => 'switch',
            'title' => esc_html__('Disable Apper help button admin area.', 'apper'),
            'subtitle' => esc_html__('Disable help button for all user roles.', 'apper'),
            'default' => false,
        ),
    )
));

/*
 * <--- END SECTIONS
 */

Spamworldpro Mini