Sid Gifari File Manager
🏠 Root
/
home
/
ailwtbdh
/
public_html
/
wp-content
/
themes
/
profund
/
inc
/
Editing: profund-option.php
<?php /** * ReduxFramework Sample Config File * For full documentation, please visit: http://docs.reduxframework.com/ */ if ( ! class_exists( 'Redux' ) ) { return; } // This is your option name where all the Redux data is stored. $opt_name = "profund_opt"; /** * ---> 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' => __( 'Profund options', 'profund' ), 'page_title' => __( 'Profund options', 'profund' ), // 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' => false, // 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' => 30, // 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' => 'profund_opt', // 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 ); /* * ---> END ARGUMENTS */ // Typography Section Redux::setSection($opt_name , array( 'title' => esc_html__( 'Typography.', 'profund' ), 'id' => 'typography_settings', 'icon' => 'el el-text-height', 'fields' => array( array( 'id' => 'body_typo', 'type' => 'typography', 'title' => __( 'Body', 'profund' ), 'google' => true, 'font-backup' => false, 'font-style' => false, 'text-transform' => true, 'subsets' => false, 'all_styles' => true, 'output' => array( 'body' ), 'units' => 'px' ), array( 'id' => 'h1_typo', 'type' => 'typography', 'title' => __( 'H1 Typography', 'profund' ), 'google' => true, 'font-backup' => false, 'font-style' => false, 'text-transform' => true, 'subsets' => false, 'all_styles' => true, 'output' => array( 'h1' ), 'units' => 'px' ), array( 'id' => 'h2_typo', 'type' => 'typography', 'title' => __( 'H2 Typography', 'profund' ), 'google' => true, 'font-backup' => false, 'font-style' => false, 'text-transform' => true, 'subsets' => false, 'all_styles' => true, 'output' => array( 'h2' ), 'units' => 'px' ), array( 'id' => 'h3_typo', 'type' => 'typography', 'title' => __( 'H3 Typography', 'profund' ), 'google' => true, 'font-backup' => false, 'font-style' => false, 'text-transform' => true, 'subsets' => false, 'all_styles' => true, 'output' => array( 'h3' ), 'units' => 'px' ), array( 'id' => 'h4_typo', 'type' => 'typography', 'title' => __( 'H4 Typography', 'profund' ), 'google' => true, 'font-backup' => false, 'font-style' => false, 'text-transform' => true, 'subsets' => false, 'all_styles' => true, 'output' => array( 'h4' ), 'units' => 'px' ), array( 'id' => 'h5_typo', 'type' => 'typography', 'title' => __( 'H5 Typography', 'profund' ), 'google' => true, 'font-backup' => false, 'font-style' => false, 'text-transform' => true, 'subsets' => false, 'all_styles' => true, 'output' => array( 'h5' ), 'units' => 'px' ), array( 'id' => 'h6_typo', 'type' => 'typography', 'title' => __( 'H6 Typography', 'profund' ), 'google' => true, 'font-backup' => false, 'font-style' => false, 'text-transform' => true, 'subsets' => false, 'all_styles' => true, 'output' => array( 'h6' ), 'units' => 'px' ), array( 'title' => esc_html__('Anchor Color', 'profund'), 'subtitle' => esc_html__('Setup Anchor Color.', 'profund'), 'id' => 'anchor_color', 'type' => 'color', 'output' => array('a'), ), array( 'title' => esc_html__('Anchor Hover Color', 'profund'), 'subtitle' => esc_html__('Setup Anchor Hover Color.', 'profund'), 'id' => 'anchor_hover_color', 'type' => 'color', 'output' => array('a:hover,a:focus'), ), array( 'title' => esc_html__('Blockquote Color', 'profund'), 'subtitle' => esc_html__('Setup Blockquote Color.', 'profund'), 'id' => 'blockquote_color', 'type' => 'color', 'output' => array('blockquote'), ), array( 'id' => 'blockquote_bg', 'type' => 'color', 'title' => esc_html__( 'Blockquote Background', 'profund' ), 'subtitle' => esc_html__( 'Blockquote background color', 'profund' ), 'mode' => 'background', 'output' => "blockquote" ), ) )); // Navbar Section Redux::setSection( $opt_name, array( 'title' => esc_html__( 'Navbar Settings', 'profund' ), 'id' => 'navbar_sec', 'customizer_width' => '400px', 'icon' => 'el el-list', )); Redux::setSection($opt_name , array( 'title' => esc_html__( 'Top Bar Option.', 'profund' ), 'id' => 'menu_top_bar', 'subsection' => true, 'icon' => '', 'fields' => array( array( 'id' => 'is_top_bar', 'type' => 'switch', 'title' => esc_html__( 'Enable Top Bar', 'profund' ), 'subtitle' => esc_html__( 'Show/Hide the menu top bar content on the navbar.', 'profund' ), 'on' => esc_html__( 'Show', 'profund' ), 'off' => esc_html__( 'Hide', 'profund' ), 'default' => false, ), array( 'title' => esc_html__('Left Content', 'profund'), 'subtitle' => esc_html__('Please set menu top bar left content here.', 'profund'), 'id' => 'top_bar_left_section_start', 'type' => 'section', 'indent' => true, 'required' => array('is_top_bar', '=', '1'), ), array( 'id' => 'top_bar_mail_text', 'type' => 'text', 'validate' => 'email', 'default' => 'support@profund.net', 'title' => __( 'E-mail Address', 'profund'), 'desc' => __( 'Please enter your valid email address. Example : (yourname@domain.com)', 'profund'), ), array( 'id' => 'top_bar_phone_text', 'type' => 'text', 'default' => '+1-541-754-3010', 'title' => __( 'Phone Number', 'profund'), 'desc' => __( 'Please enter your valid phone number.', 'profund'), ), array( 'id' => 'top_bar_left_section_end', 'type' => 'section', 'indent' => false, ), array( 'title' => esc_html__('Right Social Link', 'profund'), 'subtitle' => esc_html__('Please set menu top bar social link here.', 'profund'), 'id' => 'top_bar_right_section_start', 'type' => 'section', 'indent' => true, 'required' => array('is_top_bar', '=', '1'), ), array( 'id' => 'tp_sc_facebook', 'type' => 'text', 'default' => '', 'title' => __( 'Facebook URL', 'profund'), 'desc' => __( 'Please enter facebook profile url.', 'profund'), ), array( 'id' => 'tp_sc_twitter', 'type' => 'text', 'default' => '', 'title' => __( 'Twitter URL', 'profund'), 'desc' => __( 'Please enter Twitter profile url.', 'profund'), ), array( 'id' => 'tp_sc_linkedin', 'type' => 'text', 'default' => '', 'title' => __( 'Linkedin URL', 'profund'), 'desc' => __( 'Please enter Linkedin profile url.', 'profund'), ), array( 'id' => 'tp_sc_instagram', 'type' => 'text', 'default' => '', 'title' => __( 'Instagram URL', 'profund'), 'desc' => __( 'Please enter Instagram profile url.', 'profund'), ), array( 'id' => 'tp_sc_pinterest', 'type' => 'text', 'default' => '', 'title' => __( 'Pinterest URL', 'profund'), 'desc' => __( 'Please enter Pinterest profile url.', 'profund'), ), array( 'id' => 'tp_sc_flickr', 'type' => 'text', 'default' => '', 'title' => __( 'Flickr URL', 'profund'), 'desc' => __( 'Please enter Flickr profile url.', 'profund'), ), array( 'id' => 'tp_sc_youtube', 'type' => 'text', 'default' => '', 'title' => __( 'YouTube URL', 'profund'), 'desc' => __( 'Please enter YouTube profile url.', 'profund'), ), array( 'id' => 'tp_sc_vimeo', 'type' => 'text', 'default' => '', 'title' => __( 'Vimeo URL', 'profund'), 'desc' => __( 'Please enter Vimeo profile url.', 'profund'), ), array( 'id' => 'top_bar_right_section_end', 'type' => 'section', 'indent' => false, ), ) )); // Logo Redux::setSection( $opt_name, array( 'title' => esc_html__( 'Logo', 'profund' ), 'id' => 'logo_opt', 'subsection' => true, 'icon' => '', 'fields' => array( array( 'title' => esc_html__('Upload logo', 'profund'), 'subtitle' => esc_html__( 'Upload here a image file for your logo', 'profund' ), 'id' => 'main_logo', 'type' => 'media', 'default' => array( 'url' => get_theme_file_uri('/assets/images/logo.png') ) ), array( 'title' => esc_html__('Sticky Navbar Logo', 'profund'), 'id' => 'sticky_logo', 'type' => 'media', 'default' => array( 'url' => get_theme_file_uri('/assets/images/logo.png') ) ), array( 'title' => esc_html__('Logo dimensions', 'profund'), 'subtitle' => esc_html__( 'Set a custom height width for your upload logo.', 'profund' ), 'id' => 'logo_dimensions', 'type' => 'dimensions', 'units' => array('em','px','%'), 'output' => '.site-branding img' ), array( 'title' => esc_html__('Padding', 'profund'), 'subtitle' => esc_html__('Padding around the logo. Input the padding as clockwise (Top Right Bottom Left)', 'profund'), 'id' => 'logo_padding', 'type' => 'spacing', 'output' => array( '.site-branding' ), 'mode' => 'padding', 'units' => array( 'em', 'px', '%' ), // You can specify a unit value. Possible: px, em, % 'units_extended' => 'true', ), ) ) ); // Navbar Section Redux::setSection( $opt_name , array( 'title' => esc_html__( 'Navbar Option', 'profund' ), 'id' => 'navbar_content_sec', 'customizer_width' => '400px', 'icon' => '', 'subsection' => true, 'fields' => array( array( 'id' => 'transparent_menu', 'type' => 'switch', 'title' => __( 'Navbar Transparent', 'profund' ), 'on' => esc_html__('On', 'profund'), 'off' => esc_html__('Off', 'profund'), 'default' => false, ), array( 'id' => 'is_navbar_sticky', 'type' => 'switch', 'title' => esc_html__( 'Navbar Sticky', 'profund' ), 'on' => esc_html__('On', 'profund'), 'off' => esc_html__('Off', 'profund'), 'default' => true, ), ) )); // navbar Styling Redux::setSection( $opt_name , array( 'title' => esc_html__( 'Navbar Style', 'profund' ), 'id' => 'navbar_styling_sec', 'customizer_width' => '400px', 'icon' => '', 'subsection' => true, 'fields' => array( array( 'title' => esc_html__('Navbar box layout', 'profund'), 'id' => 'nav_layout', 'type' => 'select', 'default' => 'wide', 'options' => array( 'boxed' => esc_html__( 'Boxed', 'profund' ), 'boxed_2' => esc_html__( 'Boxed 2', 'profund' ), 'wide' => esc_html__( 'Wide', 'profund' ), 'full_width' => esc_html__( 'Full Width', 'profund' ), ) ), array( 'id' => 'navbar_bg_color', 'type' => 'color_rgba', 'title' => esc_html__( 'Navbar Background', 'profund' ), 'subtitle' => esc_html__( 'Navbar background color', 'profund' ), 'mode' => 'background', 'output' => ['.transparent-menu .mainmenu-area','.mainmenu-area'], 'validate' => 'colorrgba' ), array( 'id' => 'navbar_sticky_bg_color', 'type' => 'color_rgba', 'title' => esc_html__( 'Navbar Sticky Background', 'profund' ), 'subtitle' => esc_html__( 'Background color on navbar sticky mode', 'profund' ), 'mode' => 'background', 'output' => ['.transparent-menu .mainmenu-area.affix','.mainmenu-area.affix'], 'validate' => 'colorrgba' ), array( 'title' => esc_html__('Navbar Padding', 'profund'), 'subtitle' => esc_html__('Padding around the navbar . Input the padding as clockwise (Top Right Bottom Left)', 'profund'), 'id' => 'navbar_navbarpadding', 'type' => 'spacing', 'output' => array( '.mainmenu-area' ), 'mode' => 'padding', 'units' => array( 'em', 'px', '%' ), // You can specify a unit value. Possible: px, em, % 'units_extended' => 'true', ), array( 'title' => esc_html__('Navbar Sticky Padding', 'profund'), 'subtitle' => esc_html__('Padding around the sticky navbar. Input the padding as clockwise (Top Right Bottom Left)', 'profund'), 'id' => 'navbar_sticky_padding', 'type' => 'spacing', 'output' => array( '.mainmenu-area.affix' ), 'mode' => 'padding', 'units' => array( 'em', 'px', '%' ), // You can specify a unit value. Possible: px, em, % 'units_extended' => 'true', ), array( 'title' => esc_html__('Menu Shadow', 'profund'), 'id' => 'menuarea_shadow', 'type' => 'text', 'default' => '0 16px 32px 0 rgba(0, 0, 0, 0.02)' ), array( 'title' => esc_html__('Sticky Menu Shadow', 'profund'), 'id' => 'sticky_menuarea_shadow', 'type' => 'text', 'default' => '0 16px 32px 0 rgba(0, 0, 0, 0.02)' ), array( 'title' => esc_html__('Menu Item Style', 'profund'), 'subtitle' => esc_html__('Menu item style attributes on normal (non sticky) mode.', 'profund'), 'id' => 'mi_colors', 'type' => 'section', 'indent' => true, ), array( 'id' => 'mi_typography', 'type' => 'typography', 'title' => __( 'Typography', 'profund' ), 'google' => true, 'font-backup' => false, 'font-style' => false, 'text-transform' => true, 'subsets' => false, 'all_styles' => true, 'output' => array( '.primary-menu ul.nav > li > a' ), 'units' => 'px' ), array( 'title' => esc_html__('Bar Color', 'profund'), 'id' => 'mi_bar_color', 'type' => 'color', 'mode' => 'background', 'output' => array('.primary-menu ul.nav > li > a:before'), ), // Button color on hover stats array( 'title' => esc_html__('Hover Font Color', 'profund'), 'subtitle' => esc_html__('Font color on hover stats.', 'profund'), 'id' => 'mi_hover_font_color', 'type' => 'color', 'output' => array('.primary-menu > ul.nav > li:hover > a','.primary-menu > ul.nav > li.active > a','.primary-menu > ul.nav > li.current-menu-item > a'), ), array( 'id' => 'mi_colors-end', 'type' => 'section', 'indent' => false, ), /* * Button colors on sticky mode */ array( 'title' => esc_html__('Sticky Menu Style', 'profund'), 'subtitle' => esc_html__('Menu colors on sticky mode.', 'profund'), 'id' => 'mi_colors_sticky', 'type' => 'section', 'indent' => true, 'required' => array('is_menu_btn', '=', '1'), ), array( 'title' => esc_html__('Sticky Font color', 'profund'), 'id' => 'mi_sticky_font_color', 'type' => 'color', 'output' => array('.affix .primary-menu > ul.nav > li > a'), ), array( 'title' => esc_html__('Sticky Bar Color', 'profund'), 'id' => 'mi_sticky_bar_color', 'type' => 'color', 'mode' => 'background', 'output' => array('.affix .primary-menu ul.nav > li > a:before'), ), // Button color on hover stats array( 'title' => esc_html__('Sticky Hover Font Color', 'profund'), 'subtitle' => esc_html__('Font color on hover stats.', 'profund'), 'id' => 'mi_sticky_hover_font_color', 'type' => 'color', 'output' => array('.affix .primary-menu > ul.nav > li:hover > a','.affix .primary-menu > ul.nav > li.active > a','.affix .primary-menu > ul.nav > li.current-menu-item > a'), ), array( 'id' => 'mi_colors_sticky_end', 'type' => 'section', 'indent' => false, ), array( 'title' => esc_html__('Dropdown Menu', 'profund'), 'subtitle' => esc_html__('Dropdown Menu style attributes on normal (non sticky) mode.', 'profund'), 'id' => 'dr_mi_colors', 'type' => 'section', 'indent' => true, ), array( 'id' => 'dr_mi_typography', 'type' => 'typography', 'title' => __( 'Typography', 'profund' ), 'google' => true, 'font-backup' => false, 'font-style' => false, 'subsets' => false, 'text-transform' => true, 'all_styles' => true, 'output' => array( '.primary-menu ul.nav ul li a' ), 'units' => 'px' ), // Button color on hover stats array( 'title' => esc_html__('Hover Color', 'profund'), 'subtitle' => esc_html__('Font color on hover stats.', 'profund'), 'id' => 'dr_mi_hover_font_color', 'type' => 'color', 'output' => array('.primary-menu ul.nav .sub-menu li.current-menu-item > a, .primary-menu ul.nav .sub-menu li.active > a, .primary-menu ul.nav .sub-menu li:hover > a'), ), array( 'id' => 'dr_mi_colors-end', 'type' => 'section', 'indent' => false, ), array( 'title' => esc_html__('Plus Color', 'profund'), 'id' => 'menu_plus_color', 'type' => 'color', 'mode' => 'background', 'output' => array('.mainmenu-area #mainmenu ul li > a i.plus:before, .mainmenu-area #mainmenu ul li > a i.plus:after'), ), array( 'title' => esc_html__('Sticky Plus Color', 'profund'), 'id' => 'sticky_menu_plus_color', 'type' => 'color', 'mode' => 'background', 'output' => array('.mainmenu-area.affix #mainmenu ul li > a i.plus:before, .mainmenu-area.affix #mainmenu ul li > a i.plus:after'), ), ) )); // Action button Redux::setSection($opt_name , array( 'title' => esc_html__( 'Action Button', 'profund' ), 'id' => 'menu_action_btn_opt', 'subsection' => true, 'icon' => '', 'fields' => array( array( 'title' => esc_html__('Button Visibility', 'profund'), 'id' => 'is_menu_btn', 'type' => 'switch', 'on' => esc_html__('Show', 'profund'), 'off' => esc_html__('Hide', 'profund'), 'default' => false ), array( 'title' => esc_html__('Button label', 'profund'), 'subtitle' => esc_html__('Leave the button label field empty to hide the menu action button.', 'profund'), 'id' => 'menu_btn_label', 'type' => 'text', 'default' => esc_html__('Get Started', 'profund'), 'required' => array('is_menu_btn', '=', '1') ), array( 'title' => esc_html__('Button URL', 'profund'), 'id' => 'menu_btn_url', 'type' => 'text', 'default' => '#', 'required' => array('is_menu_btn', '=', '1') ), array( 'title' => esc_html__('Button Colors', 'profund'), 'subtitle' => esc_html__('Button style attributes on normal (non sticky) mode.', 'profund'), 'id' => 'button_colors', 'type' => 'section', 'indent' => true, 'required' => array('is_menu_btn', '=', '1'), ), array( 'title' => esc_html__('Font color', 'profund'), 'id' => 'menu_btn_font_color', 'type' => 'color', 'output' => array('.mainmenu-area .action-button'), ), array( 'title' => esc_html__('Background Color', 'profund'), 'id' => 'menu_btn_bg_color', 'type' => 'color', 'mode' => 'background', 'output' => array('.mainmenu-area .action-button'), ), // Button color on hover stats array( 'title' => esc_html__('Hover Font Color', 'profund'), 'subtitle' => esc_html__('Font color on hover stats.', 'profund'), 'id' => 'menu_btn_hover_font_color', 'type' => 'color', 'output' => array('.mainmenu-area .action-button:hover'), ), array( 'title' => esc_html__('Hover background color', 'profund'), 'subtitle' => esc_html__('Background color on hover stats.', 'profund'), 'id' => 'menu_btn_hover_bg_color', 'type' => 'color', 'output' => array( 'background' => '.mainmenu-area .action-button:hover,.mainmenu-area .action-button .dir-part', ), ), array( 'id' => 'action_button_border', 'type' => 'border', 'title' => __( 'Button Border', 'profund' ), 'output' => array( '.mainmenu-area .action-button' ), ), array( 'id' => 'button_colors-end', 'type' => 'section', 'indent' => false, ), /* * Button colors on sticky mode */ array( 'title' => esc_html__('Sticky Button Style', 'profund'), 'subtitle' => esc_html__('Button colors on sticky mode.', 'profund'), 'id' => 'button_colors_sticky', 'type' => 'section', 'indent' => true, 'required' => array('is_menu_btn', '=', '1'), ), array( 'title' => esc_html__('Font color', 'profund'), 'id' => 'menu_btn_font_color_sticky', 'type' => 'color', 'output' => array('.affix.mainmenu-area .action-button'), ), array( 'title' => esc_html__('Background color', 'profund'), 'id' => 'menu_btn_bg_color_sticky', 'type' => 'color', 'mode' => 'background', 'output' => array('.affix.mainmenu-area .action-button'), ), // Button color on hover stats array( 'title' => esc_html__('Hover font color', 'profund'), 'subtitle' => esc_html__('Font color on hover stats.', 'profund'), 'id' => 'menu_btn_hover_font_color_sticky', 'type' => 'color', 'output' => array('.affix.mainmenu-area .action-button:hover'), ), array( 'title' => esc_html__('Hover background color', 'profund'), 'subtitle' => esc_html__('Background color on hover stats.', 'profund'), 'id' => 'menu_btn_hover_bg_color_sticky', 'type' => 'color', 'output' => array( 'background' => '.affix.mainmenu-area .action-button:hover,.affix.mainmenu-area .action-button .dir-part', ), ), array( 'id' => 'action_button_border_sticky', 'type' => 'border', 'title' => __( 'Sticky Button Border', 'profund' ), 'output' => array( '.mainmenu-area.affix .action-button' ), ), array( 'id' => 'button_colors-sticky-end', 'type' => 'section', 'indent' => false, ), array( 'title' => esc_html__('Button padding', 'profund'), 'subtitle' => esc_html__('Padding around the menu action button.', 'profund'), 'id' => 'menu_btn_padding', 'type' => 'spacing', 'output' => array( '.mainmenu-area .action-button' ), 'mode' => 'padding', 'units' => array( 'em', 'px', '%' ), // You can specify a unit value. Possible: px, em, % 'units_extended' => 'true', 'required' => array('is_menu_btn', '=', '1') ), array( 'title' => esc_html__('Button Radius', 'profund'), 'subtitle' => esc_html__('Radius around the button. Input the radius as clockwise (Top Right Bottom Left)', 'profund'), 'id' => 'action_button_radius', 'type' => 'spacing', 'mode' => 'border-radius', 'units' => array( 'em', 'px', '%' ), 'units_extended' => 'true', ), ) )); if( class_exists('woocommerce') ): // Action button Redux::setSection($opt_name , array( 'title' => esc_html__( 'Shoping Cart', 'profund' ), 'id' => 'menu_shop_cart', 'subsection' => true, 'icon' => '', 'fields' => array( array( 'title' => esc_html__('Mini Cart', 'profund'), 'subtitle' => esc_html__( 'Mini Cart icon visibility on the navbar.', 'profund' ), 'id' => 'is_mini_cart', 'type' => 'switch', 'on' => esc_html__('Show', 'profund'), 'off' => esc_html__('Hide', 'profund'), 'default' => false ), array( 'title' => esc_html__('Button Style', 'profund'), 'subtitle' => esc_html__('Button style attributes on normal (non sticky) mode.', 'profund'), 'id' => 'mini_cart_section', 'type' => 'section', 'indent' => true, 'required' => array('is_mini_cart', '=', '1'), ), array( 'title' => esc_html__('Font color', 'profund'), 'id' => 'mini_cart_font_color', 'type' => 'color', 'output' => array('.mainmenu-area .cart-button'), ), array( 'title' => esc_html__('Background Color', 'profund'), 'id' => 'mini_cart_bg_color', 'type' => 'color', 'mode' => 'background', 'output' => array('.mainmenu-area .cart-button'), ), // Button color on hover stats array( 'title' => esc_html__('Hover Font Color', 'profund'), 'subtitle' => esc_html__('Font color on hover stats.', 'profund'), 'id' => 'mini_cart_hover_font_color', 'type' => 'color', 'output' => array('.mainmenu-area .cart-button:hover'), ), array( 'title' => esc_html__('Hover background color', 'profund'), 'subtitle' => esc_html__('Background color on hover stats.', 'profund'), 'id' => 'mini_cart_hover_bg_color', 'type' => 'color', 'output' => array( 'background' => '.mainmenu-area .cart-button:before', ), ), array( 'id' => 'mini_cart_style_end', 'type' => 'section', 'indent' => false, ), /* * Button colors on sticky mode */ array( 'title' => esc_html__('Sticky Button Style', 'profund'), 'subtitle' => esc_html__('Button colors on sticky mode.', 'profund'), 'id' => 'mini_cart_sticky_section', 'type' => 'section', 'indent' => true, 'required' => array('is_mini_cart', '=', '1'), ), array( 'title' => esc_html__('Font color', 'profund'), 'id' => 'mini_cart_font_color_sticky', 'type' => 'color', 'output' => array('.affix.mainmenu-area .cart-button'), ), array( 'title' => esc_html__('Background color', 'profund'), 'id' => 'mini_cart_bg_color_sticky', 'type' => 'color', 'mode' => 'background', 'output' => array('.affix.mainmenu-area .cart-button'), ), // Button color on hover stats array( 'title' => esc_html__('Hover font color', 'profund'), 'subtitle' => esc_html__('Font color on hover stats.', 'profund'), 'id' => 'mini_cart_hover_font_color_sticky', 'type' => 'color', 'output' => array('.affix.mainmenu-area .cart-button:hover'), ), array( 'title' => esc_html__('Hover background color', 'profund'), 'subtitle' => esc_html__('Background color on hover stats.', 'profund'), 'id' => 'mini_cart_hover_bg_color_sticky', 'type' => 'color', 'output' => array( 'background' => '.affix.mainmenu-area .cart-button:before', ), ), array( 'id' => 'mini_cart_sticky_section_end', 'type' => 'section', 'indent' => false, ), array( 'title' => esc_html__('Button Dimensions', 'profund'), 'subtitle' => esc_html__( 'Set a custom dimensions.', 'profund' ), 'id' => 'mini_cart_button_dimensions', 'type' => 'dimensions', 'units' => array('em','px','%'), 'required' => array('is_mini_cart', '=', '1'), 'output' => '.mainmenu-area .cart-button' ), array( 'title' => esc_html__('Padding', 'profund'), 'subtitle' => esc_html__('Padding around the shoping cart button. Input the padding as clockwise (Top Right Bottom Left)', 'profund'), 'id' => 'mini_cart_button_padding', 'type' => 'spacing', 'output' => array( '.mainmenu-area .cart-button' ), 'mode' => 'padding', 'required' => array('is_mini_cart', '=', '1'), 'units' => array( 'em', 'px', '%' ), // You can specify a unit value. Possible: px, em, % 'units_extended' => 'true', ), ) )); endif; // Action button Redux::setSection($opt_name , array( 'title' => esc_html__( 'Search Option', 'profund' ), 'id' => 'menu_search_option', 'subsection' => true, 'icon' => '', 'fields' => array( array( 'id' => 'is_search', 'type' => 'switch', 'title' => esc_html__( 'Search Option', 'profund' ), 'subtitle' => esc_html__( 'Show/Hide the Search icon on the navbar.', 'profund' ), 'on' => esc_html__( 'Show', 'profund' ), 'off' => esc_html__( 'Hide', 'profund' ), 'default' => false, ), array( 'title' => esc_html__('Button Style', 'profund'), 'subtitle' => esc_html__('Button style attributes on normal (non sticky) mode.', 'profund'), 'id' => 'search_option_section', 'type' => 'section', 'indent' => true, 'required' => array('is_search', '=', '1'), ), array( 'title' => esc_html__('Font color', 'profund'), 'id' => 'search_option_font_color', 'type' => 'color', 'output' => array('.mainmenu-area .search-button'), ), array( 'title' => esc_html__('Background Color', 'profund'), 'id' => 'search_option_bg_color', 'type' => 'color', 'mode' => 'background', 'output' => array('.mainmenu-area .search-button'), ), // Button color on hover stats array( 'title' => esc_html__('Hover Font Color', 'profund'), 'subtitle' => esc_html__('Font color on hover stats.', 'profund'), 'id' => 'search_option_hover_font_color', 'type' => 'color', 'output' => array('.mainmenu-area .search-button:hover'), ), array( 'title' => esc_html__('Hover background color', 'profund'), 'subtitle' => esc_html__('Background color on hover stats.', 'profund'), 'id' => 'search_option_hover_bg_color', 'type' => 'color', 'output' => array( 'background' => '.mainmenu-area .search-button:before', ), ), array( 'id' => 'search_option_style_end', 'type' => 'section', 'indent' => false, ), /* * Button colors on sticky mode */ array( 'title' => esc_html__('Sticky Button Style', 'profund'), 'subtitle' => esc_html__('Button colors on sticky mode.', 'profund'), 'id' => 'search_option_sticky_section', 'type' => 'section', 'indent' => true, 'required' => array('is_search', '=', '1'), ), array( 'title' => esc_html__('Font color', 'profund'), 'id' => 'search_option_font_color_sticky', 'type' => 'color', 'output' => array('.affix.mainmenu-area .search-button'), ), array( 'title' => esc_html__('Background color', 'profund'), 'id' => 'search_option_bg_color_sticky', 'type' => 'color', 'mode' => 'background', 'output' => array('.affix.mainmenu-area .search-button'), ), // Button color on hover stats array( 'title' => esc_html__('Hover font color', 'profund'), 'subtitle' => esc_html__('Font color on hover stats.', 'profund'), 'id' => 'search_option_hover_font_color_sticky', 'type' => 'color', 'output' => array('.affix.mainmenu-area .search-button:hover'), ), array( 'title' => esc_html__('Hover background color', 'profund'), 'subtitle' => esc_html__('Background color on hover stats.', 'profund'), 'id' => 'search_option_hover_bg_color_sticky', 'type' => 'color', 'output' => array( 'background' => '.affix.mainmenu-area .search-button:before', ), ), array( 'id' => 'search_option_sticky_section_end', 'type' => 'section', 'indent' => false, ), array( 'title' => esc_html__('Button Dimensions', 'profund'), 'subtitle' => esc_html__( 'Set a custom dimensions.', 'profund' ), 'id' => 'search_button_dimensions', 'type' => 'dimensions', 'units' => array('em','px','%'), 'required' => array('is_search', '=', '1'), 'output' => '.mainmenu-area .search-button' ), array( 'title' => esc_html__('Padding', 'profund'), 'subtitle' => esc_html__('Padding around the search button. Input the padding as clockwise (Top Right Bottom Left)', 'profund'), 'id' => 'search_button_padding', 'type' => 'spacing', 'output' => array( '.mainmenu-area .search-button' ), 'mode' => 'padding', 'required' => array('is_search', '=', '1'), 'units' => array( 'em', 'px', '%' ), // You can specify a unit value. Possible: px, em, % 'units_extended' => 'true', ), ) )); // Action button Redux::setSection($opt_name , array( 'title' => esc_html__( 'Mobile Menu Button', 'profund' ), 'id' => 'mobile_menu_button_option', 'subsection' => true, 'icon' => '', 'fields' => array( array( 'title' => esc_html__('Button Style', 'profund'), 'subtitle' => esc_html__('Button style attributes on normal (non sticky) mode.', 'profund'), 'id' => 'm_m_b_section', 'type' => 'section', 'indent' => true, ), array( 'title' => esc_html__('Bar color', 'profund'), 'id' => 'm_m_b_font_color', 'type' => 'color', 'output' => array( 'background' => '.mainmenu-area #mobile-toggle span', ), ), array( 'title' => esc_html__('Background Color', 'profund'), 'id' => 'm_m_b_bg_color', 'type' => 'color', 'mode' => 'background', 'output' => array('.mainmenu-area #mobile-toggle:before'), ), array( 'id' => 'm_m_b_style_end', 'type' => 'section', 'indent' => false, ), /* * Button colors on sticky mode */ array( 'title' => esc_html__('Sticky Button Style', 'profund'), 'subtitle' => esc_html__('Button colors on sticky mode.', 'profund'), 'id' => 'm_m_b_sticky_section', 'type' => 'section', 'indent' => true, ), array( 'title' => esc_html__('Bar color', 'profund'), 'id' => 'm_m_b_font_color_sticky', 'type' => 'color', 'output' => array( 'background' => '.affix.mainmenu-area #mobile-toggle span' ) ), array( 'title' => esc_html__('Background color', 'profund'), 'id' => 'm_m_b_bg_color_sticky', 'type' => 'color', 'mode' => 'background', 'output' => array('.affix.mainmenu-area #mobile-toggle:before'), ), array( 'id' => 'm_m_b_sticky_section_end', 'type' => 'section', 'indent' => false, ), array( 'title' => esc_html__('Button Dimensions', 'profund'), 'subtitle' => esc_html__( 'Set a custom dimensions.', 'profund' ), 'id' => 'm_m_b_dimensions', 'type' => 'dimensions', 'units' => array('em','px','%'), 'output' => '.mainmenu-area #mobile-toggle' ), array( 'title' => esc_html__('Padding', 'profund'), 'subtitle' => esc_html__('Padding around the search button. Input the padding as clockwise (Top Right Bottom Left)', 'profund'), 'id' => 'm_m_b_padding', 'type' => 'spacing', 'output' => array( '.mainmenu-area #mobile-toggle' ), 'mode' => 'padding', 'units' => array( 'em', 'px', '%' ), // You can specify a unit value. Possible: px, em, % 'units_extended' => 'true', ), ) )); Redux::setSection( $opt_name, array( 'title' => __( 'Site Header', 'profund' ), 'id' => 'site_header', 'desc' => __( 'These are site header fields!', 'profund' ), 'customizer_width' => '400px', 'icon' => 'el el-flag-alt' ) ); Redux::setSection( $opt_name, array( 'title' => __( 'Header Style', 'profund' ), 'id' => 'site_header_style', 'subsection' => true, 'fields' => array( array( 'id' => 'site_header_background', 'type' => 'background', 'output' => array( '.header-area' ), 'title' => __( 'Header Background', 'profund' ), 'subtitle' => __( 'Header background with image, color, etc.', 'profund' ), 'default' => '#000c35', ), array( 'id' => 'site_header_overlay', 'type' => 'color_rgba', 'title' => __( 'Header Overlay', 'profund' ), 'output' => array( '.header-area:before' ), 'mode' => 'background', 'validate' => 'colorrgba' ), array( 'id' => 'site_header_space', 'type' => 'spacing', 'output' => array( '.header-area' ), // An array of CSS selectors to apply this font style to 'mode' => 'padding', // absolute, padding, margin, defaults to padding 'all' => false, // Have one field that applies to all //'top' => false, // Disable the top 'right' => false, // Disable the right //'bottom' => false, // Disable the bottom 'left' => false, // Disable the left 'units' => array( 'em', 'px', '%' ), // You can specify a unit value. Possible: px, em, % 'units_extended' => 'true', // Allow users to select any type of unit //'display_units' => 'false', // Set to false to hide the units if the units are specified 'title' => __( 'Header Space', 'profund' ), 'subtitle' => __( 'Site Header Spacing Define', 'profund' ), 'desc' => __( 'To define Top, Right, Bottom, Left padding', 'profund' ), 'default' => array( 'padding-top' => '150px', 'padding-bottom' => '150px' ) ), array( 'id' => 'titlebar_align', 'type' => 'button_set', 'title' => esc_html__('Alignment', 'profund'), //Must provide key => value pairs for options 'options' => array( 'left' => esc_html__('Left', 'profund'), 'center' => esc_html__('Center', 'profund'), 'right' => esc_html__('Right', 'profund') ), 'default' => 'center' ), ), ) ); Redux::setSection( $opt_name, array( 'title' => __( 'Header Title', 'profund' ), 'id' => 'site_title', 'subsection' => true, 'customizer_width' => '400px', 'fields' => array( array( 'id' => 'blog_page_title', 'type' => 'text', 'title' => __( 'Blog Page Title', 'profund' ), 'subtitle' => __( 'Post list page header title.', 'profund' ), 'desc' => __( 'To set blog header title text.', 'profund' ), 'default' => 'News Feeds', ), array( 'id' => 'search_page_title', 'type' => 'text', 'title' => __( 'Search Page Title', 'profund' ), 'subtitle' => __( 'Search post page header title.', 'profund' ), 'desc' => __( 'To set search page header title text.', 'profund' ), 'default' => 'Search Results for', ), array( 'id' => 'page_title_typography', 'type' => 'typography', 'title' => __( 'Page Title Typography', 'profund' ), 'google' => true, 'font-backup' => false, 'font-style' => false, 'subsets' => false, 'text-transform' => true, 'letter-spacing'=> true, 'all_styles' => true, 'output' => array( '.header-area .page-title' ), 'compiler' => array( 'page-title-compiler' ), 'units' => 'px', 'subtitle' => __( 'Typography option with each property can be called individually.', 'profund' ), 'default' => array( 'color' => '#ffffff', 'font-weight' => '600', 'google' => true, 'font-size' => '56px', 'line-height' => '66px' ), ), array( 'id' => 'page_title_space', 'type' => 'spacing', 'output' => array( '.header-area .page-title' ), // An array of CSS selectors to apply this font style to 'mode' => 'margin', // absolute, padding, margin, defaults to padding 'all' => false, // Have one field that applies to all //'top' => false, // Disable the top 'right' => false, // Disable the right //'bottom' => false, // Disable the bottom 'left' => false, // Disable the left 'units' => array( 'em', 'px', '%' ), // You can specify a unit value. Possible: px, em, % 'units_extended' => 'true', // Allow users to select any type of unit //'display_units' => 'false', // Set to false to hide the units if the units are specified 'title' => __( 'Title Space', 'profund' ), 'subtitle' => __( 'Page title spacing.', 'profund' ), 'desc' => __( 'You can define spacing Top, Right, Bottom, Left, or Units.', 'profund' ), 'default' => array( 'margin-top' => '0px', 'margin-bottom' => '15px' ) ), ) ) ); Redux::setSection( $opt_name, array( 'title' => __( 'Heder Subtitle', 'profund' ), 'id' => 'page_sub_title', 'subsection' => true, 'customizer_width' => '400px', 'fields' => array( array( 'id' => 'sub_title_format', 'type' => 'radio', 'title' => __( 'Display Format', 'profund' ), 'subtitle' => __( 'Page header subtitle format.', 'profund' ), 'desc' => __( 'Please select subtitle display format.', 'profund' ), //Must provide key => value pairs for radio options 'options' => array( '1' => __( 'Site Description' , 'profund' ), '2' => __( 'Breadcrumb' , 'profund' ), '3' => __( 'Custom Subtitle' , 'profund' ), ), 'default' => '1' ), array( 'id' => 'breadcrumb_home', 'type' => 'text', 'title' => __( 'Breadcrumb Home', 'profund' ), 'subtitle' => __( 'Breadcrumbs menu home name.', 'profund' ), 'desc' => __( 'To set breadcrumb home text.', 'profund' ), 'default' => 'Home', 'required' => array( 'sub_title_format','=',2) ), array( 'id' => 'breadcrumb_separator', 'type' => 'text', 'title' => __( 'Breadcrumb Separator', 'profund' ), 'subtitle' => __( 'Breadcrumbs menu item separator.', 'profund' ), 'desc' => __( 'To set breadcrumb separator.', 'profund' ), 'default' => '|', 'required' => array( 'sub_title_format','=',2) ), array( 'id' => 'custom_sub_title', 'type' => 'text', 'title' => __( 'Custom Subtitle', 'profund' ), 'subtitle' => __( 'To set custom page subtitle.', 'profund' ), 'desc' => __( 'Enter your custom page subtitle.', 'profund' ), 'default' => 'Welcome to our website.', 'required' => array( 'sub_title_format','=',3) ), array( 'id' => 'page_subtitle_typography', 'type' => 'typography', 'title' => __( 'Subtitle Typography', 'profund' ), 'google' => true, 'font-backup' => false, 'font-style' => false, 'subsets' => false, 'text-transform' => true, 'letter-spacing'=> true, 'all_styles' => true, 'output' => array( '.header-area .sub-title, .header-area .sub-title a' ), 'compiler' => array( 'page-subtitle-compiler' ), 'units' => 'px', 'subtitle' => __( 'Typography option with each property can be called individually.', 'profund' ), 'default' => array( 'color' => '#ffffff', 'font-weight' => '400', 'google' => true, 'font-size' => '20px', 'line-height' => '30px' ), ), array( 'id' => 'page_subtitle_space', 'type' => 'spacing', 'output' => array( '.header-area .sub-title' ), 'mode' => 'margin', 'all' => false, 'right' => false, 'left' => false, 'units' => array( 'em', 'px', '%' ), 'units_extended' => 'true', 'title' => __( 'Subtitle Space', 'profund' ), 'subtitle' => __( 'Allow your users to choose the spacing or margin they want.', 'profund' ), 'desc' => __( 'You can enable or disable any piece of this field. Top, Right, Bottom, Left, or Units.', 'profund' ), 'default' => array( 'margin-top' => '0px', 'margin-bottom' => '0px' ) ), ) ) ); Redux::setSection( $opt_name, array( 'title' => __( 'Blog Settings', 'profund' ), 'id' => 'blog_options', 'desc' => __( 'You can edit blog all default option.', 'profund' ), 'customizer_width' => '400px', 'icon' => 'el el-text-width' ) ); Redux::setSection( $opt_name, array( 'title' => __( 'Post Box', 'profund' ), 'id' => 'blog_post_box_section', 'subsection' => true, 'fields' => array( array( 'title' => esc_html__('Box Style', 'profund'), 'id' => 'post_box_style_section', 'type' => 'section', 'indent' => true, ), array( 'title' => esc_html__('Box Margin', 'profund'), 'subtitle' => esc_html__('Margin around the post box. Input the margin as clockwise (Top Right Bottom Left)', 'profund'), 'id' => 'post_box_margin', 'type' => 'spacing', 'output' => array( '.post-single .post-content' ), 'mode' => 'margin', 'units' => array( 'em', 'px', '%' ), 'units_extended' => 'true', ), array( 'title' => esc_html__('Box Padding', 'profund'), 'subtitle' => esc_html__('Padding around the post box. Input the padding as clockwise (Top Right Bottom Left)', 'profund'), 'id' => 'post_box_padding', 'type' => 'spacing', 'output' => array( '.post-single .post-content' ), 'mode' => 'padding', 'units' => array( 'em', 'px', '%' ), 'units_extended' => 'true', ), array( 'title' => esc_html__('Box Radius', 'profund'), 'subtitle' => esc_html__('Radius around the post box. Input the radius as clockwise (Top Right Bottom Left)', 'profund'), 'id' => 'post_box_radius', 'type' => 'spacing', 'mode' => 'border-radius', 'units' => array( 'em', 'px', '%' ), 'units_extended' => 'true', ), array( 'title' => esc_html__('Background Color', 'profund'), 'id' => 'post_box_bg_color', 'type' => 'color', 'mode' => 'background', 'output' => array('.post-single .post-content'), ), array( 'id' => 'post_box_border', 'type' => 'border', 'title' => __( 'Box Border', 'profund' ), 'output' => array( '.post-single .post-content' ), 'default' => array( 'border-color' => '#e3e3e3', 'border-style' => 'solid', 'border-top' => '0px', 'border-right' => '0px', 'border-bottom' => '0px', 'border-left' => '0px' ), ), array( 'title' => esc_html__('Box Shadow', 'profund'), 'id' => 'post_box_box_shadow', 'type' => 'text', 'default' => '0 0 30px 0 rgba(243, 246, 255,1)' ), array( 'id' => 'post_box_style_section_end', 'type' => 'section', 'indent' => false, ), ) ) ); Redux::setSection( $opt_name, array( 'title' => __( 'Post Image', 'profund' ), 'id' => 'blog_post_image_section', 'subsection' => true, 'fields' => array( array( 'id' => 'is_blog_post_image', 'type' => 'switch', 'title' => __( 'Image Visibility', 'profund' ), 'on' => esc_html__('Show', 'profund'), 'off' => esc_html__('Hide', 'profund'), 'default' => true, ), array( 'id' => 'blog_thumbnail_size', 'type' => 'select', 'title' => __( 'Image Size', 'profund' ), 'options' => array( 'thumbnail' => __( 'Thumbnail','profund' ), 'medium' => __( 'Medium','profund' ), 'large' => __( 'Large','profund' ), 'full' => __( 'Full','profund' ), ), 'default' => 'full', 'required' => array( 'is_blog_post_image', '=', true ) ), array( 'title' => esc_html__('Image Style', 'profund'), 'id' => 'post_image_style_section', 'type' => 'section', 'indent' => true, 'required' => array( 'is_blog_post_image', '=', '1' ) ), array( 'title' => esc_html__('Image Margin', 'profund'), 'subtitle' => esc_html__('Margin around the post Image. Input the margin as clockwise (Top Right Bottom Left)', 'profund'), 'id' => 'post_image_margin', 'type' => 'spacing', 'output' => array( '.post-single .post-media' ), 'mode' => 'margin', 'units' => array( 'em', 'px', '%' ), 'units_extended' => 'true', ), array( 'title' => esc_html__('Image Padding', 'profund'), 'subtitle' => esc_html__('Padding around the post Image. Input the padding as clockwise (Top Right Bottom Left)', 'profund'), 'id' => 'post_image_padding', 'type' => 'spacing', 'output' => array( '.post-single .post-media' ), 'mode' => 'padding', 'units' => array( 'em', 'px', '%' ), 'units_extended' => 'true', ), array( 'title' => esc_html__('Image Radius', 'profund'), 'subtitle' => esc_html__('Radius around the post image. Input the radius as clockwise (Top Right Bottom Left)', 'profund'), 'id' => 'post_image_radius', 'type' => 'spacing', 'mode' => 'border-radius', 'units' => array( 'em', 'px', '%' ), 'units_extended' => 'true', ), array( 'id' => 'post_image_border', 'type' => 'border', 'title' => __( 'Image Border', 'profund' ), 'output' => array( '.post-single .post-media' ), 'default' => array( 'border-color' => '#ffffff', 'border-style' => 'solid', 'border-top' => '0px', 'border-right' => '0px', 'border-bottom' => '0px', 'border-left' => '0px' ), ), array( 'title' => esc_html__('Image Box Shadow', 'profund'), 'id' => 'post_image_box_shadow', 'type' => 'text', 'default' => '0px 0px 30px 0px rgba(0,0,0,0.0)' ), array( 'id' => 'post_image_style_section_end', 'type' => 'section', 'indent' => false, ), ) ) ); Redux::setSection( $opt_name, array( 'title' => __( 'Post Meta', 'profund' ), 'id' => 'blog_meta_section', 'subsection' => true, 'fields' => array( array( 'id' => 'is_blog_post_meta', 'type' => 'switch', 'title' => __( 'Meta Visibility', 'profund' ), 'on' => esc_html__('Show', 'profund'), 'off' => esc_html__('Hide', 'profund'), 'default' => true, ), array( 'id' => 'meta_option_select', 'type' => 'select', 'multi' => true, 'title' => __( 'Select Meta', 'profund' ), 'options' => array( 'author' => __( 'Author', 'profund' ), 'date' => __( 'Post Date', 'profund' ), 'comment_count' => __( 'Comment Count', 'profund' ), 'tags' => __( 'Tags', 'profund' ), 'category' => __( 'Categories', 'profund' ), ), 'default' => array( 'author', 'date', 'comment_count', 'category' ), 'required' => array( 'is_blog_post_meta', '=', '1' ) ), array( 'title' => esc_html__('Meta Style', 'profund'), 'id' => 'post_meta_style_section', 'type' => 'section', 'indent' => true, 'required' => array( 'is_blog_post_meta', '=', '1' ) ), array( 'id' => 'post_meta_typography', 'type' => 'typography', 'title' => __( 'Meta Typography', 'profund' ), 'google' => true, 'font-backup' => false, 'font-style' => false, 'subsets' => false, 'text-transform' => true, 'all_styles' => true, 'output' => array( '.post-single .post-meta','.post-single .post-meta a' ), 'compiler' => array( 'post-meta-compiler' ), 'units' => 'px' ), array( 'title' => esc_html__('Meta Icon Color', 'profund'), 'subtitle' => esc_html__('Meta icon color.', 'profund'), 'id' => 'post_meta_icon_color', 'type' => 'color', 'output' => array('.post-single .post-meta .meta-item i'), ), array( 'title' => esc_html__('Meta Hover Color', 'profund'), 'subtitle' => esc_html__('Meta color on hover.', 'profund'), 'id' => 'post_meta_hover_color', 'type' => 'color', 'output' => array('.post-single .post-meta a:hover'), ), array( 'title' => esc_html__('Meta Spacing', 'profund'), 'subtitle' => esc_html__('Margin around the post meta item. Input the margin as clockwise (Top Right Bottom Left)', 'profund'), 'id' => 'post_meta_item_margin', 'type' => 'spacing', 'output' => array( '.post-single .post-meta .meta-item' ), 'mode' => 'margin', 'units' => array( 'em', 'px', '%' ), 'units_extended' => 'true', ), array( 'id' => 'post_meta_style_section_end', 'type' => 'section', 'indent' => false, ), ) ) ); Redux::setSection( $opt_name, array( 'title' => __( 'Post Title', 'profund' ), 'id' => 'blog_post_title_section', 'subsection' => true, 'fields' => array( array( 'id' => 'is_blog_post_title', 'type' => 'switch', 'title' => __( 'Title Visibility', 'profund' ), 'on' => esc_html__('Show', 'profund'), 'off' => esc_html__('Hide', 'profund'), 'default' => true, ), array( 'id' => 'title_excerpt_length', 'type' => 'spinner', 'title' => __( 'Title Length', 'profund' ), 'desc' => __( 'Min:1, max: 100, step: 1, default value: 15', 'profund' ), 'default' => '15', 'min' => '1', 'step' => '1', 'max' => '100', 'required' => array( 'is_blog_post_title', '=', true ) ), array( 'title' => esc_html__('Title Style', 'profund'), 'id' => 'post_title_style_section', 'type' => 'section', 'indent' => true, 'required' => array( 'is_blog_post_title', '=', '1' ) ), array( 'id' => 'post_title_typography', 'type' => 'typography', 'title' => __( 'Title Typography', 'profund' ), 'google' => true, 'font-backup' => false, 'font-style' => false, 'subsets' => false, 'text-transform' => true, 'all_styles' => true, 'output' => array( '.post-single .post-title' ), 'compiler' => array( 'post-title-compiler' ), 'units' => 'px' ), array( 'title' => esc_html__('Title Hover Color', 'profund'), 'subtitle' => esc_html__('Post title color on hover.', 'profund'), 'id' => 'post_title_hover_color', 'type' => 'color', 'output' => array('.post-single .post-title a:hover'), ), array( 'title' => esc_html__('Title Spacing', 'profund'), 'subtitle' => esc_html__('Margin around the post title. Input the margin as clockwise (Top Right Bottom Left)', 'profund'), 'id' => 'post_title_margin', 'type' => 'spacing', 'output' => array( '.post-single .post-title' ), 'mode' => 'margin', 'units' => array( 'em', 'px', '%' ), 'units_extended' => 'true', ), array( 'id' => 'post_title_style_section_end', 'type' => 'section', 'indent' => false, ), ) ) ); Redux::setSection( $opt_name, array( 'title' => __( 'Post Content', 'profund' ), 'id' => 'blog_post_content_section', 'subsection' => true, 'fields' => array( array( 'id' => 'blog_content_format', 'type' => 'select', 'title' => __( 'Content Display', 'profund' ), 'desc' => __( 'Controls if the blog content displays an excerpt or full content or is completely disabled for the assigned blog page in "settings > reading" or blog archive pages.', 'profund' ), //Must provide key => value pairs for select options 'options' => array( 'excerpt' => __( 'Excerpt','profund' ), 'full' => __( 'Full Content','profund' ), 'no_text' => __( 'No Text','profund' ), ), 'default' => 'excerpt' ), array( 'id' => 'content_excerpt_length', 'type' => 'spinner', 'title' => __( 'Excerpt Length', 'profund' ), 'desc' => __( 'Min:10, max: 150, step: 1, default value: 30', 'profund' ), 'default' => '30', 'min' => '10', 'step' => '1', 'max' => '150', 'required' => array( 'blog_content_format', '=', 'excerpt' ) ), array( 'title' => esc_html__('Content Style', 'profund'), 'id' => 'post_content_style_section', 'type' => 'section', 'indent' => true, 'required' => array( 'blog_content_format', '!=', 'no_text' ), ), array( 'id' => 'post_content_typography', 'type' => 'typography', 'title' => __( 'Content Typography', 'profund' ), 'google' => true, 'font-backup' => false, 'font-style' => false, 'subsets' => false, 'text-transform' => true, 'all_styles' => true, 'output' => array( '.post-single .post-desc' ), 'compiler' => array( 'post-content-compiler' ), 'units' => 'px' ), array( 'title' => esc_html__('Content Spacing', 'profund'), 'subtitle' => esc_html__('Margin around the post content. Input the margin as clockwise (Top Right Bottom Left)', 'profund'), 'id' => 'post_content_margin', 'type' => 'spacing', 'output' => array( '.post-single .post-desc' ), 'mode' => 'margin', 'units' => array( 'em', 'px', '%' ), 'units_extended' => 'true', ), array( 'id' => 'post_content_style_section_end', 'type' => 'section', 'indent' => false, ), array( 'id' => 'read_more_switch', 'type' => 'switch', 'title' => __( 'Read More', 'profund' ), 'on' => esc_html__('Show', 'profund'), 'off' => esc_html__('Hide', 'profund'), 'required' => array( 'blog_content_format', '!=', 'no_text' ), 'default' => false, ), array( 'id' => 'read_more_text', 'type' => 'text', 'title' => __( 'Read More Text', 'profund' ), 'subtitle' => __( 'This is a post read more button text.', 'profund' ), 'desc' => __( 'Enter read more button text. HTML tag supported.', 'profund' ), 'default' => 'Read More <i class="flaticon-right-arrow"></i>', 'required' => array( 'read_more_switch', '=', true ) ), array( 'title' => esc_html__('Read More Button Style', 'profund'), 'id' => 'read_more_style_section', 'type' => 'section', 'indent' => true, 'required' => array( 'read_more_switch', '=', true ) ), array( 'id' => 'read_more_typography', 'type' => 'typography', 'title' => __( 'Button Typography', 'profund' ), 'google' => true, 'font-backup' => false, 'font-style' => false, 'text-transform' => true, 'subsets' => false, 'all_styles' => true, 'output' => array( '.post-content .read-more' ), 'units' => 'px' ), array( 'title' => esc_html__('Button BG Color', 'profund'), 'id' => 'read_more_bg_color', 'type' => 'color', 'mode' => 'background', 'output' => array('.post-content .read-more'), ), array( 'title' => esc_html__('Button Hover Color', 'profund'), 'id' => 'read_more_hover_color', 'type' => 'color', 'output' => array('.post-content .read-more:hover'), ), array( 'title' => esc_html__('Button Hover BG Color', 'profund'), 'id' => 'read_more_hover_bg_color', 'type' => 'color', 'mode' => 'background', 'output' => array('.post-content .read-more:hover'), ), array( 'title' => esc_html__('Button Margin', 'profund'), 'subtitle' => esc_html__('Margin around the read more button. Input the margin as clockwise (Top Right Bottom Left)', 'profund'), 'id' => 'read_more_margin', 'type' => 'spacing', 'output' => array( '.post-content .read-more' ), 'mode' => 'margin', 'units' => array( 'em', 'px', '%' ), 'units_extended' => 'true', ), array( 'title' => esc_html__('Button Padding', 'profund'), 'subtitle' => esc_html__('Padding around the read more button. Input the padding as clockwise (Top Right Bottom Left)', 'profund'), 'id' => 'read_more_padding', 'type' => 'spacing', 'output' => array( '.post-content .read-more' ), 'mode' => 'padding', 'units' => array( 'em', 'px', '%' ), 'units_extended' => 'true', ), array( 'id' => 'read_more_border', 'type' => 'border', 'title' => __( 'Button Border', 'profund' ), 'output' => array( '.post-content .read-more' ), 'default' => array( 'border-color' => '#55c882', 'border-style' => 'solid', 'border-top' => '2px', 'border-right' => '2px', 'border-bottom' => '2px', 'border-left' => '2px' ), ), array( 'title' => esc_html__('Button Radius', 'profund'), 'subtitle' => esc_html__('Radius around the read more button. Input the radius as clockwise (Top Right Bottom Left)', 'profund'), 'id' => 'read_more_radius', 'type' => 'spacing', 'mode' => 'border-radius', 'units' => array( 'em', 'px', '%' ), 'units_extended' => 'true', ), array( 'title' => esc_html__('Button Shadow', 'profund'), 'id' => 'read_more_shadow', 'type' => 'text', 'default' => '0px 0px 30px 0px rgba(0,0,0,0.0)' ), array( 'id' => 'post_read_more_style_section_end', 'type' => 'section', 'indent' => false, ), ) ) ); Redux::setSection( $opt_name, array( 'title' => __( 'Post Single', 'profund' ), 'id' => 'single_blog', 'subsection' => true, 'fields' => array( array( 'id' => 'single_releted_tag', 'type' => 'switch', 'title' => __( 'Releted Tags?', 'profund' ), 'default' => true, ), array( 'id' => 'single_post_share', 'type' => 'switch', 'title' => __( 'Social Share Menu?', 'profund' ), 'default' => false, ), array( 'id' => 'single_post_nav', 'type' => 'switch', 'title' => __( 'Next Post Navigation?', 'profund' ), 'default' => true, ), array( 'id' => 'single_author_info', 'type' => 'switch', 'title' => __( 'Author Info?', 'profund' ), 'default' => true, ), ) ) ); Redux::setSection( $opt_name, array( 'title' => __( 'Widget Settings', 'profund' ), 'id' => 'widget_options', 'desc' => __( 'You can edit widget all default option.', 'profund' ), 'customizer_width' => '400px', 'icon' => 'el el-bookmark-empty' ) ); Redux::setSection( $opt_name, array( 'title' => __( 'Widget Box', 'profund' ), 'id' => 'widget_box_section', 'subsection' => true, 'fields' => array( array( 'title' => esc_html__('Box Style', 'profund'), 'id' => 'widget_box_style_section', 'type' => 'section', 'indent' => true, ), array( 'title' => esc_html__('Box Margin', 'profund'), 'subtitle' => esc_html__('Margin around the widget box. Input the margin as clockwise (Top Right Bottom Left)', 'profund'), 'id' => 'widget_box_margin', 'type' => 'spacing', 'output' => array( '.main-sidebar .widget' ), 'mode' => 'margin', 'units' => array( 'em', 'px', '%' ), 'units_extended' => 'true', ), array( 'title' => esc_html__('Box Padding', 'profund'), 'subtitle' => esc_html__('Padding around the widget box. Input the padding as clockwise (Top Right Bottom Left)', 'profund'), 'id' => 'widget_box_padding', 'type' => 'spacing', 'output' => array( '.main-sidebar .widget' ), 'mode' => 'padding', 'units' => array( 'em', 'px', '%' ), 'units_extended' => 'true', ), array( 'title' => esc_html__('Box Radius', 'profund'), 'subtitle' => esc_html__('Radius around the widget box. Input the radius as clockwise (Top Right Bottom Left)', 'profund'), 'id' => 'widget_box_radius', 'type' => 'spacing', 'mode' => 'border-radius', 'units' => array( 'em', 'px', '%' ), 'units_extended' => 'true', ), array( 'title' => esc_html__('Background Color', 'profund'), 'id' => 'widget_box_bg_color', 'type' => 'color', 'mode' => 'background', 'output' => array('.main-sidebar .widget'), ), array( 'id' => 'widget_box_border', 'type' => 'border', 'title' => __( 'Box Border', 'profund' ), 'output' => array( '.main-sidebar .widget' ), ), array( 'title' => esc_html__('Box Shadow', 'profund'), 'id' => 'widget_box_shadow', 'type' => 'text', 'default' => '0px 0px 30px 0px rgba(0,0,0,0.0)' ), array( 'id' => 'widget_style_section_end', 'type' => 'section', 'indent' => false, ), ) ) ); Redux::setSection( $opt_name, array( 'title' => __( 'Widget Title', 'profund' ), 'id' => 'widget_title_section', 'subsection' => true, 'fields' => array( array( 'id' => 'widget_title_bar', 'type' => 'select', 'title' => __( 'Widget Bar Position', 'profund' ), 'options' => array( 'top-bar' => __( 'Top','profund' ), 'right-bar' => __( 'Right','profund' ), 'bottom-bar' => __( 'Bottom','profund' ), 'left-bar' => __( 'Left','profund' ), 'no-bar' => __( 'None','profund' ), ), 'default' => 'bottom-bar' ), array( 'title' => esc_html__('Title Bar Color', 'profund'), 'id' => 'widget_title_bar_color', 'type' => 'color', 'mode' => 'background', 'output' => array('.main-sidebar .widget-title span,.give-sidebar .widget .widget-title:after'), 'required' => array( 'widget_title_bar', '!=', 'no-bar' ) ), array( 'title' => esc_html__('Title Style', 'profund'), 'id' => 'widget_title_style_section', 'type' => 'section', 'indent' => true ), array( 'id' => 'widget_title_typography', 'type' => 'typography', 'title' => __( 'Title Typography', 'profund' ), 'google' => true, 'font-backup' => false, 'font-style' => false, 'subsets' => false, 'text-transform' => true, 'all_styles' => true, 'output' => array( '.main-sidebar .widget-title' ), 'units' => 'px' ), array( 'title' => esc_html__('Title Spacing', 'profund'), 'subtitle' => esc_html__('Margin around the post title. Input the margin as clockwise (Top Right Bottom Left)', 'profund'), 'id' => 'widget_title_margin', 'type' => 'spacing', 'output' => array( '.main-sidebar .widget-title' ), 'mode' => 'margin', 'units' => array( 'em', 'px', '%' ), 'units_extended' => 'true', ), array( 'id' => 'widget_title_border', 'type' => 'border', 'title' => __( 'Title Border', 'profund' ), 'subtitle' => __( 'Only color validation can be done on this field type', 'profund' ), 'output' => array( '.widget .widget-title' ), 'default' => array( 'border-color' => '#ededed', 'border-style' => 'solid', 'border-top' => '0px', 'border-right' => '0px', 'border-bottom' => '1px', 'border-left' => '0px' ), ), array( 'id' => 'widget_title_style_section_end', 'type' => 'section', 'indent' => false, ), ) ) ); Redux::setSection( $opt_name, array( 'title' => __( 'Widget Content', 'profund' ), 'id' => 'widget_content_section', 'subsection' => true, 'fields' => array( array( 'title' => esc_html__('Content Style', 'profund'), 'id' => 'widget_content_style_section', 'type' => 'section', 'indent' => true, ), array( 'id' => 'widget_content_typography', 'type' => 'typography', 'title' => __( 'Typography', 'profund' ), 'google' => true, 'font-backup' => false, 'font-style' => false, 'subsets' => false, 'text-transform' => true, 'all_styles' => true, 'output' => array( '.main-sidebar .widget', '.main-sidebar .widget a' ), 'units' => 'px' ), array( 'title' => esc_html__('Link Hover Color', 'profund'), 'id' => 'widget_link_hover_color', 'type' => 'color', 'output' => array('.main-sidebar .widget a:hover'), ), array( 'id' => 'widget_content_style_section_end', 'type' => 'section', 'indent' => false, ), ) ) ); Redux::setSection( $opt_name, array( 'title' => __( 'Footer Settings', 'profund' ), 'id' => 'footer_option', 'desc' => __( 'You can edit footer all option.', 'profund' ), 'customizer_width' => '400px', 'icon' => 'el el-list-alt' ) ); Redux::setSection( $opt_name, array( 'title' => __( 'Footer Area', 'profund' ), 'id' => 'footer_area_style', 'subsection' => true, 'fields' => array( array( 'id' => 'footer_top_space', 'type' => 'spacing', 'output' => array( '.footer-top' ), 'mode' => 'padding', 'all' => false, 'units' => array( 'em', 'px', '%' ), 'units_extended' => 'true', 'title' => __( 'Footer Space', 'profund' ), 'default' => array( 'padding-top' => '100px', 'padding-bottom' => '100px', 'padding-left' => '0', 'padding-right' => '0' ) ), array( 'id' => 'footer_area_bg', 'type' => 'background', 'output' => array( '.footer-area' ), 'title' => __( 'Footer Background', 'profund' ), 'subtitle' => __( 'Footer background with image, color, etc.', 'profund' ) ), array( 'id' => 'footer_overlay', 'type' => 'color_rgba', 'title' => __( 'Footer Overlay', 'profund' ), 'output' => array( '.footer-area:before' ), 'mode' => 'background', 'validate' => 'colorrgba' ), ) ) ); Redux::setSection( $opt_name, array( 'title' => __( 'Footer Widget Title', 'profund' ), 'id' => 'footer_widget_title_section', 'subsection' => true, 'fields' => array( array( 'id' => 'footer_widget_title_bar', 'type' => 'select', 'title' => __( 'Widget Bar Position', 'profund' ), 'options' => array( 'top-bar' => __( 'Top','profund' ), 'right-bar' => __( 'Right','profund' ), 'bottom-bar' => __( 'Bottom','profund' ), 'left-bar' => __( 'Left','profund' ), 'no-bar' => __( 'None','profund' ), ), 'default' => 'bottom-bar' ), array( 'title' => esc_html__('Title Bar Color', 'profund'), 'id' => 'footer_widget_title_bar_color', 'type' => 'color', 'mode' => 'background', 'default' => '#ffffff', 'output' => array('.widget.footer-widget .widget-title span','.widget.footer-widget .widget-title span:after','.widget.footer-widget .widget-title span:before','.footer-widget.widget_nav_menu ul li a:before'), 'required' => array( 'footer_widget_title_bar', '!=', 'no-bar' ) ), array( 'title' => esc_html__('Title Style', 'profund'), 'id' => 'footer_widget_title_style_section', 'type' => 'section', 'indent' => true, 'required' => array( 'widget_title_bar', '!=', 'no-bar' ) ), array( 'id' => 'footer_widget_title_typography', 'type' => 'typography', 'title' => __( 'Title Typography', 'profund' ), 'google' => true, 'font-backup' => false, 'font-style' => false, 'subsets' => false, 'text-transform' => true, 'all_styles' => true, 'output' => array( '.widget.footer-widget .widget-title' ), 'units' => 'px' ), array( 'title' => esc_html__('Title Spacing', 'profund'), 'id' => 'footer_widget_title_margin', 'type' => 'spacing', 'output' => array( '.widget.footer-widget .widget-title' ), 'mode' => 'margin', 'units' => array( 'em', 'px', '%' ), 'units_extended' => 'true', ), array( 'id' => 'footer_widget_title_border', 'type' => 'border', 'title' => __( 'Title Border', 'profund' ), 'subtitle' => __( 'Only color validation can be done on this field type', 'profund' ), 'output' => array( '.footer-widget h5, .footer-widget .widget-title' ), 'default' => array( 'border-color' => '#ededed', 'border-style' => 'solid', 'border-top' => '0px', 'border-right' => '0px', 'border-bottom' => '1px', 'border-left' => '0px' ), ), array( 'id' => 'footer_widget_title_style_section_end', 'type' => 'section', 'indent' => false, ), ) ) ); Redux::setSection( $opt_name, array( 'title' => __( 'Footer Widget Content', 'profund' ), 'id' => 'footer_widget_content_section', 'subsection' => true, 'fields' => array( array( 'title' => esc_html__('Content Style', 'profund'), 'id' => 'footer_widget_content_style_section', 'type' => 'section', 'indent' => true, ), array( 'id' => 'footer_widget_content_typography', 'type' => 'typography', 'title' => __( 'Typography', 'profund' ), 'google' => true, 'font-backup' => false, 'font-style' => false, 'subsets' => false, 'text-transform' => true, 'all_styles' => true, 'output' => array( '.widget.footer-widget', '.widget.footer-widget a' ), 'units' => 'px' ), array( 'title' => esc_html__('Link Hover Color', 'profund'), 'id' => 'footer_widget_link_hover_color', 'type' => 'color', 'output' => array('.widget.footer-widget a:hover'), ), array( 'id' => 'footer_widget_content_style_section_end', 'type' => 'section', 'indent' => false, ), ) ) ); Redux::setSection( $opt_name, array( 'title' => __( 'Footer Bottom', 'profund' ), 'id' => 'footer_bottom_option', 'subsection' => true, 'fields' => array( array( 'id' => 'footer_logo', 'type' => 'media', 'url' => true, 'title' => __( 'Footer Logo', 'profund' ), 'subtitle' => __( 'Footer bottom logo image.', 'profund' ) ), array( 'title' => esc_html__('Copyright Section', 'profund'), 'id' => 'footer_copyright_section_start', 'type' => 'section', 'indent' => true, ), array( 'id' => 'copyright_text', 'type' => 'editor', 'title' => __( 'Copyright Text', 'profund' ), 'subtitle' => __( 'Please type your copyright text. You can use all HTML tags.', 'profund' ), 'default' => __( 'Copyright © QuomodoTheme - 2020','profund' ), ), array( 'id' => 'copyright_typography', 'type' => 'typography', 'title' => __( 'Copyright Typography', 'profund' ), 'subtitle' => __( 'To change copyright text typography.', 'profund' ), 'google' => true, 'output' => array( '.copyright_text' ), 'default' => array( 'color' => '#ffffff', 'font-size' => '16px', 'font-weight' => 'Normal', ), ), array( 'id' => 'footer_copyright_section_end', 'type' => 'section', 'indent' => false, ), array( 'title' => esc_html__('Cradit Card Section', 'profund'), 'id' => 'footer_cradit_card_section_start', 'type' => 'section', 'indent' => true, ), array( 'title' => esc_html__('Visa Card URL', 'profund'), 'id' => 'visa_card', 'type' => 'text', ), array( 'title' => esc_html__('Stripe Card URL', 'profund'), 'id' => 'stripe_card', 'type' => 'text', ), array( 'title' => esc_html__('Paypal Card URL', 'profund'), 'id' => 'paypal_card', 'type' => 'text', ), array( 'title' => esc_html__('Mastercard Card URL', 'profund'), 'id' => 'mastercard_card', 'type' => 'text', ), array( 'title' => esc_html__('Jcb Card URL', 'profund'), 'id' => 'jcb_card', 'type' => 'text', ), array( 'title' => esc_html__('Discover Card URL', 'profund'), 'id' => 'discover_card', 'type' => 'text', ), array( 'title' => esc_html__('Diners Club Card URL', 'profund'), 'id' => 'diners_club_card', 'type' => 'text', ), array( 'title' => esc_html__('Apple Pay Card URL', 'profund'), 'id' => 'apple_pay_card', 'type' => 'text', ), array( 'title' => esc_html__('Amex Card URL', 'profund'), 'id' => 'amex_card', 'type' => 'text', ), array( 'title' => esc_html__('Amazon Pay Card URL', 'profund'), 'id' => 'amazon_pay_card', 'type' => 'text', ), array( 'id' => 'cradit_card_item_color', 'type' => 'color', 'output' => array( '.footer-bottom-wrap .cradit-card a' ), 'title' => __( 'Card Items Color', 'profund' ), 'subtitle' => __( 'Pick a cradit card item color. (default: #ffffff).', 'profund' ), 'default' => '#ffffff', ), array( 'id' => 'cradit_card_hover_color', 'type' => 'color', 'output' => array( '.footer-bottom-wrap .cradit-card a:hover' ), 'title' => __( 'Card Hover Color', 'profund' ), 'subtitle' => __( 'Pick a cradit card hover color. (default: #55c882).', 'profund' ), 'default' => '#55c882', ), array( 'id' => 'footer_cradit_card_section_end', 'type' => 'section', 'indent' => false, ), array( 'title' => esc_html__('Footer Bottom Style', 'profund'), 'id' => 'footer_bottom_style_section_start', 'type' => 'section', 'indent' => true, ), array( 'id' => 'footer_bottom_space', 'type' => 'spacing', 'output' => array( '.footer-bottom' ), 'mode' => 'padding', 'all' => false, 'units' => array( 'em', 'px', '%' ), 'units_extended' => 'true', 'title' => __( 'Footer Bottom Space', 'profund' ), ), array( 'id' => 'footer_bottom_overlay', 'type' => 'color_rgba', 'title' => __( 'Footer Bottom Overlay', 'profund' ), 'output' => array( '.footer-bottom' ), 'mode' => 'background', 'validate' => 'colorrgba' ), array( 'id' => 'footer_bottom_style_section_end', 'type' => 'section', 'indent' => false, ), ) ) ); Redux::setSection( $opt_name, array( 'title' => __( '404 page', 'profund' ), 'id' => 'error_page_option', 'desc' => __( 'You can edit error page option.', 'profund' ), 'customizer_width' => '400px', 'icon' => 'el el-info-circle' ) ); Redux::setSection( $opt_name, array( 'title' => __( 'Error Option', 'profund' ), 'id' => 'error_option', 'subsection' => true, 'fields' => array( array( 'id' => 'error_image', 'type' => 'media', 'url' => true, 'title' => __( '404 Image', 'profund' ), 'subtitle' => __( 'Error page side image.', 'profund' ), 'default' => array( 'url' => get_theme_file_uri( 'assets/images/error-image.png' ) ), ), array( 'id' => 'error_title', 'type' => 'text', 'title' => __( 'Title', 'profund' ), 'default' => 'Error', ), array( 'id' => 'error_subtitle', 'type' => 'text', 'title' => __( 'Sub Title', 'profund' ), 'default' => 'Oops! Page Not Found.', ), array( 'id' => 'error_page_background', 'type' => 'background', 'output' => array( '.error-area' ), 'title' => __( 'Error Background', 'profund' ), 'subtitle' => __( 'Error background with image, color, etc.', 'profund' ), 'default' => array( 'background-color' => '', 'background-image' => get_theme_file_uri( 'assets/images/error-bg.png' ), 'background-position' => 'left center', 'background-repeat' => 'no-repeat', 'background-size' => 'contain', 'background-attachment' => 'scroll', ) ), array( 'id' => 'error_title_color', 'type' => 'color', 'output' => array( '.error-area .big-text' ), 'title' => __( 'Error Title Color', 'profund' ), 'subtitle' => __( 'Pick a title color for the 404 (default: #4c55c4).', 'profund' ), 'default' => '#4c55c4', ), array( 'id' => 'error_subtitle_color', 'type' => 'color', 'output' => array( '.error-area .medium-text' ), 'title' => __( 'Error Sub Title Color', 'profund' ), 'subtitle' => __( 'Pick a sub title color for the 404 (default: #06163a).', 'profund' ), 'default' => '#06163a', ), array( 'id' => 'error_button_color', 'type' => 'color', 'output' => array( '.error-area .error-button' ), 'title' => __( 'Error Button Color', 'profund' ), 'subtitle' => __( 'Pick a button color for the 404 (default: #ffffff).', 'profund' ), 'default' => '#ffffff', ), array( 'id' => 'error_button_hover_color', 'type' => 'color', 'output' => array( '.error-area .error-button:hover' ), 'title' => __( 'Error Button Color', 'profund' ), 'subtitle' => __( 'Pick a button color for the 404 (default: #ffffff).', 'profund' ), 'default' => '#4c55c4', ), array( 'id' => 'error_button_background', 'type' => 'background', 'background-repeat' => false, 'background-attachment' => false, 'background-position' => false, 'background-image' => false, 'background-size' => false, 'output' => array( '.error-area .error-button' ), 'title' => __( 'Button Background', 'profund' ), 'subtitle' => __( 'Error button background color select form here.', 'profund' ), 'default' => array( 'background-color' => '#4c55c4', ) ), array( 'id' => 'error_button_hover_background', 'type' => 'background', 'background-repeat' => false, 'background-attachment' => false, 'background-position' => false, 'background-image' => false, 'background-size' => false, 'output' => array( '.error-area .error-button:hover' ), 'title' => __( 'Hover Background', 'profund' ), 'subtitle' => __( 'Error button hover background color select form here.', 'profund' ), 'default' => array( 'background-color' => '#ffffff', ) ), array( 'id' => 'error_button_border', 'type' => 'border', 'title' => __( 'Button Border', 'profund' ), 'subtitle' => __( 'Only color validation can be done on this field type', 'profund' ), 'output' => array( '.error-area .error-button' ), 'default' => array( 'border-color' => '#4c55c4', 'border-style' => 'solid', 'border-top' => '1px', 'border-right' => '1px', 'border-bottom' => '1px', 'border-left' => '1px' ), ), ) ) ); Redux::setSection( $opt_name , array( 'title' => esc_html__( 'Preloader Settings', 'profund' ), 'id' => 'preloader_opt', 'icon' => 'dashicons dashicons-controls-repeat', 'fields' => array( array( 'id' => 'is_preloader', 'type' => 'switch', 'title' => esc_html__( 'loader Switch', 'profund' ), 'on' => esc_html__( 'Enable', 'profund' ), 'off' => esc_html__( 'Disable', 'profund' ), 'default' => true, ), array( 'required' => array( 'is_preloader', '=', '1' ), 'id' => 'preloader_style', 'type' => 'select', 'title' => esc_html__( 'Pre-loader Style', 'profund' ), 'default' => 'image', 'options' => array( 'text' => esc_html__( 'Text Preloader', 'profund' ), 'image' => esc_html__( 'Image Preloader', 'profund' ) ) ), /** * Text Preloader */ array( 'required' => array( 'preloader_style', '=', 'text' ), 'id' => 'preloader_text', 'type' => 'text', 'title' => esc_html__( 'loader Text', 'profund' ), 'default' => 'Loading...' ), array( 'title' => esc_html__( 'Typography', 'profund' ), 'id' => 'preloader_typo', 'type' => 'typography', 'text-align' => false, 'color' => false, 'text-transform' => true, 'output' => '.preloader .loader-text h3', 'required' => array( 'preloader_style', '=', 'text' ), ), array( 'title' => esc_html__( 'Color', 'profund' ), 'id' => 'preloader_color', 'type' => 'color_gradient', 'default' => array( 'from' => '#ffffff', 'to' => '#000000' ), 'required' => array( 'preloader_style', '=', 'text' ), ), /** * Image Preloader */ array( 'required' => array( 'preloader_style', '=', 'image' ), 'id' => 'preloader_image', 'type' => 'media', 'title' => esc_html__( 'Pre-loader image', 'profund' ), 'default' => array( 'url' => get_theme_file_uri('/assets/images/preloader.gif') ) ), array( 'id' => 'preloader_background', 'type' => 'color', 'title' => esc_html__( 'Preloader Background', 'profund' ), 'subtitle' => esc_html__( 'Preloader background color', 'profund' ), 'mode' => 'background', 'output' => ".preloader" ), array( 'id' => 'is_loader_close', 'type' => 'switch', 'title' => esc_html__( 'Close Button', 'profund' ), 'on' => esc_html__( 'Enable', 'profund' ), 'off' => esc_html__( 'Disable', 'profund' ), 'default' => true, ), array( 'title' => esc_html__('Close Button Text', 'profund'), 'subtitle' => esc_html__('Preloader colose button text here.', 'profund'), 'id' => 'load_close_text', 'type' => 'text', 'default' => esc_html__('Close Preloader', 'profund'), 'required' => array('is_loader_close', '=', '1') ), array( 'title' => esc_html__('Button Style', 'profund'), 'id' => 'load_close_button_style_section', 'type' => 'section', 'indent' => true, 'required' => array('is_loader_close', '=', '1'), ), array( 'title' => esc_html__('Font color', 'profund'), 'id' => 'load_close_button_color', 'type' => 'color', 'output' => array('.preloader .load-close'), ), array( 'title' => esc_html__('Background Color', 'profund'), 'id' => 'load_close_button_bg', 'type' => 'color', 'mode' => 'background', 'output' => array('.preloader .load-close'), ), // Button color on hover stats array( 'title' => esc_html__('Hover Font Color', 'profund'), 'subtitle' => esc_html__('Font color on hover stats.', 'profund'), 'id' => 'load_close_button_hover_color', 'type' => 'color', 'output' => array('.preloader .load-close:hover,.preloader .load-close:focus'), ), array( 'title' => esc_html__('Hover background color', 'profund'), 'subtitle' => esc_html__('Background color on hover stats.', 'profund'), 'id' => 'load_close_button_hover_bg', 'type' => 'color', 'output' => array( 'background' => '.preloader .load-close:hover,.preloader .load-close:focus,.preloader .load-close .dir-part', ), ), array( 'id' => 'load_close_button_border', 'type' => 'border', 'title' => __( 'Button Border', 'profund' ), 'output' => array( '.preloader .load-close' ), ), array( 'id' => 'load_close_button_section_end', 'type' => 'section', 'indent' => false, ), ) )); Redux::setSection( $opt_name, array( 'title' => __( 'ScrollUp Button', 'profund' ), 'id' => 'scrollUp_option', 'icon' => 'el el-chevron-up', 'fields' => array( array( 'id' => 'is_scroll_up', 'type' => 'switch', 'title' => __( 'Display Button', 'profund' ), 'on' => esc_html__('Show', 'profund'), 'off' => esc_html__('Hide', 'profund'), 'default' => true, ), array( 'title' => esc_html__('Button Style', 'profund'), 'id' => 'scr_btn_style_section', 'type' => 'section', 'indent' => true, 'required' => array( 'is_scroll_up', '=', true ) ), array( 'title' => esc_html__('Button Color', 'profund'), 'id' => 'scr_btn_color', 'type' => 'color', 'output' => array('a#scrollUp'), ), array( 'title' => esc_html__('Button BG Color', 'profund'), 'id' => 'scr_btn_bg_color', 'type' => 'color', 'mode' => 'background', 'output' => array('a#scrollUp'), ), array( 'title' => esc_html__('Button Hover Color', 'profund'), 'id' => 'scr_btn_hover_color', 'type' => 'color', 'output' => array('a#scrollUp:hover'), ), array( 'title' => esc_html__('Button Hover BG Color', 'profund'), 'id' => 'scr_btn_hover_bg_color', 'type' => 'color', 'mode' => 'background', 'output' => array('a#scrollUp:hover'), ), array( 'title' => esc_html__('Button Dimensions', 'profund'), 'subtitle' => esc_html__( 'Set a custom height width for this button.', 'profund' ), 'id' => 'scr_dimensions', 'type' => 'dimensions', 'units' => array('em','px','%'), 'output' => 'a#scrollUp' ), array( 'title' => esc_html__('Button Margin', 'profund'), 'subtitle' => esc_html__('Margin around the button. Input the margin as clockwise (Top Right Bottom Left)', 'profund'), 'id' => 'scr_btn_margin', 'type' => 'spacing', 'output' => array( 'a#scrollUp' ), 'mode' => 'margin', 'units' => array( 'em', 'px', '%' ), 'units_extended' => 'true', ), array( 'title' => esc_html__('Button Padding', 'profund'), 'subtitle' => esc_html__('Padding around the button. Input the padding as clockwise (Top Right Bottom Left)', 'profund'), 'id' => 'scr_btn_padding', 'type' => 'spacing', 'output' => array( 'a#scrollUp' ), 'mode' => 'padding', 'units' => array( 'em', 'px', '%' ), 'units_extended' => 'true', ), array( 'id' => 'scr_btn_border', 'type' => 'border', 'title' => __( 'Button Border', 'profund' ), 'output' => array( 'a#scrollUp' ), 'default' => array( 'border-color' => '#55c882', 'border-style' => 'solid', 'border-top' => '1px', 'border-right' => '1px', 'border-bottom' => '1px', 'border-left' => '1px' ), ), array( 'title' => esc_html__('Button Radius', 'profund'), 'subtitle' => esc_html__('Radius around the read more button. Input the radius as clockwise (Top Right Bottom Left)', 'profund'), 'id' => 'scr_btn_radius', 'type' => 'spacing', 'mode' => 'border-radius', 'units' => array( 'em', 'px', '%' ), 'units_extended' => 'true', ), array( 'title' => esc_html__('Button Shadow', 'profund'), 'id' => 'scr_btn_shadow', 'type' => 'text', 'default' => '0px 0px 30px 0px rgba(0,0,0,0.0)' ), array( 'id' => 'scr_btn_style_section_end', 'type' => 'section', 'indent' => false, ), ) ) ); Redux::setSection( $opt_name, array( 'title' => __( 'Custom CSS', 'profund' ), 'id' => 'custom_css_options', 'icon' => 'el el-edit', 'fields' => array( array( 'id' => 'custom_css', 'type' => 'ace_editor', 'title' => __( 'Custom CSS Code', 'profund' ), 'subtitle' => __( 'Type your custom CSS code here.', 'profund' ), 'mode' => 'css', 'theme' => 'monokai' ), ) ) );
Save
Cancel