芝麻web文件管理V1.00
编辑当前文件:/home/prismawe/backup/gerard-philippe-peinture.fr/wp-content/themes/saral/admin/theme-options.php
SET ARGUMENTS * All the possible arguments for Redux. * For full documentation on arguments, please refer to: https://github.com/ReduxFramework/ReduxFramework/wiki/Arguments * */ $theme = wp_get_theme(); // For use with some settings. Not necessary. $args = array( // TYPICAL -> Change these values as you need/desire 'opt_name' => $opt_name, // This is where your data is stored in the database and also becomes your global variable name. 'display_name' => $theme->get( 'Name' ), // Name that appears at the top of your panel 'display_version' => $theme->get( 'Version' ), // Version that appears at the top of your panel 'menu_type' => 'menu', //Specify if the admin menu should appear or not. Options: menu or submenu (Under appearance only) 'allow_sub_menu' => true, // Show the sections below the admin menu item or not 'menu_title' => esc_html__( 'Theme Options', 'saral' ), 'page_title' => esc_html__( 'Theme Options', 'saral' ), // You will need to generate a Google API key to use this feature. // Please visit: https://developers.google.com/fonts/docs/developer_api#Auth 'google_api_key' => '', // Set it you want google fonts to update weekly. A google_api_key value is required. 'google_update_weekly' => false, // Must be defined to add google fonts to the typography module 'async_typography' => true, // Use a asynchronous font on the front end or font string //'disable_google_fonts_link' => true, // Disable this in case you want to create your own google fonts loader 'admin_bar' => 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 'forced_dev_mode_off' => true, 'disable_tracking' => true, 'update_notice' => true, // 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' => '', // Page slug used to denote the panel, will be based off page title then menu title then opt_name if not provided 'save_defaults' => true, // On load save the defaults to DB before user clicks save or not 'default_show' => false, // If true, shows the default value next to each field that is not the default value. 'default_mark' => '', // What to print by the field's title if the value shown is default. Suggested: * 'show_import_export' => true, // Shows the Import/Export panel when not used as a field. // CAREFUL -> These options are for advanced use only 'transient_time' => 60 * MINUTE_IN_SECONDS, 'output' => true, // Global shut-off for dynamic CSS output by the framework. Will also disable google fonts output 'output_tag' => true, // Allows dynamic CSS to be generated for customizer and google fonts, but stops the dynamic CSS from going to the head // 'footer_credit' => '', // Disable the footer credit of Redux. Please leave if you can help it. // FUTURE -> Not in use yet, but reserved or partially implemented. Use at your own risk. 'database' => '', // possible: options, theme_mods, theme_mods_expanded, transient. Not fully functional, warning! 'use_cdn' => true, // If you prefer not to use the CDN for Select2, Ace Editor, and others, you may download the Redux Vendor Support plugin yourself and run locally or embed it in your code. // HINTS 'hints' => array( 'icon' => 'el el-question-sign', 'icon_position' => 'right', 'icon_color' => 'lightgray', 'icon_size' => 'normal', 'tip_style' => array( 'color' => 'red', 'shadow' => true, 'rounded' => false, 'style' => '', ), 'tip_position' => array( 'my' => 'top left', 'at' => 'bottom right', ), 'tip_effect' => array( 'show' => array( 'effect' => 'slide', 'duration' => '500', 'event' => 'mouseover', ), 'hide' => array( 'effect' => 'slide', 'duration' => '500', 'event' => 'click mouseleave', ), ), ) ); Redux::setArgs( $opt_name, $args ); // -> START General Options Redux::setSection( $opt_name, array( 'title' => esc_html__( 'General Options', 'saral' ), 'id' => 'general_options', 'desc' => esc_html__( 'Theme general options!', 'saral' ), 'customizer_width' => '400px', 'icon' => 'el el-cogs', 'fields' => array( array( 'id' => 'site_layout', 'type' => 'button_set', 'title' => esc_html__( 'Site Layout', 'saral' ), 'subtitle' => esc_html__( 'Set the layout of your site', 'saral' ), 'desc' => esc_html__( '', 'saral' ), //Must provide key => value pairs for radio options 'options' => array( 'full' => 'Full Width', 'boxed' => 'Boxed', ), 'default' => 'full' ), array( 'id' => 'container_width', 'type' => 'text', 'title' => esc_html__( 'Container Width', 'saral' ), 'subtitle' => esc_html__( 'Set the container width', 'saral' ), 'desc' => esc_html__( '', 'saral' ), 'default' => '1170px', ), array( 'id' => 'hide_page_loader', 'type' => 'switch', 'title' => esc_html__('Enable/Disable Page loader','saral'), 'subtitle' => esc_html__('Set off to disable page loader.','saral'), 'desc' => esc_html__( ' ', 'saral' ), 'default' => true ), array( 'id' => 'page_spacing', 'type' => 'spacing', 'mode' => 'padding', 'units' => array('em','px','%'), 'title' => esc_html__('Page Spacing', 'saral'), 'subtitle' => esc_html__('Set the page spacing from top and bottom', 'saral'), 'desc' => esc_html__('', 'saral'), 'left' => false, 'right' => false, 'default' => array( 'padding-top' => '70px', 'padding-bottom' => '70px', ), ), array( 'id' => 'code_before_head', 'type' => 'textarea', 'title' => esc_html__( 'Code Before Closing Head Tag', 'saral' ), 'subtitle' => esc_html__( 'Enter code that you want to place before closing the head tag', 'saral' ), 'desc' => esc_html__( '', 'saral' ), 'default' => '', ), array( 'id' => 'code_before_body', 'type' => 'textarea', 'title' => esc_html__( 'Code before Closing Body Tag ', 'saral' ), 'subtitle' => esc_html__( 'Enter code that you want to place before closing the body tag', 'saral' ), 'desc' => esc_html__( '', 'saral' ), 'default' => '', ), array( 'id' => 'google_api_key', 'type' => 'text', 'title' => esc_html__( 'Google Api Key', 'saral' ), 'subtitle' => esc_html__( 'Enter the google api key to build the maps on site', 'saral' ), 'desc' => esc_html__( '', 'saral' ), 'default' => '', ), array( 'id' => 'general_border_radius', 'type' => 'button_set', 'title' => esc_html__( 'Design Layout', 'saral' ), 'subtitle' => esc_html__( 'Select the site border, icon layout etc', 'saral' ), 'desc' => esc_html__( '', 'saral' ), 'options' => array( 'round' => 'Rounded', 'square' => 'Square', ), 'default' => 'round' ), ) ) ); // -> START Logo Options Redux::setSection( $opt_name, array( 'title' => esc_html__( 'Logo', 'saral' ), 'id' => 'logo_options', 'desc' => esc_html__( 'Theme logo options!', 'saral' ), 'customizer_width' => '400px', 'icon' => 'el el-picture', 'fields' => array( array( 'id' => 'logo', 'type' => 'media', 'url' => true, 'title' => esc_html__( 'Logo', 'saral' ), 'compiler' => 'true', 'desc' => esc_html__( '', 'saral' ), 'subtitle' => esc_html__( 'Upload the logo for your site', 'saral' ), 'default' => array( 'url' => get_template_directory_uri().'/images/logo.png' ), ), array( 'id' => 'logo_width', 'type' => 'slider', 'title' => esc_html__( 'Logo Width', 'saral' ), 'subtitle' => esc_html__( 'Logo Width.', 'saral' ), 'desc' => esc_html__( ' Min: 1, max: 500, step: 1, default value: 176', 'saral' ), 'default' => 176, 'min' => 1, 'step' => 1, 'max' => 500, 'display_value' => 'label' ), array( 'id' => 'enable_logo_dimensions', 'type' => 'checkbox', 'title' => esc_html__('Logo Dimensions', 'saral'), 'subtitle' => esc_html__('Enable logo dimensions', 'saral'), 'desc' => esc_html__('If checked then selected height applied.', 'saral'), 'default' => '0'// 1 = on | 0 = off ), array( 'id' => 'logo_height', 'type' => 'slider', 'title' => esc_html__( 'Logo Height', 'saral' ), 'subtitle' => esc_html__( 'Logo height.', 'saral' ), 'desc' => esc_html__( ' Min: 1, max: 500, step: 1, default value: 59', 'saral' ), 'default' => 59, 'min' => 1, 'step' => 1, 'max' => 500, 'display_value' => 'label' ), array( 'id' => 'logo_padding', 'type' => 'spacing', 'mode' => 'padding', 'units' => array('em','px','%'), 'units_extended' => 'false', 'title' => esc_html__('Logo Padding', 'saral'), 'subtitle' => esc_html__('Set the spacing of the logo.', 'saral'), 'desc' => esc_html__('Set the spacing of the logo.', 'saral'), 'left' => false, 'right' => false, 'default' => array( 'padding-top' => '15px', 'padding-bottom' => '15px', 'units' => 'px', ), ), array( 'id' => 'favicon', 'type' => 'media', 'url' => true, 'title' => esc_html__( 'Favicon', 'saral' ), 'compiler' => 'true', 'desc' => esc_html__( '', 'saral' ), 'subtitle' => esc_html__( 'Upload the favicon for your site', 'saral' ), 'default' => array( 'url' => get_template_directory_uri().'/images/favicon.png' ), ), ) ) ); // -> START Header Options Redux::setSection( $opt_name, array( 'title' => esc_html__( 'Header Options', 'saral' ), 'id' => 'header_options_wrap', 'desc' => esc_html__( 'Theme header options!', 'saral' ), 'customizer_width' => '400px', 'icon' => 'el el-credit-card', ) ); Redux::setSection( $opt_name, array( 'title' => esc_html__( 'Header Options', 'saral' ), 'id' => 'header_options', 'subsection' => true, 'desc' => esc_html__( 'Theme header options!', 'saral' ), 'customizer_width' => '400px', 'fields' => array( array( 'id' => 'full_width_header', 'type' => 'switch', 'title' => esc_html__('Full Width Header','saral'), 'subtitle' => esc_html__('Enable the full width header','saral'), 'desc' => esc_html__( ' ', 'saral' ), 'default' => false ), array( 'id' => 'main_menu', 'type' => 'select', 'data' => 'menus', 'title' => esc_html__( 'Main Menu', 'saral' ), 'subtitle' => esc_html__( 'Select the main menu for the site', 'saral' ), 'desc' => esc_html__( '', 'saral' ), ), array( 'id' => 'enable_sticky_menu', 'type' => 'switch', 'title' => esc_html__('Enable Sticky Menu','saral'), 'subtitle' => esc_html__('Enable sticky menu','saral'), 'desc' => esc_html__( ' ', 'saral' ), 'default' => true ), array( 'id' => 'header_type', 'type' => 'image_select', 'title' => esc_html__( 'Header Type', 'saral' ), 'subtitle' => esc_html__( 'Select header type for your site', 'saral' ), 'desc' => esc_html__( '', 'saral' ), //Must provide key => value(array:title|img) pairs for radio options 'options' => array( 'v1' => array( 'alt' => esc_attr__('Header-v1','saral'), 'img' => get_template_directory_uri() . '/images/header-1.jpg' ), 'v2' => array( 'alt' => esc_attr__('Header-v2','saral'), 'img' => get_template_directory_uri() . '/images/header-2.jpg' ), 'v3' => array( 'alt' => esc_attr__('Header-v3','saral'), 'img' => get_template_directory_uri() . '/images/header-3.jpg', ), 'v4' => array( 'alt' => esc_attr__('Header-v4','saral'), 'img' => get_template_directory_uri() . '/images/header-4.jpg', ), 'v5' => array( 'alt' => esc_attr__('Header-v5','saral'), 'img' => get_template_directory_uri() . '/images/header-5.jpg', ), ), 'default' => 'v4' ), array( 'id' => 'header_info_options_section', 'type' => 'info', 'style' => 'info', 'title' => esc_html__( 'Transparent header info', 'saral' ), 'desc' => esc_html__( 'If you want to make header transparent then check the checkbox taransparent with Header Background, Header Top Bar Background, Header Middle Bar Background, Header Bottom Bar Background. and you can control the transparency from the Header Background Opacity field' , 'saral' ) ), array( 'id' => 'header_bg', 'type' => 'background', 'title' => esc_html__( 'Header Background', 'saral' ), 'subtitle' => esc_html__( 'Select header background with image, color, etc.', 'saral' ), 'background-repeat' => false, 'background-attachment' => false, 'background-position' => false, 'transparent' => false, 'background-image' => false, 'background-size' => false, 'default' => array( 'background-color' => '#ffffff', ), 'mode' => 'background', ), array( 'id' => 'enable_transparent_header', 'type' => 'checkbox', 'title' => esc_html__('Enable transparent header.', 'saral'), 'subtitle' => esc_html__('Check to enable transparent header.', 'saral'), 'desc' => esc_html__('', 'saral'), 'default' => false, ), array( 'id' => 'home_transparent_header', 'type' => 'checkbox', 'title' => esc_html__('Enable transparent header on homepage.', 'saral'), 'subtitle' => esc_html__('Check to enable transparent header only on home page.', 'saral'), 'desc' => esc_html__('', 'saral'), 'default' => false, ), array( 'id' => 'transparent_header_bg', 'type' => 'background', 'title' => esc_html__( 'Transparent Header Background', 'saral' ), 'subtitle' => esc_html__( 'Select the transparent header background with image, color, etc.', 'saral' ), 'background-repeat' => false, 'background-attachment' => false, 'background-position' => false, 'background-image' => false, 'background-size' => false, 'transparent' => false, 'default' => array( 'background-color' => '#000', ), 'mode' => 'background', ), array( 'id' => 'header_bg_opacity', 'type' => 'slider', 'title' => esc_html__( 'Header Background Opacity', 'saral' ), 'subtitle' => esc_html__( 'Header Background Opacity.', 'saral' ), 'desc' => esc_html__( ' Min: 0, max: 1, step: .1, default value: 1', 'saral' ), 'default' => 1, 'min' => 0, 'step' => 0.01, 'max' => 1, 'resolution' => 0.01, 'display_value' => 'label' ), array( 'id' => 'header_transparent_font_color', 'type' => 'link_color', 'title' => esc_html__( 'Transparent Header Font Color', 'saral' ), 'subtitle' => esc_html__( 'Set the properties of transparent header font color', 'saral' ), 'desc' => esc_html__( '', 'saral' ), 'active' => false, 'default' => array( 'regular' => '#1c1c1c', 'hover' => '#f8bb00', ) ), array( 'id' => 'header_font_color', 'type' => 'link_color', 'title' => esc_html__( 'Header Font Color', 'saral' ), 'subtitle' => esc_html__( 'Set the properties of header font color', 'saral' ), 'desc' => esc_html__( '', 'saral' ), 'active' => false, 'default' => array( 'regular' => '#1c1c1c', 'hover' => '#f8bb00', ) ), array( 'id' => 'header_top_bg', 'type' => 'background', 'title' => esc_html__( 'Header Top Bar Background', 'saral' ), 'subtitle' => esc_html__( 'Select top header background color, etc.', 'saral' ), 'background-repeat' => false, 'background-attachment' => false, 'background-position' => false, 'background-image' => false, 'background-size' => false, 'default' => array( 'background-color' => '#f8bb00', ), 'mode' => 'background', ), array( 'id' => 'header_top_font_color', 'type' => 'link_color', 'title' => esc_html__( 'Header Top Bar Font Color', 'saral' ), 'subtitle' => esc_html__( 'Specify the header font properties.', 'saral' ), 'hover' => false, 'active' => false, 'default' => array( 'regular' => '#ffffff', ), ), array( 'id' => 'header_middle_bg', 'type' => 'background', 'title' => esc_html__( 'Header Middle Bar Background', 'saral' ), 'subtitle' => esc_html__( 'Select middle header background color, etc.', 'saral' ), 'background-repeat' => false, 'background-attachment' => false, 'background-position' => false, 'background-image' => false, 'background-size' => false, 'default' => array( 'background-color' => '#ffffff', ), 'mode' => 'background', ), array( 'id' => 'header_middle_font_color', 'type' => 'link_color', 'title' => esc_html__( 'Header Middle Bar Font Color', 'saral' ), 'subtitle' => esc_html__( 'Set the properties of header middle bar font color', 'saral' ), 'desc' => esc_html__( '', 'saral' ), 'active' => false, 'default' => array( 'regular' => '#1c1c1c', 'hover' => '#f8bb00', ) ), array( 'id' => 'header_bottom_bg', 'type' => 'background', 'title' => esc_html__( 'Header Bottom Bar Background', 'saral' ), 'subtitle' => esc_html__( 'Select bottom header background color, etc.', 'saral' ), 'background-repeat' => false, 'background-attachment' => false, 'background-position' => false, 'background-image' => false, 'background-size' => false, 'default' => array( 'background-color' => '#ffffff', ), 'mode' => 'background', ), array( 'id' => 'header_border_color', 'type' => 'background', 'title' => esc_html__( 'Header Border Color', 'saral' ), 'subtitle' => esc_html__( 'Select header border color, etc.', 'saral' ), 'background-repeat' => false, 'background-attachment' => false, 'background-position' => false, 'background-image' => false, 'background-size' => false, 'default' => array( 'background-color' => '#f8bb00', ), 'mode' => 'background', ), array( 'id' => 'overlay_menu_options_section', 'type' => 'info', 'style' => 'info', 'title' => esc_html__( 'Overlay Menu Options', 'saral' ), 'desc' => esc_html__( '', 'saral' ) ), array( 'id' => 'header_overlay_color', 'type' => 'color_rgba', 'title' => esc_html__( 'Header Overlay Background Color', 'saral' ), 'subtitle' => esc_html__( 'Set the header overlay color.', 'saral' ), 'default' => array( 'color' => '#000000', 'alpha' => '0.75', 'rgba' => 'rgba(0,0,0,0.75)' ), 'mode' => 'background', ), array( 'id' => 'header_overlay_font_color', 'type' => 'link_color', 'title' => esc_html__( 'Header Overlay Font Color', 'saral' ), 'subtitle' => esc_html__( 'Specify the overlat header font properties.', 'saral' ), 'active' => false, 'default' => array( 'regular' => '#fff', 'hover' => '#fff', ), ), array( 'id' => 'overlay_menu1', 'type' => 'select', 'data' => 'menus', 'title' => esc_html__( 'Overlay Menu', 'saral' ), 'subtitle' => esc_html__( 'Select the overlay menu for the site', 'saral' ), 'desc' => esc_html__( '', 'saral' ), ), array( 'id' => 'enable_overlay_search', 'type' => 'switch', 'title' => esc_html__('Enable Search Box In Overlay','saral'), 'subtitle' => esc_html__('Enable Search Box In Overlay','saral'), 'desc' => esc_html__( ' ', 'saral' ), 'default' => true ), ) ) ); /*----------------------------- Responsive ---------------------------------------*/ Redux::setSection( $opt_name , array ( 'title' => esc_html__('Responsive' ,'saral' ), 'id' =>'responsive', 'desc' =>esc_html__('Responsive theme options' , 'saral'), 'customizer_width'=> '400px', 'subsection' => true, 'fields' => array( array( 'id' => 'responsive_header_top_bg', 'type' => 'background', 'title' => esc_html__( 'Responsive Header Top Background', 'saral' ), 'subtitle' => esc_html__( 'Select responsive header top background color', 'saral' ), 'background-repeat' => false, 'background-attachment' => false, 'background-position' => false, 'background-image' => false, 'background-size' => false, 'default' => array( 'background-color' => '#ffffff', ), ), array( 'id' => 'responsive_header_bottom_bg', 'type' => 'background', 'title' => esc_html__( 'Responsive Header Bottom Background', 'saral' ), 'subtitle' => esc_html__( 'Select responsive header bottom background color', 'saral' ), 'background-repeat' => false, 'background-attachment' => false, 'background-position' => false, 'background-image' => false, 'background-size' => false, 'default' => array( 'background-color' => '#2b2b2b', ), ), array( 'id' => 'responsive_header_border_color', 'type' => 'background', 'title' => esc_html__( 'Responsive Header Border Color', 'saral' ), 'subtitle' => esc_html__( 'Select responsive border color color', 'saral' ), 'background-repeat' => false, 'background-attachment' => false, 'background-position' => false, 'background-image' => false, 'background-size' => false, 'default' => array( 'background-color' => '#e9e9e9', ), ), array( 'id' => 'responsive_header_top_font', 'type' => 'link_color', 'title' => esc_html__('Header Top Font Color','saral'), 'subtitle' => esc_html__('Select the top header font color for your site.','saral'), 'desc' => esc_html__( ' ', 'saral' ), 'hover' => false, 'active' => false, 'default' => array( 'regular' => '#000', ) ), array( 'id' => 'responsive_header_bottom_font', 'type' => 'link_color', 'title' => esc_html__('Header Bottom Font Color','saral'), 'subtitle' => esc_html__('Select the bottom header font color for your site.','saral'), 'desc' => esc_html__( ' ', 'saral' ), 'hover' => false, 'active' => false, 'default' => array( 'regular' => '#ffffff', ) ), array( 'id' => 'responsive_drop_menu_bg', 'type' => 'background', 'title' => esc_html__( 'Menu Dropdown Background', 'saral' ), 'subtitle' => esc_html__( 'Select menu dropdown background with image, color, etc.', 'saral' ), 'default' => array('background-color'=>'#ffffff'), ), array( 'id' => 'responsive_drop_menu_font', 'type' => 'link_color', 'title' => esc_html__('Menu Dropdown Font Color','saral'), 'subtitle' => esc_html__('Select the menu dropdown font color for your site.','saral'), 'desc' => esc_html__( ' ', 'saral' ), 'default' => array( 'regular' => '#000000', 'hover' => '#000000', 'active' => '#000000', ) ), ) ) ); // -> START Page Title Bar Options Redux::setSection( $opt_name, array( 'title' => esc_html__( 'Page Title Bar', 'saral' ), 'id' => 'page_title_bar', 'desc' => esc_html__( 'Theme page title bar options!', 'saral' ), 'customizer_width' => '400px', 'icon' => 'el el-file-edit', 'fields' => array( array( 'id' => 'enable_title_bar', 'type' => 'switch', 'title' => esc_html__('Enable Title Bar','saral'), 'subtitle' => esc_html__('Enable title bar for your site','saral'), 'desc' => esc_html__( ' ', 'saral' ), 'default' => true ), array( 'id' => 'enable_breadcrum', 'type' => 'switch', 'title' => esc_html__('Enable Breadcrum','saral'), 'subtitle' => esc_html__('Enable breadcrum for your site ','saral'), 'desc' => esc_html__( '', 'saral' ), 'default' => true ), array( 'id' => 'title_position', 'type' => 'button_set', 'title' => esc_html__( 'Page Title Bar Text Position', 'saral' ), 'subtitle' => esc_html__( 'Set the position of the text in title bar', 'saral' ), 'desc' => esc_html__( '', 'saral' ), 'options' => array( 'left' => 'Left', 'right' => 'Right', ), 'default' => 'left' ), array( 'id' => 'breadcrum_position', 'type' => 'button_set', 'title' => esc_html__( 'Breadcrum Position', 'saral' ), 'subtitle' => esc_html__( 'Set the position of the breadcrum in title bar', 'saral' ), 'desc' => esc_html__( '', 'saral' ), //Must provide key => value pairs for radio options 'options' => array( 'opposite_title' => 'Opposite Title', 'with_title' => 'With Title', ), 'default' => 'with_title' ), array( 'id' => 'fullwidth_title_bar', 'type' => 'switch', 'title' => esc_html__('Full Width Title Bar','saral'), 'subtitle' => esc_html__('Enable the full width title bar','saral'), 'desc' => esc_html__( ' ', 'saral' ), 'default' => false ), array( 'id' => 'title_bar_bg', 'type' => 'background', 'title' => esc_html__( 'Title Bar Background', 'saral' ), 'subtitle' => esc_html__( 'Select title bar background with image, color, etc.', 'saral' ), 'default' => array('background-color'=>'#31343c'), ), array( 'id' => 'title_bar_font_color', 'type' => 'link_color', 'title' => esc_html__( 'Title Bar Font Color', 'saral' ), 'subtitle' => esc_html__( 'Specify the title bar font properties.', 'saral' ), 'active' => false, 'default' => array( 'regular' => '#fff', 'hover' => '#f8bb00', ), ), array( 'id' => 'title_bar_padding', 'type' => 'spacing', 'mode' => 'padding', 'units' => array('em','px','%'), 'units_extended' => 'false', 'title' => esc_html__('Title Bar Padding', 'saral'), 'subtitle' => esc_html__('Set the height of the title bar.', 'saral'), 'desc' => esc_html__('Set the height of the title bar.', 'saral'), 'left' => false, 'right' => false, 'default' => array( 'padding-top' => '40px', 'padding-bottom' => '40px', 'units' => 'px', ), ) ) ) ); // -> START Footer Section Options Redux::setSection( $opt_name, array( 'title' => esc_html__( 'Footer Section', 'saral' ), 'id' => 'footer_section', 'desc' => esc_html__( 'Theme footer options!', 'saral' ), 'customizer_width' => '400px', 'icon' => 'el el-photo', 'fields' => array( array( 'id' => 'enable_footer_top', 'type' => 'switch', 'title' => esc_html__('Enable Footer Top Section','saral'), 'subtitle' => esc_html__('Enable footer top section ','saral'), 'desc' => esc_html__( '', 'saral' ), 'default' => true ), array( 'id' => 'full_width_footer', 'type' => 'switch', 'title' => esc_html__('Full Width Footer','saral'), 'subtitle' => esc_html__('Enable the full width footer','saral'), 'desc' => esc_html__( ' ', 'saral' ), 'default' => false ), array( 'id' => 'footer_widget_areas', 'type' => 'button_set', 'title' => esc_html__( 'Footer Widget Areas', 'saral' ), 'subtitle' => esc_html__( 'Set the number of widget areas', 'saral' ), 'desc' => esc_html__( '', 'saral' ), //Must provide key => value pairs for radio options 'options' => array( '1' => '1', '2' => '2', '3' => '3', '4' => '4', ), 'default' => '4' ), array( 'id' => 'footer_bg', 'type' => 'background', 'title' => esc_html__( 'Footer Background', 'saral' ), 'subtitle' => esc_html__( 'Select footer background with image, color, etc.', 'saral' ), 'default' => array('background-color'=>'#3C414C'), ), array( 'id' => 'footer_font_color', 'type' => 'link_color', 'title' => esc_html__( 'Footer Font Color', 'saral' ), 'subtitle' => esc_html__( 'Set the footer Font color', 'saral' ), 'desc' => esc_html__( '', 'saral' ), 'hover' => false, 'active' => false, 'default' => array( 'regular' => '#ffffff', ) ), array( 'id' => 'footer_padding', 'type' => 'spacing', 'mode' => 'padding', 'units' => array('em','px','%'), 'units_extended' => 'false', 'title' => esc_html__('Footer Padding', 'saral'), 'subtitle' => esc_html__('Set the spacing of the footer.', 'saral'), 'desc' => esc_html__('Set the spacing of the footer.', 'saral'), 'left' => false, 'right' => false, 'default' => array( 'padding-top' => '50px', 'padding-bottom' => '50px', 'units' => 'px', ), ), array( 'id' => 'enable_footer_bottom', 'type' => 'switch', 'title' => esc_html__('Enable Footer Bottom Section','saral'), 'subtitle' => esc_html__('Enable footer bottom section ','saral'), 'desc' => esc_html__( '', 'saral' ), 'default' => true ), array( 'id' => 'footer_bottom_bg', 'type' => 'color_rgba', 'title' => esc_html__( 'Footer Bottom Section Background', 'saral' ), 'subtitle' => esc_html__( 'Select footer background color', 'saral' ), 'default' => array( 'color' => '#2C2F36', 'alpha' => '1', 'rgba' => 'rgba(44,47,54,1)' ), 'mode' => 'background', ), array( 'id' => 'footer_bottom_font', 'type' => 'link_color', 'title' => esc_html__( 'Footer Bottom Section Font Color', 'saral' ), 'subtitle' => esc_html__( 'Set the footer bottom section Font color', 'saral' ), 'desc' => esc_html__( 'Choose color for footer bottom section text', 'saral' ), 'hover' => false, 'active' => false, 'default' => array( 'regular' => '#ffffff', ) ), array( 'id' => 'bottom_footer_section', 'type' => 'radio', 'title' => esc_html__( 'Footer Bottom Section', 'saral' ), 'subtitle' => esc_html__( 'Select footer bottom section', 'saral' ), 'desc' => esc_html__( 'Select social icons/copyright text for footer bottom section ', 'saral' ), 'options' => array( 'social_icon' => 'Show Social Icons', 'copyright' => 'Show Copyright Text', ), 'default' => 'copyright' ), array( 'id' => 'footer_menu', 'type' => 'select', 'data' => 'menus', 'title' => esc_html__( 'Footer Menu', 'saral' ), 'subtitle' => esc_html__( 'Select the menu for footer section', 'saral' ), 'desc' => esc_html__( '', 'saral' ), ), array( 'id' => 'footer_copyright', 'type' => 'textarea', 'title' => esc_html__( 'Footer Copyright Text', 'saral' ), 'subtitle' => esc_html__( 'Enter the copyright text', 'saral' ), 'desc' => esc_html__( '', 'saral' ), 'default' => 'Copyright 2017 Saral Theme | All Rights Reserved', ), ) ) ); // -> START Sidebars Options Redux::setSection( $opt_name, array( 'title' => esc_html__( 'Sidebars', 'saral' ), 'id' => 'sidebars', 'desc' => esc_html__( 'Theme sidebar options!', 'saral' ), 'customizer_width' => '400px', 'icon' => 'el el-puzzle', 'fields' => array( array( 'id' => 'enable_sidebar', 'type' => 'switch', 'title' => esc_html__('Enable Sidebar','saral'), 'subtitle' => esc_html__('Enable sidebar for your site','saral'), 'desc' => esc_html__( ' ', 'saral' ), 'default' => true ), array( 'id' => 'sidebar_position', 'type' => 'button_set', 'title' => esc_html__( 'Sidebar Position', 'saral' ), 'subtitle' => esc_html__( 'Set the position of the sidebar', 'saral' ), 'desc' => esc_html__( '', 'saral' ), //Must provide key => value pairs for radio options 'options' => array( 'left' => 'Left', 'right' => 'Right', ), 'default' => 'right' ), array( 'id' => 'sidebar_type', 'type' => 'select', 'data' => 'sidebars', 'title' => esc_html__( 'Sidebar Type', 'saral' ), 'subtitle' => esc_html__( 'Set the type of the sidebar', 'saral' ), 'desc' => esc_html__( '', 'saral' ), 'default' => 'primary' ), array( 'id' => 'sidebar_bg', 'type' => 'background', 'title' => esc_html__( 'Sidebar Background', 'saral' ), 'subtitle' => esc_html__( 'Select sidebar background with image, color, etc.', 'saral' ) ), ) ) ); // -> START Typography Options Redux::setSection( $opt_name, array( 'title' => esc_html__( 'Typography', 'saral' ), 'id' => 'typography', 'desc' => esc_html__( 'Theme typography options!','saral'), 'icon' => 'el el-font', 'fields' => array( array( 'id' => 'body_typography', 'type' => 'typography', 'title' => esc_html__( 'Body Font', 'saral' ), 'subtitle' => esc_html__( 'Specify the body font properties.', 'saral' ), 'google' => true, 'default' => array( 'color' => '#5a5a61', 'font-size' => '16px', 'font-family' => 'Ubuntu', 'font-weight' => '300', 'line-height' => '26px', ), ), array( 'id' => 'menu_typography', 'type' => 'typography', 'title' => esc_html__( 'Menu Font', 'saral' ), 'subtitle' => esc_html__( 'Specify the menu font properties.', 'saral' ), 'google' => true, 'color' => false, 'text-align' => false, 'default' => array( 'font-family' => 'Roboto', 'font-weight' => '400', 'font-size' => '18px', 'line-height' => '60px' ), ), array( 'id' => 'menu_dropdown_typography', 'type' => 'typography', 'title' => esc_html__( 'Menu Dropdown Font', 'saral' ), 'subtitle' => esc_html__( 'Specify the menu dropdown font properties.', 'saral' ), 'google' => true, 'color' => false, 'line-height' => false, 'text-align' => false, 'default' => array( 'font-family' => 'Roboto', 'font-weight' => '400', 'font-size' => '14px' ), ), array( 'id' => 'h1_typography', 'type' => 'typography', 'title' => esc_html__( 'H1 Heading Font', 'saral' ), 'subtitle' => esc_html__( 'Specify the h1 font properties.', 'saral' ), 'google' => true, 'default' => array( 'color' => '#3C414C', 'font-size' => '48px', 'font-family' => 'Roboto', 'font-weight' => '300', 'text-align' => 'inherit', 'line-height' => '52px', ), ), array( 'id' => 'h2_typography', 'type' => 'typography', 'title' => esc_html__( 'H2 Heading Font', 'saral' ), 'subtitle' => esc_html__( 'Specify the h2 font properties.', 'saral' ), 'google' => true, 'default' => array( 'color' => '#3C414C', 'font-size' => '42px', 'font-family' => 'Roboto', 'font-weight' => '300', 'text-align' => 'inherit', 'line-height' => '46px', ), ), array( 'id' => 'h3_typography', 'type' => 'typography', 'title' => esc_html__( 'H3 Heading Font', 'saral' ), 'subtitle' => esc_html__( 'Specify the h3 font properties.', 'saral' ), 'google' => true, 'default' => array( 'color' => '#3C414C', 'font-size' => '36px', 'font-family' => 'Roboto', 'font-weight' => '300', 'text-align' => 'inherit', 'line-height' => '40px' ), ), array( 'id' => 'h4_typography', 'type' => 'typography', 'title' => esc_html__( 'H4 Heading Font', 'saral' ), 'subtitle' => esc_html__( 'Specify the h4 font properties.', 'saral' ), 'google' => true, 'default' => array( 'color' => '#3C414C', 'font-size' => '32px', 'font-family' => 'Roboto', 'font-weight' => '300', 'text-align' => 'inherit', 'line-height' => '36px' ), ), array( 'id' => 'h5_typography', 'type' => 'typography', 'title' => esc_html__( 'H5 Heading Font', 'saral' ), 'subtitle' => esc_html__( 'Specify the h5 font properties.', 'saral' ), 'google' => true, 'default' => array( 'color' => '#3C414C', 'font-size' => '28px', 'font-family' => 'Roboto', 'font-weight' => '300', 'line-height' => '32px', ), ), array( 'id' => 'h6_typography', 'type' => 'typography', 'title' => esc_html__( 'H6 Heading Font', 'saral' ), 'subtitle' => esc_html__( 'Specify the h6 font properties.', 'saral' ), 'google' => true, 'default' => array( 'color' => '#3C414C', 'font-size' => '24px', 'font-family' => 'Roboto', 'font-weight' => '300', 'text-align' => 'inherit', 'line-height' => '28px' ), ), array( 'id' => 'button_typography', 'type' => 'typography', 'title' => esc_html__( 'Button Font', 'saral' ), 'subtitle' => esc_html__( 'Specify the button font properties.', 'saral' ), 'google' => true, 'line-height' => false, 'color' => false, 'default' => array( 'font-size' => '16px', 'font-family' => 'Roboto', 'font-weight' => '400', 'subsets' => 'latin', 'text-align' => 'inherit', ), ), array( 'id' => 'link_typography', 'type' => 'typography', 'title' => esc_html__( 'Link Font', 'saral' ), 'subtitle' => esc_html__( 'Specify the link font properties.', 'saral' ), 'google' => true, 'line-height' => false, 'default' => array( 'color' => '#414141', 'font-size' => '16px', 'font-family' => 'Roboto', 'font-weight' => '300', ), ), array( 'id' => 'list_typography', 'type' => 'typography', 'title' => esc_html__( 'List Font', 'saral' ), 'subtitle' => esc_html__( 'Specify the list font properties.', 'saral' ), 'google' => true, 'line-height' => false, 'default' => array( 'color' => '#5a5a61', 'font-size' => '15px', 'font-family' => 'Roboto', 'font-weight' => '300', ), ), array( 'id' => 'quote_typography', 'type' => 'typography', 'title' => esc_html__( 'Quote Font', 'saral' ), 'subtitle' => esc_html__( 'Specify the quote font properties.', 'saral' ), 'google' => true, 'line-height' => false, 'default' => array( 'color' => '#5a5a61', 'font-size' => '18px', 'font-family' => 'Roboto', 'font-weight' => '300', ), ), ) ) ); // -> START Styling options Redux::setSection( $opt_name, array( 'title' => esc_html__( 'Styling', 'saral' ), 'id' => 'styling', 'desc' => esc_html__( 'Theme styling options!', 'saral' ), 'customizer_width' => '400px', 'icon' => 'el el-brush' ) ); Redux::setSection( $opt_name, array( 'title' => esc_html__( 'Font And Background', 'saral' ), 'id' => 'background_options', 'subsection' => true, 'customizer_width' => '450px', 'desc' => esc_html__('Control font styling','saral'), 'fields' => array( array( 'id' => 'body_background', 'type' => 'background', 'title' => esc_html__( 'Body Background', 'saral' ), 'subtitle' => esc_html__( 'Select body background with image, color, etc.', 'saral' ), 'default' => array('background-color'=>'#ffffff'), ), array( 'id' => 'container_background', 'type' => 'background', 'title' => esc_html__( 'Container Background', 'saral' ), 'subtitle' => esc_html__( 'Select container background with image, color, etc.', 'saral' ), 'default' => array('background-color'=>'#ffffff'), ), array( 'id' => 'primary_color', 'type' => 'link_color', 'title' => esc_html__( 'Primary Theme Color', 'saral' ), 'subtitle' => esc_html__( 'Set the primary color for theme', 'saral' ), 'desc' => esc_html__( '', 'saral' ), 'hover' => false, 'active' => false, 'default' => array( 'regular' => '#f8bb00', ) ), array( 'id' => 'overlay_bg_color', 'type' => 'color_rgba', 'title' => esc_html__( 'Overlay Background Color', 'saral' ), 'subtitle' => esc_html__( 'Set the hover overlay background color.', 'saral' ), 'default' => array( 'color' => '#2C2F36', 'alpha' => '0.8', 'rgba' => 'rgba(49, 52, 60, 0.8)' ), 'mode' => 'background', ), array( 'id' => 'overlay_font_color', 'type' => 'link_color', 'title' => esc_html__( 'Overlay Font Color', 'saral' ), 'subtitle' => esc_html__( 'Set the overlay font color', 'saral' ), 'desc' => esc_html__( '', 'saral' ), 'hover' => false, 'active' => false, 'default' => array( 'regular' => '#fff', ) ), array( 'id' => 'enable_border_hover', 'type' => 'switch', 'title' => esc_html__('Enable Border On Hover','saral'), 'subtitle' => esc_html__('Set on to enable border on hover of button, read more button and read more icon.','saral'), 'desc' => esc_html__( ' ', 'saral' ), 'default' => false ), array( 'id' => 'button_style', 'type' => 'link_color', 'title' => esc_html__( 'Button Background Color', 'saral' ), 'subtitle' => esc_html__( 'Set the properties of button background color', 'saral' ), 'desc' => esc_html__( '', 'saral' ), 'default' => array( 'regular' => '#f8bb00', 'hover' => '#3C414C', 'active' => '#3C414C', ) ), array( 'id' => 'button_font_style', 'type' => 'link_color', 'title' => esc_html__( 'Button Font Color', 'saral' ), 'subtitle' => esc_html__( 'Set the properties of button font color', 'saral' ), 'desc' => esc_html__( '', 'saral' ), 'default' => array( 'regular' => '#3C414C', 'hover' => '#f8bb00', 'active' => '#f8bb00', ) ), array( 'id' => 'read_more_color', 'type' => 'link_color', 'title' => esc_html__( 'Read More Background Color', 'saral' ), 'subtitle' => esc_html__( 'Set the properties of read more icon/view project background color', 'saral' ), 'desc' => esc_html__( '', 'saral' ), 'default' => array( 'regular' => '#f8bb00', 'hover' => '#3C414C', 'active' => '#3C414C', ) ), array( 'id' => 'read_more_font_color', 'type' => 'link_color', 'title' => esc_html__( 'Read More Font Color', 'saral' ), 'subtitle' => esc_html__( 'Set the properties of read more icon/view project font color', 'saral' ), 'desc' => esc_html__( '', 'saral' ), 'default' => array( 'regular' => '#ffffff', 'hover' => '#f8bb00', 'active' => '#f8bb00', ) ), array( 'id' => 'read_more_link_font_color', 'type' => 'link_color', 'title' => esc_html__( 'Read More Link Font Color', 'saral' ), 'subtitle' => esc_html__( 'Set the properties of read more link font color', 'saral' ), 'desc' => esc_html__( '', 'saral' ), 'default' => array( 'regular' => '#31343c', 'hover' => '#f8bb00', 'active' => '#f8bb00', ) ), array( 'id' => 'meta_font_color', 'type' => 'link_color', 'title' => esc_html__( 'Post Meta Font Color', 'saral' ), 'subtitle' => esc_html__( 'Set the properties of post meta font color', 'saral' ), 'desc' => esc_html__( '', 'saral' ), 'default' => array( 'regular' => '#8a8d94', 'hover' => '#f8bb00', 'active' => '#f8bb00', ) ), array( 'id' => 'call_action_color', 'type' => 'link_color', 'title' => esc_html__( 'Call To Action Dark Background Button Color', 'saral' ), 'subtitle' => esc_html__( 'Set the properties of call to action background color', 'saral' ), 'desc' => esc_html__( '', 'saral' ), 'default' => array( 'regular' => '#3C414C', 'hover' => '#3C414C', 'active' => '#3C414C', ) ), array( 'id' => 'call_action_font_color', 'type' => 'link_color', 'title' => esc_html__( 'Call To Action Dark Background Font Color', 'saral' ), 'subtitle' => esc_html__( 'Set the properties of call to action font color', 'saral' ), 'desc' => esc_html__( '', 'saral' ), 'default' => array( 'regular' => '#ffffff', 'hover' => '#ffffff', 'active' => '#ffffff', ) ), array( 'id' => 'menu_style', 'type' => 'link_color', 'title' => esc_html__( 'Menu Font Color', 'saral' ), 'subtitle' => esc_html__( 'Set the properties of menu', 'saral' ), 'desc' => esc_html__( '', 'saral' ), 'default' => array( 'regular' => '#3C414C', 'hover' => '#f8bb00', 'active' => '#f8bb00', ) ), array( 'id' => 'menu_dropdown_bg_color', 'type' => 'link_color', 'title' => esc_html__( 'Menu Dropdown Background', 'saral' ), 'subtitle' => esc_html__( 'Set the properties of menu dropdown', 'saral' ), 'desc' => esc_html__( '', 'saral' ), 'hover' => false, // Disable Regular Color 'default' => array( 'regular' => '#fafafa', 'active' => '#f8bb00', ) ), array( 'id' => 'menu_dropdown_font', 'type' => 'link_color', 'title' => esc_html__( 'Menu Dropdown Font Color', 'saral' ), 'subtitle' => esc_html__( 'Set the properties of menu dropdown font', 'saral' ), 'desc' => esc_html__( '', 'saral' ), 'default' => array( 'regular' => '#3C414C', 'hover' => '#3C414C', 'active' => '#3C414C', ) ), array( 'id' => 'shortcode_light_font', 'type' => 'link_color', 'title' => esc_html__( 'Shortcode Light Font Color', 'saral' ), 'subtitle' => esc_html__( 'Set the properties of shortcode light font color', 'saral' ), 'desc' => esc_html__( '', 'saral' ), 'hover' => false, 'active' => false, 'default' => array( 'regular' => '#fff', ) ), array( 'id' => 'shortcode_dark_font', 'type' => 'link_color', 'title' => esc_html__( 'Shortcode Dark Font Color', 'saral' ), 'subtitle' => esc_html__( 'Set the properties of shortcode dark font color', 'saral' ), 'desc' => esc_html__( '', 'saral' ), 'hover' => false, 'active' => false, 'default' => array( 'regular' => '#3C414C', ) ), array( 'id' => 'form_focus_color', 'type' => 'color', 'title' => esc_html__( 'Form Fields Focus Color', 'saral' ), 'subtitle' => esc_html__( 'Set the properties of form fields focus', 'saral' ), 'default' => '#f8bb00', ), array( 'id' => 'content_bottom_bg', 'type' => 'color_rgba', 'title' => esc_html__( 'Content Bottom Background Color', 'saral' ), 'subtitle' => esc_html__( 'Set the Content background color.', 'saral' ), 'default' => array( 'color' => '#2C2F36', 'alpha' => '1', 'rgba' => 'rgba(44,47,54,1)' ), 'mode' => 'background', ), array( 'id' => 'content_bottom_font', 'type' => 'link_color', 'title' => esc_html__( 'Content Bottom Font Color', 'saral' ), 'subtitle' => esc_html__( 'Set the properties of content bottom font color', 'saral' ), 'desc' => esc_html__( '', 'saral' ), 'hover' => false, 'active' => false, 'default' => array( 'regular' => '#fff', ) ), array( 'id' => 'custom_border_color', 'type' => 'background', 'title' => esc_html__( 'Border Color', 'saral' ), 'subtitle' => esc_html__( 'Select border color that appear in the site, etc.', 'saral' ), 'background-repeat' => false, 'background-attachment' => false, 'background-position' => false, 'background-image' => false, 'background-size' => false, 'default' => array( 'background-color' => '#e9e9e9', ), 'mode' => 'background', ), ) ) ); // -> START Custom css options Redux::setSection( $opt_name, array( 'title' => esc_html__( 'Custom Css', 'saral' ), 'id' => 'custom_css_options', 'subsection' => true, 'desc' => esc_html__( 'Theme custom css options!', 'saral' ), 'customizer_width' => '400px', 'fields' => array( array( 'id' => 'custom_css', 'type' => 'ace_editor', 'title' => esc_html__( 'CSS Code', 'saral' ), 'subtitle' => esc_html__( 'Paste your CSS code here.', 'saral' ), 'mode' => 'css', 'theme' => 'monokai', 'desc' => '', 'default' => "#header{\n margin: 0 auto;\n}" ), ) ) ); // -> START Blog options Redux::setSection( $opt_name, array( 'title' => esc_html__( 'Blog', 'saral' ), 'id' => 'blog_options', 'desc' => esc_html__( 'Theme blog options!', 'saral' ), 'customizer_width' => '400px', 'icon' => 'el el-pencil' ) ); Redux::setSection( $opt_name, array( 'title' => esc_html__( 'Blog', 'saral' ), 'id' => 'blog_listing', 'subsection' => true, 'desc' => esc_html__( 'Theme blog options!', 'saral' ), 'customizer_width' => '400px', 'fields' => array( array( 'id' => 'post_listing_count', 'type' => 'slider', 'title' => esc_html__( 'Posts Show On Listing Page ', 'saral' ), 'desc' => esc_html__( '', 'saral' ), 'default' => '10', 'min' => '1', 'step' => '1', 'max' => '100', 'display_value' => 'label' ), array( 'id' => 'grid_layout_columns', 'type' => 'button_set', 'title' => esc_html__( 'Grid Layout Number Of Columns', 'saral' ), 'subtitle' => esc_html__( 'Set the number of columns of grid layout', 'saral' ), 'desc' => esc_html__( '', 'saral' ), //Must provide key => value pairs for radio options 'options' => array( '1' => '1', '2' => '2', '3' => '3', '4' => '4', '6' => '6', ), 'default' => '3' ), array( 'id' => 'excerpt_length', 'type' => 'text', 'title' => esc_html__( 'Excerpt Length', 'saral' ), 'subtitle' => esc_html__( 'Set the length of the excerpt', 'saral' ), 'desc' => esc_html__( '', 'saral' ), 'default' => '18', ), array( 'id' => 'show_listing_excerpt', 'type' => 'switch', 'title' => esc_html__('Show Excerpt On Blog Listing','saral'), 'subtitle' => esc_html__('Show excerpt on blog listing page ','saral'), 'desc' => esc_html__( '', 'saral' ), 'default' => true ), array( 'id' => 'show_listing_title', 'type' => 'switch', 'title' => esc_html__('Show Title On Blog Listing','saral'), 'subtitle' => esc_html__('Show title on blog listing page ','saral'), 'desc' => esc_html__( '', 'saral' ), 'default' => true ), array( 'id' => 'show_listing_date', 'type' => 'switch', 'title' => esc_html__('Show Date On Blog Listing','saral'), 'subtitle' => esc_html__('Show date on blog listing page ','saral'), 'desc' => esc_html__( '', 'saral' ), 'default' => true ), array( 'id' => 'show_listing_comment', 'type' => 'switch', 'title' => esc_html__('Show Comment Count On Blog Listing','saral'), 'subtitle' => esc_html__('Show comment count on blog listing page ','saral'), 'desc' => esc_html__( '', 'saral' ), 'default' => false ), array( 'id' => 'show_listing_category', 'type' => 'switch', 'title' => esc_html__('Show Category On Blog Listing','saral'), 'subtitle' => esc_html__('Show category on blog listing page ','saral'), 'desc' => esc_html__( '', 'saral' ), 'default' => false ), array( 'id' => 'show_listing_author', 'type' => 'switch', 'title' => esc_html__('Show Author On Blog Listing','saral'), 'subtitle' => esc_html__('Show author on blog listing page ','saral'), 'desc' => esc_html__( '', 'saral' ), 'default' => true ), array( 'id' => 'show_listing_link', 'type' => 'button_set', 'title' => esc_html__( 'Read More Link Type', 'saral' ), 'subtitle' => esc_html__( 'Select the read more link of your site', 'saral' ), 'desc' => esc_html__( '', 'saral' ), //Must provide key => value pairs for radio options 'options' => array( 'link' => 'Link', 'icon' => 'icon', ), 'default' => 'icon' ), array( 'id' => 'listing_social_icon', 'type' => 'switch', 'title' => esc_html__('Show Social Icons On Blog Listing','saral'), 'subtitle' => esc_html__('Show social icons on blog listing page ','saral'), 'desc' => esc_html__( '', 'saral' ), 'default' => false ), array( 'id' => 'read_more_text', 'type' => 'text', 'title' => esc_html__( 'Text To Show On Read More Button', 'saral' ), 'subtitle' => esc_html__( 'Enter the text, you want to show on read more button. It will change the text througtout the theme', 'saral' ), 'desc' => esc_html__( 'Default value is "Read More"', 'saral' ), 'default' => 'Read More >>', ), array( 'id' => 'hide_read_more_link', 'type' => 'switch', 'title' => esc_html__( 'Hide Read More Button through out the site', 'saral' ), 'subtitle' => esc_html__( 'Enable this to hide the read more link from throughout the site.', 'saral' ), 'desc' => esc_html__( 'Default value is "false"', 'saral' ), 'default' => false, ), ) ) ); // -> START Blog Single Page options Redux::setSection( $opt_name, array( 'title' => esc_html__( 'Blog Single Page', 'saral' ), 'id' => 'blog_single_page', 'subsection' => true, 'customizer_width' => '450px', 'desc' => esc_html__('','saral'), 'fields' => array( array( 'id' => 'show_thumbnail', 'type' => 'switch', 'title' => esc_html__('Show Thumbnail','saral'), 'subtitle' => esc_html__('Enable thumbnail on single page ','saral'), 'desc' => esc_html__( '', 'saral' ), 'default' => true ), array( 'id' => 'enable_thumbnail_slider', 'type' => 'switch', 'title' => esc_html__('Enable Thumbnail Slider','saral'), 'subtitle' => esc_html__('Enable thumbnail slider on single page ','saral'), 'desc' => esc_html__( '', 'saral' ), 'default' => true ), array( 'id' => 'show_author', 'type' => 'switch', 'title' => esc_html__('Show Author','saral'), 'subtitle' => esc_html__('Show author on single page ','saral'), 'desc' => esc_html__( '', 'saral' ), 'default' => true ), array( 'id' => 'show_date', 'type' => 'switch', 'title' => esc_html__('Show Date','saral'), 'subtitle' => esc_html__('Show author on single page ','saral'), 'desc' => esc_html__( '', 'saral' ), 'default' => true ), array( 'id' => 'show_categories', 'type' => 'switch', 'title' => esc_html__('Show Categories','saral'), 'subtitle' => esc_html__('Show categories on single page ','saral'), 'desc' => esc_html__( '', 'saral' ), 'default' => true ), array( 'id' => 'show_tags', 'type' => 'switch', 'title' => esc_html__('Show Tags','saral'), 'subtitle' => esc_html__('Show tags on single page ','saral'), 'desc' => esc_html__( '', 'saral' ), 'default' => true ), array( 'id' => 'enable_comments', 'type' => 'switch', 'title' => esc_html__('Enable Comments','saral'), 'subtitle' => esc_html__('Enable comments on single page ','saral'), 'desc' => esc_html__( '', 'saral' ), 'default' => true ), array( 'id' => 'show_posts_links', 'type' => 'switch', 'title' => esc_html__('Show Next Previous Post Links','saral'), 'subtitle' => esc_html__('Show next previous post links on single page ','saral'), 'desc' => esc_html__( '', 'saral' ), 'default' => true ), array( 'id' => 'show_social_icons', 'type' => 'switch', 'title' => esc_html__('Show Social Icons','saral'), 'subtitle' => esc_html__('Show social icons on single page ','saral'), 'desc' => esc_html__( '', 'saral' ), 'default' => true ), array( 'id' => 'show_comment_count', 'type' => 'switch', 'title' => esc_html__('Show Comment Count','saral'), 'subtitle' => esc_html__('Show Comment count on single page ','saral'), 'desc' => esc_html__( '', 'saral' ), 'default' => true ), ) ) ); // -> START Portfolio options Redux::setSection( $opt_name, array( 'title' => esc_html__( 'Portfolio', 'saral' ), 'id' => 'portfolio_option', 'desc' => esc_html__( 'Theme Portfolio options!', 'saral' ), 'customizer_width' => '400px', 'icon' => 'el el-lock-alt' ) ); Redux::setSection( $opt_name, array( 'title' => esc_html__( 'Portfolio', 'saral' ), 'id' => 'portfolio_options', 'subsection' => true, 'desc' => esc_html__( 'Theme portfolio options!', 'saral' ), 'customizer_width' => '400px', 'fields' => array( array( 'id' => 'portfolio_listing_count', 'type' => 'slider', 'title' => esc_html__( 'Post To Show On Portfolio Page', 'saral' ), 'desc' => esc_html__( '', 'saral' ), 'default' => '6', 'min' => '1', 'step' => '1', 'max' => '100', 'display_value' => 'label' ), array( 'id' => 'portfolio_layout_columns', 'type' => 'button_set', 'title' => esc_html__( 'Grid Layout Number Of Columns', 'saral' ), 'subtitle' => esc_html__( 'Set the number of columns of grid layout', 'saral' ), 'desc' => esc_html__( '', 'saral' ), //Must provide key => value pairs for radio options 'options' => array( '1' => '1', '2' => '2', '3' => '3', '4' => '4', '6' => '6', ), 'default' => '3' ), array( 'id' => 'portfolio_excerpt_length', 'type' => 'text', 'title' => esc_html__( 'Portfolio Excerpt Length', 'saral' ), 'subtitle' => esc_html__( 'Set the length of the excerpt', 'saral' ), 'desc' => esc_html__( '', 'saral' ), 'default' => '40', ), array( 'id' => 'show_portfolio_title', 'type' => 'switch', 'title' => esc_html__('Show Title On Portfolio Listing','saral'), 'subtitle' => esc_html__('Show title on Portfolio listing page ','saral'), 'desc' => esc_html__( '', 'saral' ), 'default' => true ), array( 'id' => 'show_portfolio_cat', 'type' => 'switch', 'title' => esc_html__('Show Category On Portfolio Listing','saral'), 'subtitle' => esc_html__('Show category on Portfolio listing page ','saral'), 'desc' => esc_html__( '', 'saral' ), 'default' => true ), array( 'id' => 'show_portfolio_link', 'type' => 'switch', 'title' => esc_html__('Show Link On Portfolio Listing','saral'), 'subtitle' => esc_html__('Show link on Portfolio listing page ','saral'), 'desc' => esc_html__( '', 'saral' ), 'default' => true ), array( 'id' => 'view_project_text', 'type' => 'text', 'title' => esc_html__( 'Text To Show On Views Project Button', 'saral' ), 'subtitle' => esc_html__( 'Enter the text, you want to show on view project button', 'saral' ), 'desc' => esc_html__( 'Default value is "View Project"', 'saral' ), 'default' => 'View Project', ), ) ) ); // -> START Portfolio Single Page options Redux::setSection( $opt_name, array( 'title' => esc_html__( 'Portfolio Single Page', 'saral' ), 'id' => 'portfolio_single_page', 'subsection' => true, 'customizer_width' => '450px', 'desc' => esc_html__('','saral'), 'fields' => array( array( 'id' => 'show_portfolio_author', 'type' => 'switch', 'title' => esc_html__('Show Author','saral'), 'subtitle' => esc_html__('Show author on sportfolio single page ','saral'), 'desc' => esc_html__( '', 'saral' ), 'default' => true ), array( 'id' => 'show_portfolio_date', 'type' => 'switch', 'title' => esc_html__('Show Date','saral'), 'subtitle' => esc_html__('Show date on portfolio single page ','saral'), 'desc' => esc_html__( '', 'saral' ), 'default' => true ), array( 'id' => 'show_portfolio_categories', 'type' => 'switch', 'title' => esc_html__('Show Portfolio Categories','saral'), 'subtitle' => esc_html__('Show portfolio categories on portfolio single page ','saral'), 'desc' => esc_html__( '', 'saral' ), 'default' => true ), array( 'id' => 'show_portfolio_links', 'type' => 'switch', 'title' => esc_html__('Show Next Previous Portfolio Links','saral'), 'subtitle' => esc_html__('Show next previous portfolio links on portfolio single page ','saral'), 'desc' => esc_html__( '', 'saral' ), 'default' => true ), array( 'id' => 'show_portfolio_social_icons', 'type' => 'switch', 'title' => esc_html__('Show Social Icons','saral'), 'subtitle' => esc_html__('Show social icons on portfolio single page ','saral'), 'desc' => esc_html__( '', 'saral' ), 'default' => true ), array( 'id' => 'show_related_portfolio', 'type' => 'switch', 'title' => esc_html__('Show Related Portfolio','saral'), 'subtitle' => esc_html__('Show related portfolio on portfolio single page ','saral'), 'desc' => esc_html__( '', 'saral' ), 'default' => true ), array( 'id' => 'related_portfolio_title', 'type' => 'text', 'title' => esc_html__( 'Title To Show On Related Portfolio Section', 'saral' ), 'subtitle' => esc_html__( 'Enter the title, you want to show on related portfolio section', 'saral' ), 'desc' => esc_html__( 'Default value is "More Images"', 'saral' ), 'default' => 'More Images', ), ) ) ); // -> START Social Sharing options Redux::setSection( $opt_name, array( 'title' => esc_html__( 'Social Sharing', 'saral' ), 'id' => 'social_sharing', 'desc' => esc_html__( 'Theme social sharing options!', 'saral' ), 'customizer_width' => '400px', 'icon' => 'el el-share-alt', 'fields' => array( array( 'id' => 'facebook', 'type' => 'text', 'title' => esc_html__( 'Facebook', 'saral' ), 'subtitle' => esc_html__( '', 'saral' ), 'desc' => esc_html__( 'Enter the facebook url to enable in social sharing section', 'saral' ), 'default' => '', ), array( 'id' => 'twitter', 'type' => 'text', 'title' => esc_html__( 'Twitter', 'saral' ), 'subtitle' => esc_html__( '', 'saral' ), 'desc' => esc_html__( 'Enter the twitter url to enable in social sharing section', 'saral' ), 'default' => '', ), array( 'id' => 'linkedin', 'type' => 'text', 'title' => esc_html__( 'Linkedin', 'saral' ), 'subtitle' => esc_html__( '', 'saral' ), 'desc' => esc_html__( 'Enter the linkedin url to enable in social sharing section', 'saral' ), 'default' => '', ), array( 'id' => 'google', 'type' => 'text', 'title' => esc_html__( 'Google+', 'saral' ), 'subtitle' => esc_html__( '', 'saral' ), 'desc' => esc_html__( 'Enter the google+ url to enable in social sharing section', 'saral' ), 'default' => '', ), array( 'id' => 'flickr', 'type' => 'text', 'title' => esc_html__( 'Flickr', 'saral' ), 'subtitle' => esc_html__( '', 'saral' ), 'desc' => esc_html__( 'Enter the flickr url to enable in social sharing section', 'saral' ), 'default' => '', ), array( 'id' => 'youtube', 'type' => 'text', 'title' => esc_html__( 'Youtube', 'saral' ), 'subtitle' => esc_html__( '', 'saral' ), 'desc' => esc_html__( 'Enter the youtube url to enable in social sharing section', 'saral' ), 'default' => '', ), array( 'id' => 'instagram', 'type' => 'text', 'title' => esc_html__( 'Instagram', 'saral' ), 'subtitle' => esc_html__( '', 'saral' ), 'desc' => esc_html__( 'Enter the instagram url to enable in social sharing section', 'saral' ), 'default' => '', ), array( 'id' => 'pinterest', 'type' => 'text', 'title' => esc_html__( 'Pinterest', 'saral' ), 'subtitle' => esc_html__( '', 'saral' ), 'desc' => esc_html__( 'Enter the pinterest url to enable in social sharing section', 'saral' ), 'default' => '', ), array( 'id' => 'tumblr', 'type' => 'text', 'title' => esc_html__( 'Tumblr', 'saral' ), 'subtitle' => esc_html__( '', 'saral' ), 'desc' => esc_html__( 'Enter the tumblr url to enable in social sharing section', 'saral' ), 'default' => '', ), array( 'id' => 'dribbble', 'type' => 'text', 'title' => esc_html__( 'Dribbble', 'saral' ), 'subtitle' => esc_html__( '', 'saral' ), 'desc' => esc_html__( 'Enter the dribbble url to enable in social sharing section', 'saral' ), 'default' => '', ), array( 'id' => 'digg', 'type' => 'text', 'title' => esc_html__( 'Digg', 'saral' ), 'subtitle' => esc_html__( '', 'saral' ), 'desc' => esc_html__( 'Enter the digg url to enable in social sharing section', 'saral' ), 'default' => '', ), array( 'id' => 'reddit', 'type' => 'text', 'title' => esc_html__( 'Reddit', 'saral' ), 'subtitle' => esc_html__( '', 'saral' ), 'desc' => esc_html__( 'Enter the reddit url to enable in social sharing section', 'saral' ), 'default' => '', ), array( 'id' => 'envelope', 'type' => 'text', 'title' => esc_html__( 'Email', 'saral' ), 'subtitle' => esc_html__( '', 'saral' ), 'desc' => esc_html__( 'Enter the email url to enable in social sharing section', 'saral' ), 'default' => '', ), array( 'id' => 'use_logo_color', 'type' => 'switch', 'title' => esc_html__('Use Logo Color','saral'), 'subtitle' => esc_html__('enable the social logo color ','saral'), 'desc' => esc_html__( '', 'saral' ), 'default' => true ), array( 'id' => 'social_icon_color', 'type' => 'link_color', 'title' => esc_html__( 'Social Icon Color', 'saral' ), 'subtitle' => esc_html__( 'Set the properties of social icon color', 'saral' ), 'desc' => esc_html__( '', 'saral' ), 'default' => array( 'regular' => '#8A8D94', 'hover' => '#fff', 'active' => '#fff', ) ), array( 'id' => 'border_radius', 'type' => 'spinner', 'title' => esc_html__( 'Border Radius ', 'saral' ), 'subtitle' => esc_html__( 'Border radius will be used as % in css ', 'saral' ), 'default' => '100', 'min' => '1', 'step' => '1', 'max' => '100', ), ) ) ); // -> START Woocommerce options Redux::setSection( $opt_name, array( 'title' => esc_html__( 'Woocommerce', 'saral' ), 'id' => 'woocommerce', 'desc' => esc_html__( 'Theme woocommerce options!', 'saral' ), 'customizer_width' => '400px', 'icon' => 'el el-shopping-cart', 'fields' => array( array( 'id' => 'products_per_page', 'type' => 'slider', 'title' => esc_html__( 'Number Of Products Per Page', 'saral' ), 'subtitle' => esc_html__( 'Set the number of products shown on page', 'saral' ), 'default' => 12, 'min' => 1, 'step' => 1, 'max' => 100, 'display_value' => 'label' ), array( 'id' => 'products_column', 'type' => 'button_set', 'title' => esc_html__( 'Number Of Products Column', 'saral' ), 'subtitle' => esc_html__( 'Set the number of products columns shown on page', 'saral' ), 'desc' => esc_html__( '', 'saral' ), //Must provide key => value pairs for radio options 'options' => array( '1' => '1', '2' => '2', '3' => '3', '4' => '4', ), 'default' => '4' ), array( 'id' => 'cart_page_heading_font', 'type' => 'typography', 'title' => esc_html__( 'Cart page font size', 'saral' ), 'subtitle' => esc_html__( 'Cart page font size.', 'saral' ), 'desc' => esc_html__( 'This size applicable on heading and price.', 'saral' ), 'google' => true, 'color' => false, 'font-family' => false, 'default' => array( 'font-size' => '20px', 'line-height' => '24px', ), ), array( 'id' => 'shop_page_heading_font', 'type' => 'typography', 'title' => esc_html__( 'Shop page font size', 'saral' ), 'subtitle' => esc_html__( 'Shop page font size.', 'saral' ), 'desc' => esc_html__( 'This size applicable on shop listing headings.', 'saral' ), 'google' => true, 'color' => false, 'font-family' => false, 'default' => array( 'font-size' => '18px', 'line-height' => '22px', ), ), ) ) ); // -> START Contact Page options $args = array('post_type' => 'wpcf7_contact_form', 'posts_per_page' => -1); if( $cf7Forms = get_posts( $args ) ): $cform = array(); foreach($cf7Forms as $cf7Form){ $cform[$cf7Form->ID] = $cf7Form->post_title; } else: $cform = array(); endif; Redux::setSection( $opt_name, array( 'title' => esc_html__( 'Contact Page', 'saral' ), 'id' => 'contact_page', 'desc' => esc_html__( 'Theme contact page options!', 'saral' ), 'customizer_width' => '400px', 'icon' => 'el el-address-book', 'fields' => array( array( 'id' => 'address', 'type' => 'textarea', 'title' => esc_html__( 'Address', 'saral' ), 'subtitle' => esc_html__( 'Enter the address you want to show on site', 'saral' ), 'desc' => esc_html__( '', 'saral' ), 'default' => '', ), array( 'id' => 'phone', 'type' => 'text', 'title' => esc_html__( 'Phone Number', 'saral' ), 'subtitle' => esc_html__( 'Enter the phone number you want to show on site', 'saral' ), 'desc' => esc_html__( '', 'saral' ), 'default' => '', ), array( 'id' => 'contact_email', 'type' => 'text', 'title' => esc_html__( 'Email', 'saral' ), 'subtitle' => esc_html__( 'Enter the email you want to show on site', 'saral' ), 'desc' => esc_html__( '', 'saral' ), 'default' => '', ), array( 'id' => 'map', 'type' => 'dimensions', 'units' => array('em','px','%'), 'title' => esc_html__('Map Height/Width', 'saral'), 'subtitle' => esc_html__('Set the map height width for the contact page', 'saral'), 'desc' => esc_html__('', 'saral'), 'default' => array( 'width' => '1170', 'height' => '443' ), ), array( 'id' => 'map_custom_marker', 'type' => 'media', 'url' => true, 'title' => esc_html__( 'Map Marker Image', 'saral' ), 'compiler' => 'true', 'desc' => esc_html__( '', 'saral' ), 'subtitle' => esc_html__( 'Upload map custom marker icon', 'saral' ), 'default' => array( 'url' => get_template_directory_uri().'/images/map-marker.png' ), ), array( 'id' => 'contact_heading', 'type' => 'text', 'title' => esc_html__( 'Contact Form Heading', 'saral' ), 'subtitle' => esc_html__( 'Enter the contact form heading to show on the contact page', 'saral' ), 'desc' => esc_html__( '', 'saral' ), 'default' => 'Send Us Message', ), array( 'id' => 'contact_form', 'type' => 'select', 'title' => esc_html__('Select Form', 'saral'), 'subtitle' => esc_html__('Select the contact form you want to show on the contact us page', 'saral'), 'desc' => esc_html__('', 'saral'), 'options' => $cform, ), array( 'id' => 'business', 'type' => 'textarea', 'title' => esc_html__( 'Business Hours', 'saral' ), 'subtitle' => esc_html__( 'Enter the business hours to show on site', 'saral' ), 'desc' => esc_html__( '', 'saral' ), 'default' => '', ), array( 'id' => 'business_heading', 'type' => 'text', 'title' => esc_html__( 'Business Hours Heading', 'saral' ), 'subtitle' => esc_html__( 'Enter the business hours heading to show on the contect page', 'saral' ), 'desc' => esc_html__( '', 'saral' ), 'default' => 'Business Hours', ), array( 'id' => 'contact_page_heading', 'type' => 'text', 'title' => esc_html__( 'Contact Information Heading', 'saral' ), 'subtitle' => esc_html__( 'Enter the contact information heading to show on the contect page', 'saral' ), 'desc' => esc_html__( '', 'saral' ), 'default' => 'Contact Information', ), ) ) ); /*-------------------- Coming-Soon page ---------------------------------*/ Redux::setSection( $opt_name , array ( 'title' => esc_html__('Coming Soon' ,'saral' ), 'id' =>'coming_soon', 'desc' =>esc_html__('Theme coming soon page option' ,'saral'), 'customizer_width' => '400px', 'icon' => 'el el-time', 'fields' => array ( array( 'id' => 'coming_soon_bg', 'type' => 'background', 'title' => esc_html__( 'Coming Soon Background', 'saral' ), 'subtitle' => esc_html__( 'Select coming soon background with image, color, etc.', 'saral' ), 'default' => array('background-color'=>'#000000'), ), array( 'id' => 'coming_soon_date', 'type' => 'text', 'title' => esc_html__('Date Option', 'saral'), 'subtitle' => esc_html__('', 'saral'), 'desc' => esc_html__('Select a date for coming soon section with the format "Y-m-d".', 'saral'), 'placeholder' => esc_html__('Click to enter a date' , 'saral' ), 'default' => date('Y-m-d',strtotime("-1 days")) ), array( 'id' => 'coming_soon_logo', 'type' => 'media', 'url' => true, 'title' => esc_html__( 'Coming Soon Logo', 'saral' ), 'compiler' => 'true', 'desc' => esc_html__( '', 'saral' ), 'subtitle' => esc_html__( 'Upload the logo for your coming soon page', 'saral' ), 'default' => array( 'url' => get_template_directory_uri().'/images/logo.png' ), ), array( 'id' => 'coming_soon_font_typography', 'type' => 'typography', 'title' => esc_html__( 'Coming Soon Font', 'saral' ), 'subtitle' => esc_html__( 'Specify the coming soon font properties.', 'saral' ), 'google' => true, 'text-align' => false, 'default' => array( 'font-family' => 'Roboto', 'font-weight' => '100', 'font-size' => '46px', 'line-height' => '70px', 'color' => '#fff', ), ), ) ) ); // -> START Contact Page options $args = array('post_type' => 'saral_team', 'posts_per_page' => -1); if( $saral_member = get_posts( $args ) ): $saral_team_member = array(); foreach($saral_member as $saral_members){ $saral_team_member[$saral_members->ID] = $saral_members->post_title; } else: $saral_team_member = array(); endif; Redux::setSection( $opt_name, array( 'title' => esc_html__( 'Services Settings', 'saral' ), 'id' => 'services_settings', 'desc' => esc_html__( 'Services settings!', 'saral' ), 'customizer_width' => '400px', 'icon' => 'el el-cog', 'fields' => array( array( 'id' => 'service_per_page', 'type' => 'slider', 'title' => esc_html__( 'Number Of Services Per Page', 'saral' ), 'subtitle' => esc_html__( 'Set the number of products shown on page', 'saral' ), 'default' => 10, 'min' => 1, 'step' => 1, 'max' => 100, 'display_value' => 'label' ), array( 'id' => 'enable_featured_services', 'type' => 'switch', 'title' => esc_html__('Enable Featured Services ','saral'), 'subtitle' => esc_html__('Enable featured services','saral'), 'desc' => esc_html__( 'Enable Featured Services Section On Services detail page', 'saral' ), 'default' => false ), array( 'id' => 'featured_services', 'type' => 'select', 'data' => 'posts', 'args' => array('post_type'=>'saral_service'), 'title' => esc_html__( 'Select Featured Services', 'saral' ), 'subtitle' => esc_html__( 'Select the featured services', 'saral' ), 'desc' => esc_html__( '', 'saral' ), ), array( 'id' => 'service_link_detail', 'type' => 'switch', 'title' => esc_html__('Link To Detail Page','saral'), 'subtitle' => esc_html__('Link services to their single detail page on services listing page','saral'), 'desc' => esc_html__( '', 'saral' ), 'default' => true ), array( 'id' => 'featured_service_title', 'type' => 'text', 'title' => esc_html__( 'Featured Service Heading', 'saral' ), 'subtitle' => esc_html__( 'Enter the heading, for the featured service section', 'saral' ), 'desc' => esc_html__( 'Default value is "Featured Service"', 'saral' ), 'default' => 'Featured Service', ), array( 'id' => 'service_title', 'type' => 'text', 'title' => esc_html__( 'Service Listing Heading', 'saral' ), 'subtitle' => esc_html__( 'Enter the heading, you want to show on service section', 'saral' ), 'desc' => esc_html__( 'Default value is "Other Services"', 'saral' ), 'default' => 'Other Services', ), array( 'id' => 'enable_team_member_services', 'type' => 'switch', 'title' => esc_html__('Enable Other Team Member','saral'), 'subtitle' => esc_html__('Enable other team member section on service detail page ','saral'), 'desc' => esc_html__( '', 'saral' ), 'default' => true ), array( 'id' => 'team_member_title', 'type' => 'text', 'title' => esc_html__('Team Member Section Title','saral'), 'subtitle' => esc_html__('Add team member section title.','saral'), 'desc' => esc_html__( '', 'saral' ), 'default' => 'Construction Team' ), array( 'id' => 'show_recent_portfolio', 'type' => 'switch', 'title' => esc_html__('Show Recent Portfolio','saral'), 'subtitle' => esc_html__('Show recent portfolio on service single page ','saral'), 'desc' => esc_html__( '', 'saral' ), 'default' => true ), array( 'id' => 'recent_portfolio_title', 'type' => 'text', 'title' => esc_html__('Recent Portfolio Title','saral'), 'subtitle' => esc_html__('Add recent portfolio title.','saral'), 'desc' => esc_html__( '', 'saral' ), 'default' => 'Recent Projects' ), ) ) ); Redux::setSection( $opt_name, array( 'title' => esc_html__( 'Team Page Settings ', 'saral' ), 'id' => 'team_setting', 'desc' => esc_html__( 'Set the team page settings!', 'saral' ), 'customizer_width' => '400px', 'icon' => 'el el-group', 'fields' => array( array( 'id' => 'enable_team_member', 'type' => 'switch', 'title' => esc_html__('Enable Other Team Member','saral'), 'subtitle' => esc_html__('Enable other team member section on team detail page ','saral'), 'desc' => esc_html__( '', 'saral' ), 'default' => true ), array( 'id' => 'team_title', 'type' => 'text', 'title' => esc_html__('Team Member Section Title','saral'), 'subtitle' => esc_html__('Add team member section title on team detail page.','saral'), 'desc' => esc_html__( '', 'saral' ), 'default' => 'Other Members' ), ) ) ); Redux::setSection( $opt_name, array( 'title' => esc_html__( 'Search Page Settings ', 'saral' ), 'id' => 'extra_setting', 'desc' => esc_html__( 'Set the search page settings!', 'saral' ), 'customizer_width' => '400px', 'icon' => 'el el-search', 'fields' => array( array( 'id' => 'search_data', 'type' => 'checkbox', 'title' => esc_html__('Select Posts display in the search page.', 'saral'), 'subtitle' => esc_html__('Select Posts display in the search page.', 'saral'), 'desc' => esc_html__('Selected posts are included in the serach page.', 'saral'), 'data' => 'post_types', 'default' => array('post'=>'1'), ), array( 'id' => 'search_page_title', 'type' => 'text', 'title' => esc_html__( 'Search Page Title', 'saral' ), 'subtitle' => esc_html__( 'Search Page Title', 'saral' ), 'desc' => esc_html__( 'Search Page Title', 'saral' ), 'default' => '', ), array( 'id' => 'no_result_text', 'type' => 'text', 'title' => esc_html__( 'Search No Result Content', 'saral' ), 'subtitle' => esc_html__( 'Search no result content', 'saral' ), 'desc' => esc_html__( 'Search no result content', 'saral' ), 'default' => 'No data matched according to your search.', ), ) ) ); Redux::setSection( $opt_name, array( 'title' => esc_html__( 'Post Types', 'saral' ), 'id' => 'saral_post_types', 'desc' => esc_html__( 'Post types settings options!', 'saral' ), 'customizer_width' => '400px', 'icon' => 'el el-file', 'fields' => array( array( 'id' => 'disable_posts', 'type' => 'checkbox', 'title' => esc_html__('Uncheck Post Types That You Do Not Want In Your Site.', 'saral'), 'subtitle' => esc_html__('Uncheck post types that you do not want in your site.', 'saral'), 'desc' => esc_html__('Uncheck post types that you do not want in your site.', 'saral'), 'options' => array( 'saral_team' => 'Team Members', 'saral_testimonial' => 'Testimonials', 'saral_service' => 'Services' ), 'default' => array('saral_team'=>'1', 'saral_testimonial'=>'1', 'saral_service'=>'1', ), ), array( 'id' => 'team_post_slug', 'type' => 'text', 'title' => esc_html__( 'Team Member Posts Slug.', 'saral' ), 'subtitle' => esc_html__( 'Team member posts slug.', 'saral' ), 'desc' => esc_html__( 'Team member posts slug.', 'saral' ), 'default' => 'saral_team', 'validate' => 'not_empty', ), array( 'id' => 'testimonial_post_slug', 'type' => 'text', 'title' => esc_html__( 'Testimonials Posts Slug.', 'saral' ), 'subtitle' => esc_html__( 'Testimonials posts slug.', 'saral' ), 'desc' => esc_html__( 'Testimonials posts slug.', 'saral' ), 'default' => 'saral_testimonial', 'validate' => 'not_empty', ), array( 'id' => 'service_post_slug', 'type' => 'text', 'title' => esc_html__( 'Services Posts Slug.', 'saral' ), 'subtitle' => esc_html__( 'Services posts slug.', 'saral' ), 'desc' => esc_html__( 'Services posts slug.', 'saral' ), 'default' => 'saral_service', 'validate' => 'not_empty', ), ) ) ); Redux::setSection( $opt_name, array( 'title' => esc_html__( '404 Page Settings', 'saral' ), 'id' => 'page_not_found', 'desc' => esc_html__( 'Theme 404 page setting options!', 'saral' ), 'customizer_width' => '400px', 'icon' => 'el el-warning-sign', 'fields' => array( array( 'id' => 'not_found_top_content', 'type' => 'text', 'title' => esc_html__( 'Page Not Found Top Content', 'saral' ), 'subtitle' => esc_html__( 'Add page not found top content', 'saral' ), 'default' => 'Ooops! Page Not Found!', ), array( 'id' => 'not_found_middle_content', 'type' => 'text', 'title' => esc_html__( 'Page Not Found Middle Content', 'saral' ), 'subtitle' => esc_html__( 'Add page not found middle content', 'saral' ), 'default' => '404', ), array( 'id' => 'not_found_bottom_content', 'type' => 'textarea', 'title' => esc_html__( 'Page Not Found Bottom Content', 'saral' ), 'subtitle' => esc_html__( 'Add page not found bottom content', 'saral' ), 'default' => 'You can go back to the
Homepage
or use Search', ), array( 'id' => '404_middle_typography', 'type' => 'typography', 'title' => esc_html__( 'Middle Content Typography', 'saral' ), 'subtitle' => esc_html__( 'Specify the middle content font properties.', 'saral' ), 'google' => true, 'default' => array( 'color' => '#f8bb00', 'font-size' => '236px', 'font-family' => 'Roboto', 'font-weight' => '300', 'line-height' => '240px', ), ), array( 'id' => 'page_not_found_search', 'type' => 'checkbox', 'title' => esc_html__('Enable Search Form', 'saral'), 'subtitle' => esc_html__('Enable search form', 'saral'), 'desc' => esc_html__('If checked then search form will we dispaly on the page not found page.', 'saral'), 'default' => '1'// 1 = on | 0 = off ), ) ) );