| Server IP : 178.63.100.251 / Your IP : 216.73.216.228 Web Server : LiteSpeed System : Linux dobby.thevpsserver.com 4.18.0-553.16.1.lve.el8.x86_64 #1 SMP Tue Aug 13 17:45:03 UTC 2024 x86_64 User : truewayi ( 1855) PHP Version : 7.4.33 Disable Function : show_source,system,shell_exec,passthru,exec,popen,proc_open MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/truewayi/public_html/wp-content/themes/omexo/inc/metabox-and-options/ |
Upload File : |
<?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 = "omexo_opt";
$theme = wp_get_theme(); // For use with some settings. Not necessary.
$args = array(
'opt_name' => $opt_name,
'display_name' => $theme->get( 'Name' ),
'display_version' => $theme->get( 'Version' ),
'menu_type' => 'menu',
'allow_sub_menu' => true,
'menu_title' => esc_html__( 'Omexo Options', 'omexo' ),
'page_title' => esc_html__( 'Omexo Options', 'omexo' ),
'google_api_key' => '',
'google_update_weekly' => false,
'async_typography' => false,
'admin_bar' => true,
'admin_bar_icon' => 'dashicons-portfolio',
'admin_bar_priority' => 50,
'global_variable' => '',
'dev_mode' => false,
'update_notice' => false,
'customizer' => false,
'page_priority' => 2,
'page_parent' => 'themes.php',
'page_permissions' => 'manage_options',
'menu_icon' => '',
'last_tab' => '',
'page_icon' => 'icon-themes',
'page_slug' => 'omexo_option',
'save_defaults' => true,
'default_show' => false,
'default_mark' => '',
'show_import_export' => true,
'transient_time' => 60 * MINUTE_IN_SECONDS,
'output' => true,
'output_tag' => true,
'database' => '',
'use_cdn' => true,
// 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 );
// -> General
Redux::setSection( $opt_name, array(
'title' => esc_html__( 'General', 'omexo' ),
'id' => 'general-section',
'customizer_width' => '400px',
'icon' => 'dashicons dashicons-admin-home',
'fields' => array(
array(
'id' => 'general-sub-sec',
'type' => 'section',
'indent' => true
),
array(
'id' => 'preloader',
'type' => 'switch',
'title' => esc_html__( 'Preloader', 'omexo' ),
'desc' => esc_html__( 'Enable or Disable site preloader', 'omexo' ),
'default' => true
),
array(
'id' => 'preloader-bg',
'type' => 'background',
'output' => array( '.preloader' ),
'title' => esc_html__( 'Preloader Background Color', 'omexo' ),
'background-repeat' => false,
'background-attachment' => false,
'background-position' => false,
'background-image' => false,
'background-size' => false,
'preview' => false,
'desc' => esc_html__( 'Change preloader background color from here', 'omexo' ),
'required' => array( 'preloader', '=', true ),
'default' => array(
'background-color' => '#130f40',
)
),
array(
'id' => 'primary-color',
'type' => 'color',
'title' => esc_html__( 'Primary Color', 'omexo' ),
'desc' => esc_html__( 'Change primary color from here', 'omexo' ),
'default' => '#FF630E'
),
array(
'id' => 'text-color',
'type' => 'color',
'title' => esc_html__( 'Body Text Color', 'omexo' ),
'desc' => esc_html__( 'Change paragraph text color from here', 'omexo' ),
'default' => '#696969'
),
array(
'id' => 'heading-color',
'type' => 'color',
'title' => esc_html__( 'Heading Color', 'omexo' ),
'desc' => esc_html__( 'Change all heading color from here', 'omexo' ),
'default' => '#130f40'
),
array(
'id' => 'custom-btn-color',
'type' => 'switch',
'title' => esc_html__('Button Custom Color', 'omexo'),
'desc' => esc_html__('Add button\'s custom global color', 'omexo'),
'default' => false
),
array(
'id' => 'custom-btn-bg',
'type' => 'background',
'title' => esc_html__('Background Color', 'omexo'),
'output' => array('.header-cart .cart-btn a span,.header-log-reg ul,.omexo-post-read-more a, .search-form button[type="submit"].search-submit,nav.navigation.pagination span.current,nav.navigation.pagination ul li a,.wp-block-search .wp-block-search__button'),
'background-repeat' => false,
'background-attachment' => false,
'background-position' => false,
'background-image' => false,
'background-size' => false,
'preview' => false,
'desc' => esc_html__('Change buttons background color from here', 'omexo'),
'required' => array('custom-btn-color', '=', true),
),
array(
'id' => 'custom-btn-hover-bg',
'type' => 'background',
'title' => esc_html__('Hover Background Color', 'omexo'),
'output' => array('.omexo-post-read-more a:hover,.search-form button[type="submit"].search-submit:hover,nav.navigation.pagination ul li a:hover,.wp-block-search .wp-block-search__button:hover'),
'background-repeat' => false,
'background-attachment' => false,
'background-position' => false,
'background-image' => false,
'background-size' => false,
'preview' => false,
'desc' => esc_html__('Change buttons hover background color from here', 'omexo'),
'required' => array('custom-btn-color', '=', true)
),
array(
'id' => 'custom-btn-color',
'type' => 'link_color',
'output' => array('.header-cart .cart-btn a span,.header-log-reg ul li a,.omexo-post-read-more a,.search-form button[type="submit"].search-submit,nav.navigation.pagination span.current,nav.navigation.pagination ul li a,.wp-block-search .wp-block-search__button, .single-course-categories a:hover'),
'title' => esc_html__('Button Color', 'omexo'),
'desc' => esc_html__('Change login & register button color from here', 'omexo'),
'required' => array('custom-btn-color', '=', true),
'active' => false,
),
)
) );
// -> Header
Redux::setSection($opt_name, array(
'title' => esc_html__('Header', 'omexo'),
'id' => 'header-section',
'desc' => esc_html__('Header section', 'omexo'),
'customizer_width' => '400px',
'icon' => 'dashicons dashicons-button'
));
Redux::setSection($opt_name, array(
'title' => esc_html__('Primary', 'omexo'),
'id' => 'header-bottom-area',
'customizer_width' => '400px',
'icon' => 'dashicons dashicons-button',
'subsection' => true,
'fields' => array(
array(
'id' => 'header-style',
'type' => 'image_select',
'title' => __('Choose Header Style', 'omexo'),
'desc' => __('You can choose header layout from here', 'omexo'),
'options' => array(
'style-one' => array('img' => get_template_directory_uri() . '/assets/images/header-one.jpg'),
'style-two' => array('img' => get_template_directory_uri() . '/assets/images/header-two.jpg'),
),
'default' => 'style-one'
),
array(
'id' => 'header-bg',
'type' => 'color_rgba',
'output' => array('background-color' => '.header-btm-area'),
'title' => esc_html__('Background Color', 'omexo'),
'desc' => esc_html__('Change header background color from here', 'omexo'),
'default' => array(
'color' => '#ffffff',
'alpha' => 1
),
),
array(
'id' => 'header-logo',
'type' => 'media',
'compiler' => true,
'title' => esc_html__('Site Logo', 'omexo'),
'subtitle' => esc_html__('Recommended logo size 198x36 pixel', 'omexo'),
'desc' => esc_html__('Add site logo from here', 'omexo'),
'default' => array('url' => get_template_directory_uri() . '/assets/images/logo.png'),
),
array(
'id' => 'sticky-header',
'type' => 'switch',
'title' => esc_html__('Sticky Header', 'omexo'),
'desc' => esc_html__('Enable or Disable sticky header', 'omexo'),
'default' => true
),
array(
'id' => 'sticky-header-bg',
'type' => 'color_rgba',
'output' => array('background-color' => '.site-header.enable-sticky.sticky-header .header-btm-area'),
'title' => esc_html__('Sticky Background Color', 'omexo'),
'desc' => esc_html__('Change sticky header background color from here', 'omexo'),
'default' => array(
'color' => '#ffffff',
'alpha' => 1
),
),
array(
'id' => 'header-cta-btn',
'type' => 'switch',
'title' => esc_html__('CTA Button', 'omexo'),
'desc' => esc_html__('Show or hide call to action button from here', 'omexo'),
'required' => array(
array('header-style', '=', array('style-three')),
),
'default' => true
),
array(
'id' => 'header-cta-btn',
'type' => 'switch',
'title' => esc_html__('CTA Button', 'omexo'),
'desc' => esc_html__('Show or hide call to action button from here', 'omexo'),
'required' => array(
array('header-style', '=', array('style-three')),
),
'default' => true
),
array(
'id' => 'cta-btn-text',
'type' => 'text',
'title' => esc_html__('CTA Button Text', 'omexo'),
'desc' => esc_html__('Write CTA button text here', 'omexo'),
'required' => array(
array('header-style', '=', array('style-three')),
array('header-cta-btn', '=', true),
),
'default' => 'Get Started'
),
array(
'id' => 'cta-btn-url',
'type' => 'text',
'title' => esc_html__('CTA Button URL', 'omexo'),
'desc' => esc_html__('Write CTA button link here', 'omexo'),
'required' => array(
array('header-style', '=', array('style-three')),
array('header-cta-btn', '=', true),
),
'default' => '#'
),
array(
'id' => 'header-cart',
'type' => 'switch',
'title' => esc_html__('Mini Cart', 'omexo'),
'desc' => esc_html__('Show or hide cart icon', 'omexo'),
'required' => array('header-style', '=', 'style-one'),
'default' => true
),
array(
'id' => 'header-cart-color',
'type' => 'link_color',
'output' => array('.header-cart .cart-btn a'),
'title' => esc_html__('Cart Icon Color', 'omexo'),
'desc' => esc_html__('Change cart icon color from here', 'omexo'),
'required' => array(
array('header-cart', '=', true),
array('legacy', '=', true),
)
),
array(
'id' => 'header-cart-bg',
'type' => 'background',
'output' => array('.header-cart .cart-btn a span'),
'title' => esc_html__('Cart Quantity Background', 'omexo'),
'background-repeat' => false,
'background-attachment' => false,
'background-position' => false,
'background-image' => false,
'background-size' => false,
'preview' => false,
'desc' => esc_html__('Change cart icon quatity background color from here', 'omexo'),
'required' => array(
array('header-cart', '=', true),
array('legacy', '=', true)
),
'default' => array(
'background-color' => '#FF630E',
)
),
array(
'id' => 'header-log-reg-btn',
'type' => 'switch',
'title' => esc_html__('Login & Register Button', 'omexo'),
'desc' => esc_html__('Show or hide header login and register button', 'omexo'),
'required' => array(
array('header-style', '=', array('style-one', 'style-two'))
),
'default' => true
),
array(
'id' => 'login-title',
'type' => 'text',
'title' => esc_html__('Login Button Text', 'omexo'),
'desc' => esc_html__('Write login button text here', 'omexo'),
'required' => array(
array('header-style', '=', array('style-one', 'style-two')),
array('header-log-reg-btn', '=', true),
),
'default' => 'Login'
),
array(
'id' => 'login-url',
'type' => 'text',
'title' => esc_html__('Login Button URL', 'omexo'),
'desc' => esc_html__('Add login page link here', 'omexo'),
'required' => array(
array('header-style', '=', array('style-one', 'style-two')),
array('header-log-reg-btn', '=', true),
),
'default' => '/dashboard'
),
array(
'id' => 'register-title',
'type' => 'text',
'title' => esc_html__('Registration Button Text', 'omexo'),
'desc' => esc_html__('Write registration button text here', 'omexo'),
'required' => array(
array('header-style', '=', array('style-one', 'style-two')),
array('header-log-reg-btn', '=', true),
),
'default' => 'Register'
),
array(
'id' => 'register-url',
'type' => 'text',
'title' => esc_html__('Registration Button URL', 'omexo'),
'desc' => esc_html__('Add registration page link here', 'omexo'),
'required' => array(
array('header-style', '=', array('style-one', 'style-two')),
array('header-log-reg-btn', '=', true),
),
'default' => '/student-registration'
),
array(
'id' => 'dashboard-title',
'type' => 'text',
'title' => esc_html__('Dashboard Button Text', 'omexo'),
'desc' => esc_html__('Write Dashboard button text here which will show after login', 'omexo'),
'required' => array(
array('header-style', '=', array('style-one', 'style-two')),
array('header-log-reg-btn', '=', true),
),
'default' => 'Dashboard'
),
array(
'id' => 'dashboard-url',
'type' => 'text',
'title' => esc_html__('Dashboard Button Custom URL', 'omexo'),
'desc' => esc_html__('Write Dashboard button custom URL or leave it blank. If you leave it blank, the default dashboard link will work automatically', 'omexo'),
'required' => array(
array('header-style', '=', array('style-one', 'style-two')),
array('header-log-reg-btn', '=', true),
),
'default' => ''
),
array(
'id' => 'header-search-icon',
'type' => 'switch',
'title' => esc_html__('Search Icon', 'omexo'),
'desc' => esc_html__('Show or hide search icon', 'omexo'),
'default' => true,
'required' => array(
array('header-style', '=', array('style-two', 'style-three')),
),
),
array(
'id' => 'header-search-icon-color',
'type' => 'link_color',
'output' => array('.header-cart .cart-btn a'),
'title' => esc_html__('Search Icon Color', 'omexo'),
'desc' => esc_html__('Change search icon color from here', 'omexo'),
'active' => false,
'visited' => false,
'required' => array(
array('header-search-icon', '=', true),
array('header-style', '=', 'style-two'),
),
'default' => array(
'regular' => '#767676',
'hover' => '#FF630E',
)
),
array(
'id' => 'header-search-form-heading',
'type' => 'text',
'title' => esc_html__('Search Form Heading', 'omexo'),
'desc' => esc_html__('Write search form heading text here', 'omexo'),
'required' => array('header-style', '=', 'style-three'),
'required' => array(
array('header-style', '=', array('style-three')),
array('header-search-icon', '=', true)
),
'default' => 'Search What You Are Looking For?'
),
array(
'id' => 'header-search-form-placeholder',
'type' => 'text',
'title' => esc_html__('Search Placeholder Text', 'omexo'),
'desc' => esc_html__('Write search placeholder text here', 'omexo'),
'required' => array('header-style', '=', 'style-three'),
'required' => array(
array('header-style', '=', array('style-three')),
array('header-search-icon', '=', true)
),
'default' => 'Search Courses'
),
array(
'id' => 'header-log-reg-btn-bg',
'type' => 'background',
'output' => array('.header-log-reg ul'),
'title' => esc_html__('Login & Register Button Background', 'omexo'),
'background-repeat' => false,
'background-attachment' => false,
'background-position' => false,
'background-image' => false,
'background-size' => false,
'preview' => false,
'desc' => esc_html__('Change login & register button background color from here', 'omexo'),
'required' => array(
array('header-log-reg-btn', '=', true),
array('header-style', '=', 'style-one'),
),
'default' => array(
'background-color' => '#FF630E',
)
),
array(
'id' => 'header-log-reg-btn-color',
'type' => 'link_color',
'output' => array('.header-log-reg ul li a'),
'title' => esc_html__('Login & Register Button Color', 'omexo'),
'desc' => esc_html__('Change login & register button color from here', 'omexo'),
'required' => array(
array('header-log-reg-btn', '=', true),
array('header-style', '=', 'style-one'),
),
'default' => array(
'regular' => '#ffffff',
'hover' => '#130f40',
'active' => '#130f40',
'visited' => '#130f40'
)
),
array(
'id' => 'header-login-btn-color',
'type' => 'link_color',
'output' => array('.header-log-reg.style-two ul .login a'),
'title' => esc_html__('Login Button Color', 'omexo'),
'desc' => esc_html__('Change login color from here', 'omexo'),
'active' => false,
'visited' => false,
'required' => array(
array('header-log-reg-btn', '=', true),
array('header-style', '=', 'style-two'),
),
'default' => array(
'regular' => '#130f40',
'hover' => '#FF630E',
)
),
array(
'id' => 'header-register-btn-style-two-bg',
'type' => 'background',
'output' => array('.header-log-reg.style-two ul .register a'),
'title' => esc_html__('Register Button Background', 'omexo'),
'background-repeat' => false,
'background-attachment' => false,
'background-position' => false,
'background-image' => false,
'background-size' => false,
'preview' => false,
'desc' => esc_html__('Change register button background color from here', 'omexo'),
'required' => array(
array('header-log-reg-btn', '=', true),
array('header-style', '=', 'style-two'),
),
'default' => array(
'background-color' => '#FF630E',
)
),
array(
'id' => 'header-register-btn-style-two-hover-bg',
'type' => 'background',
'output' => array('.header-log-reg.style-two ul .register a:hover'),
'title' => esc_html__('Register Button Hover Background', 'omexo'),
'background-repeat' => false,
'background-attachment' => false,
'background-position' => false,
'background-image' => false,
'background-size' => false,
'preview' => false,
'desc' => esc_html__('Change register button hover background color from here', 'omexo'),
'required' => array(
array('header-log-reg-btn', '=', true),
array('header-style', '=', 'style-two'),
),
'default' => array(
'background-color' => '#eb2202',
)
),
array(
'id' => 'header-register-btn-color',
'type' => 'link_color',
'output' => array('.header-log-reg.style-two ul .register a'),
'title' => esc_html__('Register Button Color', 'omexo'),
'desc' => esc_html__('Change gegister button color from here', 'omexo'),
'active' => false,
'visited' => false,
'required' => array(
array('header-log-reg-btn', '=', true),
array('header-style', '=', 'style-two'),
),
'default' => array(
'regular' => '#ffffff',
'hover' => '#ffffff',
)
),
array(
'id' => 'transparent-header-sub-sec',
'type' => 'section',
'title' => esc_html__('Transparent Header', 'omexo'),
'required' => array(
array('header-top', '=', true),
array('social-icons-switcher', '=', true)
),
'indent' => true
),
array(
'id' => 'transparent-header',
'type' => 'switch',
'title' => esc_html__('Transparent Header', 'omexo'),
'desc' => esc_html__('Enable or Disable transparent header', 'omexo'),
'default' => false
),
array(
'id' => 'transparent-header-logo',
'type' => 'media',
'compiler' => true,
'title' => esc_html__('Sticky Logo', 'omexo'),
'subtitle' => esc_html__('Recommended logo size 198x36 pixel', 'omexo'),
'desc' => esc_html__('Add sticky logo from here', 'omexo'),
'default' => array('url' => get_template_directory_uri() . '/assets/images/logo.png'),
'required' => array(
array('transparent-header', '=', true),
array('sticky-header', '=', true)
)
),
array(
'id' => 'transparent-header-cart-color',
'type' => 'link_color',
'output' => array('.site-header.enable-transparent.sticky-header .header-cart .cart-btn a'),
'title' => esc_html__('Sticky Cart Icon Color', 'omexo'),
'desc' => esc_html__('Change cart icon color from here', 'omexo'),
'required' => array('header-cart', '=', true),
'default' => array(
'regular' => '#130f40',
'hover' => '#FF630E',
'active' => '#FF630E',
'visited' => '#FF630E'
),
'required' => array(
array('transparent-header', '=', true),
array('sticky-header', '=', true)
)
),
array(
'id' => 'transparent-header-cart-bg',
'type' => 'background',
'output' => array('.site-header.enable-transparent.sticky-header .header-cart .cart-btn a span'),
'title' => esc_html__('Sticky Cart Quantity Background', 'omexo'),
'background-repeat' => false,
'background-attachment' => false,
'background-position' => false,
'background-image' => false,
'background-size' => false,
'preview' => false,
'desc' => esc_html__('Change cart icon quatity background color from here', 'omexo'),
'required' => array('header-cart', '=', true),
'default' => array(
'background-color' => '#FF630E',
),
'required' => array(
array('transparent-header', '=', true),
array('sticky-header', '=', true)
)
),
array(
'id' => 'sticky-mainmenu-colors',
'type' => 'link_color',
'output' => array('.site-header.enable-transparent.sticky-header .navigation ul li a'),
'title' => esc_html__('Sticky Menu Color', 'omexo'),
'desc' => esc_html__('Change transparent sticky menu color from here', 'omexo'),
'active' => false,
'visited' => false,
'required' => array(
array('transparent-header', '=', true),
array('sticky-header', '=', true)
),
'default' => array(
'regular' => '#130f40',
'hover' => '#FF630E',
)
),
array(
'id' => 'sticky-menu-item-active-color',
'type' => 'color',
'output' => array('.site-header.enable-transparent.sticky-header .main-navigation ul li.current-menu-item > a'),
'title' => esc_html__('Sticky Menu Active Color', 'omexo'),
'desc' => esc_html__('Change transparent sticky menu active color from here', 'omexo'),
'required' => array(
array('transparent-header', '=', true),
array('sticky-header', '=', true)
),
'default' => '#FF630E',
),
array(
'id' => 'sticky-dropdown-colors',
'type' => 'link_color',
'output' => array('.site-header.enable-transparent.sticky-header .main-navigation ul .sub-menu a'),
'title' => esc_html__('Sticky Dropdown Menu Color', 'omexo'),
'desc' => esc_html__('Change transparent sticky dropdown menu color from here', 'omexo'),
'required' => array(
array('transparent-header', '=', true),
array('sticky-header', '=', true)
),
'default' => array(
'regular' => '#130f40',
'hover' => '#FF630E',
'active' => '#FF630E',
'visited' => '#FF630E',
)
),
array(
'id' => 'sticky-dropdown-bg',
'type' => 'background',
'output' => array('.site-header.enable-transparent.sticky-header .main-navigation .sub-menu'),
'title' => esc_html__('Sticky Dropdown Background', 'omexo'),
'background-repeat' => false,
'background-attachment' => false,
'background-position' => false,
'background-image' => false,
'background-size' => false,
'preview' => false,
'desc' => esc_html__('Change transparent sticky dropdown menu area background color from here', 'omexo'),
'default' => array(
'background-color' => '#fff',
),
'required' => array(
array('transparent-header', '=', true),
array('sticky-header', '=', true)
)
),
array(
'id' => 'sticky-dropdown-border-colors',
'type' => 'border',
'output' => array('.site-header.enable-transparent.sticky-header .main-navigation .sub-menu'),
'title' => esc_html__('Sticky Dropdown Border Color', 'omexo'),
'desc' => esc_html__('Change transparent sticky dropdown menu area border top color from here', 'omexo'),
'default' => array(
'border-color' => '#FF630E',
'border-style' => 'solid',
'border-top' => '2px'
),
'required' => array(
array('transparent-header', '=', true),
array('sticky-header', '=', true)
)
),
)
));
Redux::setSection($opt_name, array(
'title' => esc_html__('Promotion Area', 'omexo'),
'id' => 'header-promotion-area',
'customizer_width' => '400px',
'icon' => 'dashicons dashicons-button',
'subsection' => true,
'fields' => array(
array(
'id' => 'header-promation',
'type' => 'switch',
'title' => esc_html__('Promotion', 'omexo'),
'desc' => esc_html__('Show or hide promotion area', 'omexo'),
'default' => false
),
array(
'id' => 'header-promotion-bg',
'type' => 'background',
'output' => array('.header-promotion-area'),
'title' => esc_html__('Background', 'omexo'),
'desc' => esc_html__('Change promotion area background from here', 'omexo'),
'required' => array('header-promation', '=', true),
'default' => array(
'background-color' => '#FF630E',
)
),
array(
'id' => 'promotion-area-spacing',
'type' => 'spacing',
'output' => array('.header-promotion-area'),
'required' => array('header-promation', '=', true),
'mode' => 'padding',
'left' => false,
'right' => false,
'units' => array('px'),
'units_extended' => 'false',
'title' => __('Spacing', 'omexo'),
'desc' => __('Set spacing for the promotion area.', 'omexo'),
),
array(
'id' => 'header-promotion-text',
'type' => 'text',
'title' => esc_html__('Text', 'omexo'),
'desc' => esc_html__('Write the promotion text here', 'omexo'),
'required' => array('header-promation', '=', true),
'default' => 'Limited time offer: Flat 30% discount on all courses'
),
array(
'id' => 'header-promotion-btn-text',
'type' => 'text',
'title' => esc_html__('Button Text', 'omexo'),
'desc' => esc_html__('Write the promotion button text here', 'omexo'),
'required' => array('header-promation', '=', true),
'default' => 'Enroll Now'
),
array(
'id' => 'header-promotion-btn-url',
'type' => 'text',
'title' => esc_html__('Button URL', 'omexo'),
'desc' => esc_html__('Write the promotion button button url here', 'omexo'),
'required' => array('header-promation', '=', true),
'default' => 'https://yoursite.com/courses'
),
array(
'id' => 'promotion-text-typography',
'type' => 'typography',
'google' => true,
'title' => esc_html__('Text Typography', 'omexo'),
'output' => array('.header-promotion-area h4, .header-promotion-area h4 a'),
'required' => array('header-promation', '=', true),
'subsets' => false,
'text-align' => false,
'color' => false,
'desc' => esc_html__('Choose the promotion text font properties from here', 'omexo'),
),
array(
'id' => 'header-promotion-text-colr',
'type' => 'color',
'title' => esc_html__('Text Color', 'omexo'),
'desc' => esc_html__('Change text color from here', 'omexo'),
'output' => array('.header-promotion-area h4'),
'required' => array('header-promation', '=', true),
'default' => '#ffffff',
'validate' => 'color',
),
array(
'id' => 'promotion-btn-typography',
'type' => 'typography',
'google' => true,
'title' => esc_html__('Button Typography', 'omexo'),
'output' => array('.header-promotion-area h4 a'),
'required' => array('header-promation', '=', true),
'subsets' => false,
'text-align' => false,
'color' => false,
'desc' => esc_html__('Choose the promotion button font properties from here', 'omexo'),
),
array(
'id' => 'promotion-btn-padding',
'type' => 'spacing',
'output' => array('.header-promotion-area h4 a'),
'required' => array('header-promation', '=', true),
'mode' => 'padding',
'units' => array('px'),
'units_extended' => 'false',
'title' => __('Button Padding', 'omexo'),
'desc' => __('Set padding for the promotion button.', 'omexo'),
),
array(
'id' => 'promotion-btn-margin',
'type' => 'spacing',
'output' => array('.header-promotion-area h4 a'),
'required' => array('header-promation', '=', true),
'mode' => 'margin',
'top' => false,
'right' => false,
'bottom' => false,
'units' => array('px'),
'units_extended' => 'false',
'title' => __('Button Left Margin', 'omexo'),
'desc' => __('Set button left margin.', 'omexo'),
),
array(
'id' => 'header-promotion-btn-bg-color',
'type' => 'background',
'output' => array('background-color' => '.header-promotion-area h4 a'),
'title' => esc_html__('Button Background', 'omexo'),
'background-repeat' => false,
'background-attachment' => false,
'background-position' => false,
'background-image' => false,
'background-size' => false,
'preview' => false,
'desc' => esc_html__('Change the button background color from here', 'omexo'),
'required' => array('header-promation', '=', true),
'default' => array(
'background-color' => '#1dd1a1',
)
),
array(
'id' => 'header-promotion-btn-bg-hover-color',
'type' => 'background',
'output' => array('background-color' => '.header-promotion-area h4 a:hover'),
'title' => esc_html__('Button Hover Background', 'omexo'),
'background-repeat' => false,
'background-attachment' => false,
'background-position' => false,
'background-image' => false,
'background-size' => false,
'preview' => false,
'desc' => esc_html__('Change the button background color from here', 'omexo'),
'required' => array('header-promation', '=', true),
'default' => array(
'background-color' => '#0e0a38',
)
),
array(
'id' => 'header-promotion-btn-color',
'type' => 'link_color',
'output' => array('.header-promotion-area h4 a'),
'required' => array('header-promation', '=', true),
'title' => esc_html__('Button Color', 'omexo'),
'active' => false,
'desc' => esc_html__('Change button text color from here', 'omexo'),
'default' => array(
'regular' => '#ffffff',
'hover' => '#ffffff'
)
)
)
));
Redux::setSection($opt_name, array(
'title' => esc_html__('Top Area', 'omexo'),
'id' => 'header-top-area',
'customizer_width' => '400px',
'icon' => 'dashicons dashicons-button',
'subsection' => true,
'fields' => array(
array(
'id' => 'header-top',
'type' => 'switch',
'title' => esc_html__('Header Top', 'omexo'),
'desc' => esc_html__('Show or hide header top area', 'omexo'),
'default' => true
),
array(
'id' => 'header-top-bg',
'type' => 'color_rgba',
'output' => array('background-color' => '.header-top-area'),
'title' => esc_html__('Background Color', 'omexo'),
'desc' => esc_html__('Change header top area background color from here', 'omexo'),
'required' => array('header-top', '=', true),
'default' => array(
'color' => '#0e0a38',
'alpha' => 1
),
),
array(
'id' => 'header-top-text-color',
'type' => 'color',
'output' => array('.header-contact-info li a,.header-top-social li a'),
'title' => esc_html__('Text Color', 'omexo'),
'desc' => esc_html__('Change text color from here', 'omexo'),
'required' => array('header-top', '=', true),
'default' => '#ffffff'
),
array(
'id' => 'header-search',
'type' => 'switch',
'title' => esc_html__('Search Form', 'omexo'),
'desc' => esc_html__('Show or hide header top area search form', 'omexo'),
'required' => array(
array('header-style', '=', array('style-one')),
array('header-top', '=', true)
),
'default' => true
),
array(
'id' => 'header-top-log-reg-btn',
'type' => 'switch',
'title' => esc_html__('Login & Register Button', 'omexo'),
'desc' => esc_html__('Show or hide header login and register button', 'omexo'),
'required' => array(
array('header-style', '=', array('style-three')),
array('header-top', '=', true)
),
'default' => true
),
array(
'id' => 'header-top-login-register-title',
'type' => 'text',
'title' => esc_html__('Login/Register Button Text', 'omexo'),
'desc' => esc_html__('Write login/register button text here', 'omexo'),
'required' => array(
array('header-style', '=', array('style-three')),
array('header-log-reg-btn', '=', true),
array('header-top', '=', true)
),
'default' => 'Login/Register'
),
array(
'id' => 'header-top-login-register-title-url',
'type' => 'text',
'title' => esc_html__('Login/Register Button URL', 'omexo'),
'desc' => esc_html__('Add login page link here', 'omexo'),
'required' => array(
array('header-style', '=', array('style-three')),
array('header-log-reg-btn', '=', true),
array('header-top', '=', true)
),
'default' => '/dashboard'
),
array(
'id' => 'header-top-promotion-text-switcher',
'type' => 'switch',
'title' => esc_html__('Promotion Text', 'omexo'),
'desc' => esc_html__('Show or hide promotion text from here', 'omexo'),
'required' => array(
array('header-style', '=', array('style-three')),
array('header-top', '=', true)
),
'default' => true
),
array(
'id' => 'header-top-promotion-text',
'type' => 'text',
'title' => esc_html__('Promotion Text', 'omexo'),
'desc' => esc_html__('Write promotion text here', 'omexo'),
'required' => array(
array('header-style', '=', array('style-three')),
array('header-top-promotion-text-switcher', '=', true),
array('header-top', '=', true)
),
'default' => 'Limited time offer. Get 90% discount. <a href="#">Purchase Now</a>'
),
array(
'id' => 'social-icons-switcher',
'type' => 'switch',
'title' => esc_html__('Social Icons', 'omexo'),
'desc' => esc_html__('Show or hide header top area social icons from form', 'omexo'),
'required' => array('header-top', '=', true),
'default' => true
),
array(
'id' => 'header-email',
'type' => 'text',
'title' => esc_html__('Eamil Address', 'omexo'),
'desc' => esc_html__('Write email address text here', 'omexo'),
'required' => array('header-top', '=', true),
'default' => 'support@example.com'
),
array(
'id' => 'header-email-icon',
'type' => 'text',
'title' => esc_html__('Email Icon', 'omexo'),
'required' => array('header-top', '=', true),
'desc' => esc_html__('Write email icon name here', 'omexo') . '<a href="//fontawesome.com/icons" target="_blank"> Icon List Here</a>',
'default' => 'envelope'
),
array(
'id' => 'header-contact-number',
'type' => 'text',
'title' => esc_html__('Contact Number', 'omexo'),
'desc' => esc_html__('Write header info text here', 'omexo'),
'required' => array('header-top', '=', true),
'default' => '+98 012345 6789'
),
array(
'id' => 'header-contact-icon',
'type' => 'text',
'title' => esc_html__('Contact Number Icon', 'omexo'),
'required' => array('header-top', '=', true),
'desc' => esc_html__('Write phone icon name here', 'omexo') . '<a href="https://fontawesome.com/icons" target="_blank"> Icon List Here</a>',
'default' => 'phone'
),
array(
'id' => 'header-contact-info-text-color',
'type' => 'color',
'output' => array('.header-contact-info li a'),
'title' => esc_html__('Email & Phone Text Color', 'omexo'),
'desc' => esc_html__('Change email address & phone number text color from here', 'omexo'),
'required' => array('header-top', '=', true),
'default' => '#ffffff'
),
array(
'id' => 'header-contact-info-icon-color',
'type' => 'color',
'output' => array('.header-contact-info li i'),
'title' => esc_html__('Email & Phone Icon Color', 'omexo'),
'required' => array('header-top', '=', true),
'desc' => esc_html__('Change email address & phone number icon color from here', 'omexo'),
'default' => '#ffffff'
),
array(
'id' => 'header-social-sub-sec',
'type' => 'section',
'title' => esc_html__('Header Social Icons', 'omexo'),
'required' => array(
array('header-top', '=', true),
array('social-icons-switcher', '=', true)
),
'indent' => true
),
array(
'id' => 'header-social-icons',
'type' => 'sortable',
'title' => esc_html__('Social Icons', 'omexo'),
'multi' => true,
'desc' => esc_html__('Choose header social icons from here. After set an url (example: https://facebook.com), the icon will be visible. We use "#" for exmaple purpose. Besides, you can change icon position by dragging', 'omexo'),
'label' => true,
'options' => array(
'facebook' => 'Facebook url',
'instagram' => 'Instagram url',
'twitter' => 'Twitter url',
'behance' => 'Behance url',
'linkedin' => 'Linkedin url',
'youtube' => 'YouTube url',
'dribbble' => 'Dribble url',
'whatsapp' => 'WhatsApp url',
'tumblr' => 'Tumblr url',
'pinterest' => 'Pinterest url',
'telegram' => 'Telegram url',
'reddit' => 'Reddit url',
'stumbleupon' => 'StumbleUpon url',
'delicious' => 'Delicious url ',
'flickr' => 'Flickr url',
'vimeo' => 'Vimeo url',
'tiktok' => 'TikTok url'
),
'required' => array(
array('header-top', '=', true),
array('social-icons-switcher', '=', true)
),
'default' => array('facebook' => '#', 'twitter' => '#', 'linkedin' => '#', 'dribbble' => '#'),
),
array(
'id' => 'header-social-color',
'type' => 'link_color',
'output' => array('.header-top-social li a'),
'title' => esc_html__('Social Icons Color', 'omexo'),
'desc' => esc_html__('Change social icons color from here', 'omexo'),
'required' => array(
array('header-top', '=', true),
array('social-icons-switcher', '=', true)
),
'default' => array(
'regular' => '#ffffff',
'hover' => '#FF630E',
'active' => '#FF630E',
'visited' => '#FF630E'
)
),
)
));
// -> Main Menu
Redux::setSection( $opt_name, array(
'title' => esc_html__( 'Main Menu', 'omexo' ),
'id' => 'navigation-section',
'customizer_width' => '400px',
'icon' => 'dashicons dashicons-menu-alt3',
'fields' => array(
array(
'id' => 'mainmenu-sub-sec',
'type' => 'section',
'indent' => true
),
array(
'id' => 'menu-typography',
'type' => 'typography',
'google' => true,
'title' => esc_html__( 'Menu Typography', 'omexo' ),
'output' => array( '.main-navigation ul li a' ),
'subsets' => false,
'text-align' => false,
'color' => false,
'required' => array('legacy', '=', true),
'desc' => esc_html__( 'Choose the menu font properties from here', 'omexo' )
),
array(
'id' => 'dropdown-menu-typography',
'type' => 'typography',
'google' => true,
'title' => esc_html__( 'Dropdown Menu Typography', 'omexo' ),
'output' => array( '.main-navigation ul .sub-menu a' ),
'subsets' => false,
'text-align' => false,
'color' => false,
'required' => array('legacy', '=', true),
'desc' => esc_html__( 'Choose the dropdown menu font properties from here', 'omexo' ),
),
array(
'id' => 'menu-padding',
'type' => 'spacing',
'output' => array( '.main-navigation ul li a' ),
'mode' => 'padding',
'units' => array('px'),
'units_extended' => 'false',
'title' => __('Spacing', 'omexo'),
'required' => array('legacy', '=', true),
'desc' => esc_html__( 'Choose the menu spacing from here', 'omexo' ),
),
array(
'id' => 'menu-bg',
'type' => 'background',
'output' => array( '.main-menu-area:before, .slicknav_menu' ),
'title' => esc_html__( 'Menu Area Background Color', 'omexo' ),
'background-repeat' => false,
'background-attachment' => false,
'background-position' => false,
'background-image' => false,
'background-size' => false,
'preview' => false,
'desc' => esc_html__( 'Change menu area background color from here', 'omexo' ),
'default' => array(
'background-color' => '#ffffff',
)
),
array(
'id' => 'mainmenu-colors',
'type' => 'link_color',
'output' => array( '.navigation ul li a' ),
'title' => esc_html__('Menu Color', 'omexo'),
'desc' => esc_html__( 'Change menu color from here', 'omexo' ),
'active' => false,
'visited' => false,
'required' => array('legacy', '=', true),
'default' => array(
'regular' => '#130f40',
'hover' => '#FF630E',
)
),
array(
'id' => 'menu-item-active-color',
'type' => 'color',
'output' => array( '.main-navigation ul li.current-menu-item > a' ),
'title' => esc_html__('Menu Active Color', 'omexo'),
'required' => array('legacy', '=', true),
'desc' => esc_html__( 'Change menu active color from here', 'omexo' ),
'default' => '#FF630E',
),
array(
'id' => 'dropdown-colors',
'type' => 'link_color',
'output' => array( '.main-navigation ul .sub-menu a' ),
'title' => esc_html__('Dropdown Menu Color', 'omexo'),
'desc' => esc_html__( 'Change dropdown menu color from here', 'omexo' ),
'required' => array('legacy', '=', true),
'default' => array(
'regular' => '#130f40',
'hover' => '#FF630E',
'active' => '#FF630E',
'visited' => '#FF630E',
)
),
array(
'id' => 'dropdown-bg',
'type' => 'background',
'output' => array( '.main-navigation .sub-menu' ),
'title' => esc_html__( 'Dropdown Background', 'omexo' ),
'background-repeat' => false,
'background-attachment' => false,
'background-position' => false,
'background-image' => false,
'background-size' => false,
'preview' => false,
'required' => array('legacy', '=', true),
'desc' => esc_html__( 'Change dropdown menu area background color from here', 'omexo' ),
'default' => array(
'background-color' => '#fff',
)
),
array(
'id' => 'dropdown-border-colors',
'type' => 'border',
'output' => array( '.main-navigation .sub-menu' ),
'title' => esc_html__('Dropdown Border Color', 'omexo'),
'required' => array('legacy', '=', true),
'desc' => esc_html__( 'Change dropdown menu area border top color from here', 'omexo' ),
'default' => array(
'border-color' => '#FF630E',
'border-style' => 'solid',
'border-top' => '2px'
)
),
)
) );
// -> Page title
Redux::setSection( $opt_name, array(
'title' => esc_html__( 'Page Title', 'omexo' ),
'id' => 'page-title-section',
'customizer_width' => '400px',
'icon' => 'dashicons dashicons-table-row-after',
'fields' => array(
array(
'id' => 'page-title-sub-sec',
'type' => 'section',
'indent' => true
),
array(
'id' => 'page-title-switch',
'type' => 'switch',
'title' => esc_html__( 'Page Title', 'omexo' ),
'desc' => esc_html__( 'Enable or Disable Page Title', 'omexo' ),
'default' => true
),
array(
'id' => 'page-title-style',
'type' => 'select',
'title' => __('Choose Style', 'omexo'),
'desc' => __('You can choose course archive layout from here', 'omexo'),
'options' => array(
'style-one' => esc_html__('Style One', 'omexo'),
'style-two' => esc_html__('Style Two', 'omexo')
),
'default' => 'style-one',
'required' => array('page-title-switch', '=', true),
),
array(
'id' => 'page-title-bg',
'type' => 'background',
'compiler' => true,
'output' => array( '.page-banner-area' ),
'title' => esc_html__( 'Background', 'omexo' ),
'desc' => esc_html__( 'Choose page title background properties from here.', 'omexo' ),
'required' => array(
array('page-title-switch', '=', true),
array('page-title-style', '=', 'style-one')
)
),
array(
'id' => 'page-title-overlay',
'type' => 'color_rgba',
'output' => array('background-color' => '.page-banner-area:before'),
'title' => esc_html__( 'Background Overlay Color', 'omexo' ),
'desc' => esc_html__( 'Choose page title background overlay color from here.', 'omexo' ),
'mode' => 'background',
'required' => array(
array('page-title-switch', '=', true),
array('page-title-style', '=', 'style-one')
),
'default' => array(
'color'=> '#130f40',
'alpha'=> 0.8
)
),
array(
'id' => 'page-title-color',
'type' => 'color',
'title' => __('Title Color', 'omexo'),
'output' => array('.banner-content h1'),
'desc' => esc_html__('Choose page title color from here.', 'omexo'),
'validate' => 'color',
'required' => array('page-title-switch', '=', true),
),
array(
'id' => 'page-title-breadcrumb-color',
'type' => 'color',
'title' => __('Breadcrumb Text Color', 'omexo'),
'output' => array('.breadcrum-container, .breadcrum-container a, span[typeof="ListItem"] a.home:before'),
'desc' => esc_html__('Choose breadcrumb text color from here.', 'omexo'),
'validate' => 'color',
'required' => array('page-title-switch', '=', true),
),
array(
'id' => 'page-title-align',
'type' => 'button_set',
'title' => esc_html__( 'Text Alignment', 'omexo' ),
'desc' => esc_html__( 'Select page title text alignment from here.', 'omexo' ),
'required' => array( 'page-title-switch', '=', true ),
'options' => array(
'left' => 'Left',
'center' => 'Center',
'right' => 'Right',
),
'default' => 'center',
'required' => array('page-title-switch', '=', true),
),
array(
'id' => 'page-title-spacing',
'type' => 'spacing',
'output' => array('.page-banner-area'),
'mode' => 'padding',
'units' => array('px'),
'units_extended' => 'false',
'left' => 'false',
'right' => 'false',
'title' => __('Spacing', 'omexo'),
'desc' => __('Change page title area spacing from here', 'omexo'),
'required' => array('page-title-switch', '=', true),
),
array(
'id' => 'page-title-spacing-for-mobile',
'type' => 'spacing',
'mode' => 'padding',
'units' => array('px'),
'units_extended' => 'false',
'left' => 'false',
'right' => 'false',
'title' => __('Spacing for Mobile', 'omexo'),
'desc' => __('Change page title area spacing for mobile from here', 'omexo'),
'default' => array(
'padding-top' => '60px',
'padding-bottom' => '60px',
),
'required' => array('page-title-switch', '=', true),
),
array(
'id' => 'page-title-typography',
'type' => 'typography',
'google' => true,
'title' => esc_html__('Title Font', 'omexo'),
'output' => array('.banner-content h1'),
'subsets' => false,
'text-align' => false,
'color' => false,
'desc' => esc_html__('Choose page title typography from here', 'omexo'),
'required' => array('page-title-switch', '=', true),
),
array(
'id' => 'page-title-breadcrumb-typography',
'type' => 'typography',
'google' => true,
'title' => esc_html__('Breadcrum Font', 'omexo'),
'output' => array('.breadcrum-container, .breadcrum-container a, .breadcrum-container span'),
'subsets' => false,
'text-align' => false,
'color' => false,
'desc' => esc_html__('Choose breadcrumb typography from here', 'omexo'),
'required' => array('page-title-switch', '=', true),
),
array(
'id' => 'page-title-color',
'type' => 'color',
'title' => __('Title Color', 'omexo'),
'output' => array('.banner-content h1'),
'desc' => esc_html__('Choose page title color from here.', 'omexo'),
'validate' => 'color',
'required' => array('page-title-switch', '=', true),
),
array(
'id' => 'page-title-breadcrumb-color',
'type' => 'color',
'title' => __('Breadcrumb Text Color', 'omexo'),
'output' => array('.breadcrum-container, .breadcrum-container a, span[typeof="ListItem"] a.home:before'),
'desc' => esc_html__('Choose breadcrumb text color from here.', 'omexo'),
'validate' => 'color',
'required' => array('page-title-switch', '=', true),
),
)
) );
// -> Course
Redux::setSection( $opt_name, array(
'title' => esc_html__( 'Course', 'omexo' ),
'id' => 'course-section',
'desc' => esc_html__( 'Course section', 'omexo' ),
'customizer_width' => '400px',
'icon' => 'dashicons dashicons-welcome-learn-more'
) );
Redux::setSection( $opt_name, array(
'title' => esc_html__( 'Course Page', 'omexo' ),
'id' => 'course-page',
'subsection' => true,
'customizer_width' => '400px',
'icon' => 'dashicons dashicons-grid-view',
'fields' => array(
array(
'id' => 'course-sub-sec',
'type' => 'section',
'indent' => true
),
array(
'id' => 'course-style',
'type' => 'select',
'title' => __('Choose Style', 'omexo'),
'desc' => __('You can choose course archive layout from here', 'omexo'),
'options' => array(
'style-one' => esc_html__('Style One', 'omexo'),
'style-two' => esc_html__('Style Two', 'omexo'),
'style-three' => esc_html__('Style Three', 'omexo'),
'style-four' => esc_html__('Style Four', 'omexo'),
'style-five' => esc_html__('Style Five', 'omexo'),
'style-six' => esc_html__('Style Six', 'omexo'),
'style-seven' => esc_html__('Style Seven', 'omexo'),
'style-eight' => esc_html__('Style Eight', 'omexo'),
),
'default' => 'style-one'
),
array(
'id' => 'course-category-switcher',
'type' => 'switch',
'title' => esc_html__('Course Category', 'omexo'),
'desc' => esc_html__('Show or Hide course category', 'omexo'),
'required' => array('course-style', '=', 'style-two'),
'default' => true
),
array(
'id' => 'course-enroll-switcher',
'type' => 'switch',
'title' => esc_html__('Course Enroll', 'omexo'),
'desc' => esc_html__('Show or Hide course enroll', 'omexo'),
'required' => array(
array('course-style', '=', array('style-two', 'style-three', 'style-four', 'style-five', 'style-six', 'style-seven'))
),
'default' => true
),
array(
'id' => 'course-enroll-text',
'type' => 'text',
'title' => esc_html__('Enroll Text', 'omexo'),
'desc' => esc_html__('Write your desired course enroll text here.', 'omexo'),
'required' => array('course-enroll-switcher', '=', true),
'default' => 'Enrolled'
),
array(
'id' => 'course-lesson-switcher',
'type' => 'switch',
'title' => esc_html__('Course Lesson', 'omexo'),
'desc' => esc_html__('Show or Hide course lesson', 'omexo'),
'required' => array(
array('course-style', '=', array('style-three', 'style-four', 'style-five', 'style-six', 'style-seven'))
),
'default' => true
),
array(
'id' => 'course-lesson-text',
'type' => 'text',
'title' => esc_html__('Lesson Text', 'omexo'),
'desc' => esc_html__('Write your desired course lesson text here.', 'omexo'),
'required' => array('course-lesson-switcher', '=', true),
'default' => 'Lessons'
),
array(
'id' => 'course-duration-switcher',
'type' => 'switch',
'title' => esc_html__('Course Duration', 'omexo'),
'desc' => esc_html__('Show or Hide course duration', 'omexo'),
'required' => array(
array('course-style', '=', array('style-one', 'style-two', 'style-three', 'style-four', 'style-seven'))
),
'default' => true
),
array(
'id' => 'course-rating-switcher',
'type' => 'switch',
'title' => esc_html__('Course Rating', 'omexo'),
'desc' => esc_html__('Show or Hide course rating', 'omexo'),
'required' => array(
array('course-style', '=', array('style-one','style-two', 'style-three', 'style-four', 'style-five', 'style-six', 'style-seven'))
),
'default' => true
),
array(
'id' => 'course-difficulty-switcher',
'type' => 'switch',
'title' => esc_html__('Difficulty Level', 'omexo'),
'desc' => esc_html__('Show or Hide Difficulty Level', 'omexo'),
'required' => array(
array('course-style', '=', array('style-one', 'style-three', 'style-four', 'style-six','style-seven'))
),
'default' => true
),
array(
'id' => 'course-page-title',
'type' => 'text',
'title' => esc_html__( 'Page Title', 'omexo' ),
'desc' => esc_html__( 'Write course page title from here.', 'omexo' ),
'default' => 'Our Courses'
),
array(
'id' => 'course-title-bg',
'type' => 'background',
'title' => esc_html__( 'Page Title Background', 'omexo' ),
'output' => array('.page-banner-area.course'),
'desc' => esc_html__( 'Choose course page title background image from here.', 'omexo' ),
),
array(
'id' => 'course-title-overlay',
'type' => 'color_rgba',
'title' => esc_html__( 'Page Title Overlay Color', 'omexo' ),
'output' => array('background-color' => '.page-banner-area.course:before'),
'desc' => esc_html__( 'Change course page image overlay color from here.', 'omexo' ),
)
)
) );
// -> Course Single for LearnDash LMS
if (class_exists('SFWD_LMS')) {
Redux::setSection(
$opt_name,
array(
'title' => esc_html__('Course Single', 'omexo'),
'id' => 'ld-courses-single',
'customizer_width' => '400px',
'subsection' => true,
'icon' => 'dashicons dashicons-admin-page',
'fields' => array(
array(
'id' => 'ld-course-single-sub-sec',
'type' => 'section',
'indent' => true
),
)
) );
}
// -> Course Single for Tutor LMS
if (defined('TUTOR_VERSION')) {
Redux::setSection( $opt_name, array(
'title' => esc_html__( 'Course Single', 'omexo' ),
'id' => 'courses-single',
'customizer_width' => '400px',
'subsection' => true,
'icon' => 'dashicons dashicons-admin-page',
'fields' => array(
array(
'id' => 'course-single-sub-sec',
'type' => 'section',
'indent' => true
),
array(
'id' => 'single-course-desc-title',
'type' => 'text',
'title' => esc_html__( 'Description - Title', 'omexo' ),
'desc' => esc_html__( 'Write course description title text here.', 'omexo' ),
'default' => esc_html__('About Course', 'omexo')
),
array(
'id' => 'single-course-what-learn-title',
'type' => 'text',
'title' => esc_html__( 'What Will You Learn - Title', 'omexo' ),
'desc' => esc_html__( 'Write what will you learn title text here.', 'omexo' ),
'default' => esc_html__('What you\'ll learn', 'omexo')
),
array(
'id' => 'single-course-content-title',
'type' => 'text',
'title' => esc_html__( 'Course Content - Title', 'omexo' ),
'desc' => esc_html__( 'Write course content title text here.', 'omexo' ),
'default' => esc_html__('Course Content', 'omexo')
),
array(
'id' => 'course-sidebar-sub-sec',
'type' => 'section',
'title' => esc_html__('Sidebar', 'omexo'),
'indent' => true
),
array(
'id' => 'course-cat-switch',
'type' => 'switch',
'title' => esc_html__('Category', 'omexo'),
'desc' => esc_html__('Enable or Disable breadcrumb', 'omexo'),
'default' => true
),
array(
'id' => 'course-category-title',
'type' => 'text',
'title' => esc_html__('Course Category - Title', 'omexo'),
'desc' => esc_html__('Write course categories title text here.', 'omexo'),
'required' => array('course-cat-switch', '=', true),
'default' => esc_html__('Categories', 'omexo')
),
array(
'id' => 'course-material-title',
'type' => 'text',
'title' => esc_html__('Material - Title', 'omexo'),
'desc' => esc_html__('Write material title text here.', 'omexo'),
'default' => esc_html__('Material Includes', 'omexo')
),
array(
'id' => 'course-share-title',
'type' => 'text',
'title' => esc_html__('Share This Course - Title', 'omexo'),
'desc' => esc_html__('Write material title text here.', 'omexo'),
'default' => esc_html__('Share This Course', 'omexo')
),
array(
'id' => 'course-tags-title',
'type' => 'text',
'title' => esc_html__('Tags - Title', 'omexo'),
'desc' => esc_html__('Write tags title text here.', 'omexo'),
'default' => esc_html__('Tags', 'omexo')
),
array(
'id' => 'course-requirements-title',
'type' => 'text',
'title' => esc_html__('Requirements - Title', 'omexo'),
'desc' => esc_html__('Write requirements title text here.', 'omexo'),
'default' => esc_html__('Requirements', 'omexo')
),
array(
'id' => 'course-audience-title',
'type' => 'text',
'title' => esc_html__('Target Audience - Title', 'omexo'),
'desc' => esc_html__('Write course target audience title text here.', 'omexo'),
'default' => esc_html__('Target Audience', 'omexo')
)
)
) );
}
// -> Course Sidebar
// Redux::setSection( $opt_name, array(
// 'title' => esc_html__( 'Course Sidebar', 'omexo' ),
// 'id' => 'courses-sidebar',
// 'customizer_width' => '400px',
// 'subsection' => true,
// 'icon' => 'dashicons dashicons-image-flip-horizontal',
// 'fields' => array(
// array(
// 'id' => 'course-sidebar-sub-sec',
// 'type' => 'section',
// 'indent' => true
// ),
// array(
// 'id' => 'course-cat-switch',
// 'type' => 'switch',
// 'title' => esc_html__( 'Category', 'omexo' ),
// 'desc' => esc_html__( 'Enable or Disable breadcrumb', 'omexo' ),
// 'default' => true
// ),
// array(
// 'id' => 'course-category-title',
// 'type' => 'text',
// 'title' => esc_html__( 'Course Category - Title', 'omexo' ),
// 'desc' => esc_html__( 'Write course categories title text here.', 'omexo' ),
// 'required' => array( 'course-cat-switch', '=', true ),
// 'default' => esc_html__('Categories', 'omexo')
// ),
// array(
// 'id' => 'course-material-title',
// 'type' => 'text',
// 'title' => esc_html__( 'Material - Title', 'omexo' ),
// 'desc' => esc_html__( 'Write material title text here.', 'omexo' ),
// 'default' => esc_html__('Material Includes', 'omexo')
// ),
// array(
// 'id' => 'course-share-title',
// 'type' => 'text',
// 'title' => esc_html__( 'Share This Course - Title', 'omexo' ),
// 'desc' => esc_html__( 'Write material title text here.', 'omexo' ),
// 'default' => esc_html__('Share This Course', 'omexo')
// ),
// array(
// 'id' => 'course-tags-title',
// 'type' => 'text',
// 'title' => esc_html__( 'Tags - Title', 'omexo' ),
// 'desc' => esc_html__( 'Write tags title text here.', 'omexo' ),
// 'default' => esc_html__('Tags', 'omexo')
// ),
// array(
// 'id' => 'course-requirements-title',
// 'type' => 'text',
// 'title' => esc_html__( 'Requirements - Title', 'omexo' ),
// 'desc' => esc_html__( 'Write requirements title text here.', 'omexo' ),
// 'default' => esc_html__('Requirements', 'omexo')
// ),
// array(
// 'id' => 'course-audience-title',
// 'type' => 'text',
// 'title' => esc_html__( 'Target Audience - Title', 'omexo' ),
// 'desc' => esc_html__( 'Write course target audience title text here.', 'omexo' ),
// 'default' => esc_html__('Target Audience', 'omexo')
// )
// )
// ));
// -> Pages
Redux::setSection( $opt_name, array(
'title' => esc_html__( 'Pages', 'omexo' ),
'id' => 'pages-section',
'desc' => esc_html__( 'Pages section', 'omexo' ),
'customizer_width' => '400px',
'icon' => 'dashicons dashicons-welcome-widgets-menus'
) );
Redux::setSection( $opt_name, array(
'title' => esc_html__( 'Blog Page', 'omexo' ),
'id' => 'blog-page',
'subsection' => true,
'customizer_width' => '400px',
'icon' => 'dashicons dashicons-grid-view',
'fields' => array(
array(
'id' => 'blog-sub-sec',
'type' => 'section',
'indent' => true
),
array(
'id' => 'blog-style',
'type' => 'select',
'title' => __('Choose Blog Style', 'omexo'),
'desc' => __('You can choose blog archive layout from here', 'omexo'),
'options' => array(
'list' => esc_html__('List', 'omexo'),
'grid' => esc_html__('Grid', 'omexo')
),
'default' => 'list',
),
array(
'id' => 'column-number',
'type' => 'select',
'title' => __('Column Number', 'omexo'),
'desc' => __('You can choose blog grid column number from here', 'omexo'),
'options' => array(
'col-lg-6' => esc_html__('Two', 'omexo'),
'col-lg-4' => esc_html__('Three', 'omexo'),
'col-lg-3' => esc_html__('Four', 'omexo'),
),
'default' => 'col-lg-4',
'required' => array('blog-style', '=', 'grid'),
),
array(
'id' => 'blog-layout',
'type' => 'image_select',
'title' => esc_html__( 'Blog Layout', 'omexo' ),
'desc' => esc_html__( 'Choose blog page layout from here.', 'omexo' ),
'options' => array(
'left-sidebar' => array(
'alt' => 'Left Sidebar',
'img' => get_template_directory_uri() .'/assets/images/left-sidebar.png',
),
'right-sidebar' => array(
'alt' => 'Right Sidebar',
'img' => get_template_directory_uri() .'/assets/images/right-sidebar.png',
),
'full-width' => array(
'alt' => 'Full Width',
'img' => get_template_directory_uri() .'/assets/images/full-width.png',
)
),
'default' => 'right-sidebar'
),
array(
'id' => 'blog-page-title',
'type' => 'text',
'title' => esc_html__( 'Page Title', 'omexo' ),
'desc' => esc_html__( 'Write blog page title from here.', 'omexo' ),
'default' => 'Our Blog'
),
array(
'id' => 'blog-title-bg',
'type' => 'background',
'title' => esc_html__( 'Page Title Background', 'omexo' ),
'output' => array('.page-banner-area.blog'),
'desc' => esc_html__( 'Choose blog page title background image from here.', 'omexo' ),
),
array(
'id' => 'blog-title-overlay',
'type' => 'color_rgba',
'title' => esc_html__( 'Page Title Overlay Color', 'omexo' ),
'output' => array('background-color' => '.page-banner-area.blog:before'),
'desc' => esc_html__( 'Change blog page image overlay color from here.', 'omexo' ),
),
array(
'id' => 'blog-typography',
'type' => 'section',
'title' => esc_html__( 'Typography', 'omexo' ),
'indent' => true
),
array(
'id' => 'blog-title-typography',
'type' => 'typography',
'google' => true,
'title' => esc_html__('Title Font', 'omexo'),
'output' => array('.blog-posts h3.entry-title a'),
'subsets' => false,
'text-transform' => true,
'text-align' => false,
'color' => false,
'desc' => esc_html__('Choose the blog title typography font properties from here', 'omexo'),
),
array(
'id' => 'blog-meta-typography',
'type' => 'typography',
'google' => true,
'title' => esc_html__('Meta Font', 'omexo'),
'output' => array('.blog-posts .blog-posts-meta li a'),
'subsets' => false,
'text-transform' => true,
'text-align' => false,
'color' => false,
'desc' => esc_html__('Choose the blog meta typography font properties from here', 'omexo'),
'default' => array(
'font-family' => 'Urbanist',
'font-weight' => '600'
)
),
array(
'id' => 'blog-btn-typography',
'type' => 'typography',
'google' => true,
'title' => esc_html__('Read More Button Font', 'omexo'),
'output' => array('.blog-posts .omexo-post-read-more a'),
'subsets' => false,
'text-transform' => true,
'text-align' => false,
'desc' => esc_html__('Choose the blog read more button typography font properties from here', 'omexo'),
),
array(
'id' => 'blog-btn-spacing',
'type' => 'spacing',
'output' => array('.blog-posts .omexo-post-read-more a'),
'mode' => 'padding',
'units' => array('px'),
'units_extended' => 'false',
'title' => __('Read More Button Padding', 'omexo'),
'desc' => __('Set padding of the read more button', 'omexo'),
),
array(
'id' => 'blog-post-common-sec',
'type' => 'section',
'title' => esc_html__( 'Blog Post Global Option', 'omexo' ),
'indent' => true
),
array(
'id' => 'post-date',
'type' => 'switch',
'title' => esc_html__( 'Post Date', 'omexo' ),
'desc' => esc_html__( 'Show or Hide post date from here', 'omexo' ),
'default' => true
),
array(
'id' => 'post-author',
'type' => 'switch',
'title' => esc_html__( 'Post Author', 'omexo' ),
'desc' => esc_html__( 'Show or Hide post author name from here', 'omexo' ),
'default' => true
),
array(
'id' => 'post-cat',
'type' => 'switch',
'title' => esc_html__( 'Post Categories', 'omexo' ),
'desc' => esc_html__( 'Show or Hide post category name from here', 'omexo' ),
'default' => true
),
array(
'id' => 'post-comnt',
'type' => 'switch',
'title' => esc_html__( 'Post Comment', 'omexo' ),
'desc' => esc_html__( 'Show or Hide post comment from here', 'omexo' ),
'default' => true
),
array(
'id' => 'post-tag',
'type' => 'switch',
'title' => esc_html__( 'Post Tags', 'omexo' ),
'desc' => esc_html__( 'Show or Hide blog tags from here', 'omexo' ),
'default' => true
),
)
) );
Redux::setSection( $opt_name, array(
'title' => esc_html__( 'Blog Single Page', 'omexo' ),
'id' => 'blog-single-page',
'subsection' => true,
'customizer_width' => '400px',
'icon' => 'dashicons dashicons-excerpt-view',
'fields' => array(
array(
'id' => 'blog-single-sub-sec',
'type' => 'section',
'indent' => true
),
array(
'id' => 'blog-single-layout',
'type' => 'image_select',
'title' => esc_html__( 'Page Layout', 'omexo' ),
'desc' => esc_html__( 'Choose blog single page layout from here.', 'omexo' ),
'options' => array(
'left-sidebar' => array(
'alt' => 'Left Sidebar',
'img' => get_template_directory_uri() .'/assets/images/left-sidebar.png',
),
'right-sidebar' => array(
'alt' => 'Right Sidebar',
'img' => get_template_directory_uri() .'/assets/images/right-sidebar.png',
),
'full-width' => array(
'alt' => 'Full Width',
'img' => get_template_directory_uri() .'/assets/images/full-width.png',
)
),
'default' => 'right-sidebar'
),
array(
'id' => 'blog-single-title-bg',
'type' => 'background',
'title' => esc_html__( 'Page Title Background', 'omexo' ),
'output' => array('.page-banner-area.blog-single'),
'desc' => esc_html__( 'Choose blog single page title background image from here.', 'omexo' ),
),
array(
'id' => 'blog-single-title-overlay',
'type' => 'color_rgba',
'title' => esc_html__( 'Page Title Overlay Color', 'omexo' ),
'output' => array('background-color' => '.page-banner-area.single:before'),
'desc' => esc_html__( 'Change blog single page image overlay color from here.', 'omexo' ),
),
array(
'id' => 'single-post-nav',
'type' => 'switch',
'title' => esc_html__( 'Post Navigation', 'omexo' ),
'desc' => esc_html__( 'Show or Hide single post navigation from here', 'omexo' ),
'default' => true
)
)
) );
Redux::setSection( $opt_name, array(
'title' => esc_html__( 'Archive Page', 'omexo' ),
'id' => 'archive-page',
'subsection' => true,
'customizer_width' => '400px',
'icon' => 'dashicons dashicons-editor-kitchensink',
'fields' => array(
array(
'id' => 'archive-sub-sec',
'type' => 'section',
'indent' => true
),
array(
'id' => 'archive-layout',
'type' => 'image_select',
'title' => esc_html__( 'Page Layout', 'omexo' ),
'desc' => esc_html__( 'Choose archive page layout from here.', 'omexo' ),
'options' => array(
'left-sidebar' => array(
'alt' => 'Left Sidebar',
'img' => get_template_directory_uri() .'/assets/images/left-sidebar.png',
),
'right-sidebar' => array(
'alt' => 'Right Sidebar',
'img' => get_template_directory_uri() .'/assets/images/right-sidebar.png',
),
'full-width' => array(
'alt' => 'Full Width',
'img' => get_template_directory_uri() .'/assets/images/full-width.png',
)
),
'default' => 'right-sidebar'
)
)
) );
Redux::setSection( $opt_name, array(
'title' => esc_html__( 'Shop Page', 'omexo' ),
'id' => 'shop-page',
'subsection' => true,
'customizer_width' => '400px',
'icon' => 'dashicons dashicons-cart',
'fields' => array(
array(
'id' => 'shop-sub-sec',
'type' => 'section',
'indent' => true
),
array(
'id' => 'shop-page-layout',
'type' => 'image_select',
'title' => esc_html__( 'Page Layout', 'omexo' ),
'desc' => esc_html__( 'Choose shop page layout from here.', 'omexo' ),
'options' => array(
'left-sidebar' => array(
'alt' => 'Left Sidebar',
'img' => get_template_directory_uri() .'/assets/images/left-sidebar.png',
),
'right-sidebar' => array(
'alt' => 'Right Sidebar',
'img' => get_template_directory_uri() .'/assets/images/right-sidebar.png',
),
'full-width' => array(
'alt' => 'Full Width',
'img' => get_template_directory_uri() .'/assets/images/full-width.png',
)
),
'default' => 'full-width'
),
array(
'id' => 'shop-page-title',
'type' => 'text',
'title' => esc_html__( 'Shop Page Title', 'omexo' ),
'desc' => esc_html__( 'Write shop page title from here.', 'omexo' ),
'default' => 'Shop Page'
),
array(
'id' => 'shop-details-title',
'type' => 'text',
'title' => esc_html__( 'Shop Details Page Title', 'omexo' ),
'desc' => esc_html__( 'Write shop details page title from here.', 'omexo' ),
'default' => 'Product Details'
),
array(
'id' => 'shop-title-bg',
'type' => 'background',
'title' => esc_html__( 'Page Title Background', 'omexo' ),
'output' => array('.page-banner-area.woocommerce'),
'desc' => esc_html__( 'Choose shop page title background image from here.', 'omexo' ),
)
)
) );
Redux::setSection( $opt_name, array(
'title' => esc_html__( 'Not Found Page', 'omexo' ),
'id' => 'error-page',
'subsection' => true,
'customizer_width' => '400px',
'icon' => 'dashicons dashicons-warning',
'fields' => array(
array(
'id' => 'error-sub-sec',
'type' => 'section',
'indent' => true
),
array(
'id' => 'error-title',
'type' => 'text',
'title' => esc_html__( 'Title', 'omexo' ),
'desc' => esc_html__( 'Write error page content title text from here', 'omexo' ),
'default' => '404'
),
array(
'id' => 'error-sub-title',
'type' => 'text',
'title' => esc_html__( 'Sub Title', 'omexo' ),
'desc' => esc_html__( 'Write error page content sub title text from here', 'omexo' ),
'default' => 'Page Not found'
),
array(
'id' => 'error-desc',
'type' => 'textarea',
'title' => esc_html__( 'Description', 'omexo' ),
'desc' => esc_html__( 'Write error page content description text from here', 'omexo' ),
'default' => 'It looks like nothing was found at this location. Try another search.'
)
)
) );
Redux::setSection( $opt_name, array(
'title' => esc_html__( 'Search Page', 'omexo' ),
'id' => 'search-page',
'subsection' => true,
'customizer_width' => '400px',
'icon' => 'dashicons dashicons-search',
'fields' => array(
array(
'id' => 'search-sub-sec',
'type' => 'section',
'indent' => true
),
array(
'id' => 'search-page-layout',
'type' => 'image_select',
'title' => esc_html__( 'Page Layout', 'omexo' ),
'desc' => esc_html__( 'Choose search page layout from here.', 'omexo' ),
'options' => array(
'left-sidebar' => array(
'alt' => 'Left Sidebar',
'img' => get_template_directory_uri() .'/assets/images/left-sidebar.png',
),
'right-sidebar' => array(
'alt' => 'Right Sidebar',
'img' => get_template_directory_uri() .'/assets/images/right-sidebar.png',
),
'full-width' => array(
'alt' => 'Full Width',
'img' => get_template_directory_uri() .'/assets/images/full-width.png',
)
),
'default' => 'right-sidebar'
)
)
) );
// -> Typography
Redux::setSection( $opt_name, array(
'title' => esc_html__( 'Typography', 'omexo' ),
'id' => 'omexo-typography',
'desc' => esc_html__( 'Typography setting', 'omexo' ),
'customizer_width' => '400px',
'icon' => 'dashicons dashicons-editor-spellcheck',
'fields' => array(
array(
'id' => 'typo-sub-sec',
'type' => 'section',
'indent' => true
),
array(
'id' => 'body-typography',
'type' => 'typography',
'google' => true,
'title' => esc_html__( 'Body Font', 'omexo' ),
'subsets' => false,
'font-weight' => false,
'text-align' => false,
'font-size' => false,
'line-height' => false,
'font-style' => false,
'color' => false,
'desc' => esc_html__( 'Choose the body font properties from here', 'omexo' ),
'default' => array(
'font-family' => 'Rubik',
)
),
array(
'id' => 'heading-typography',
'type' => 'typography',
'google' => true,
'title' => esc_html__( 'Heading Font', 'omexo' ),
'subsets' => false,
'font-weight' => false,
'text-align' => false,
'font-size' => false,
'line-height' => false,
'font-style' => false,
'color' => false,
'desc' => esc_html__( 'Choose the heading font properties from here', 'omexo' ),
'default' => array(
'font-family' => 'Urbanist'
)
),
array(
'id' => 'sidebar-widgets-typography',
'type' => 'typography',
'google' => true,
'title' => esc_html__('Blog Sidebar Widgets Font', 'omexo'),
'output' => array('.wp-block-latest-posts__list.wp-block-latest-posts li a, .widget.widget_block .wp-block-latest-comments__comment-meta a, .widget.widget_categories li a'),
'subsets' => false,
'text-align' => false,
'color' => false,
'desc' => esc_html__('Choose the body font properties from here', 'omexo'),
)
)
) );
// -> Footer
Redux::setSection( $opt_name, array(
'title' => esc_html__( 'Footer', 'omexo' ),
'id' => 'footer',
'desc' => esc_html__( 'Footer section', 'omexo' ),
'customizer_width' => '400px',
'icon' => 'dashicons dashicons-align-full-width',
'fields' => array(
array(
'id' => 'footer-top-bg',
'type' => 'background',
'output' => array( '.footer-top-area' ),
'title' => esc_html__( 'Footer Background Color', 'omexo' ),
'background-repeat' => false,
'background-attachment' => false,
'background-position' => false,
'background-image' => false,
'background-size' => false,
'preview' => false,
'desc' => esc_html__( 'Change footer area background color from here', 'omexo' ),
'default' => array(
'background-color' => '#0e0a38'
)
),
array(
'id' => 'footer-area-spacing',
'type' => 'spacing',
'output' => array('.footer-top-area'),
'mode' => 'padding',
'units' => array('px'),
'units_extended' => 'false',
'left' => 'false',
'right' => 'false',
'title' => __('Footer Area Padding', 'omexo'),
'desc' => __('Add padding from here.', 'omexo')
),
array(
'id' => 'footer-sub-sec',
'type' => 'section',
'title' => esc_html__('Widget', 'omexo'),
'indent' => true
),
array(
'id' => 'footer-first-widget-width',
'type' => 'slider',
'title' => __('First Column Widget Width', 'omexo'),
'desc' => __('Set first column widget width from here', 'omexo'),
'default' => 25,
'min' => 20,
'step' => 1,
'max' => 100,
'display_value' => 'label'
),
array(
'id' => 'footer-first-widget-spacing',
'type' => 'spacing',
'output' => array('.footer-widget-wrap:first-child'),
'mode' => 'padding',
'units' => array('px'),
'units_extended' => 'false',
'title' => __('First Column Widget Padding', 'omexo'),
'desc' => __('Add padding from here.', 'omexo')
),
array(
'id' => 'footer-second-widget-width',
'type' => 'slider',
'title' => __('Second Column Widget Width', 'omexo'),
'desc' => __('Set second column widget width from here', 'omexo'),
'default' => 20,
'min' => 20,
'step' => 1,
'max' => 100,
'display_value' => 'label'
),
array(
'id' => 'footer-second-widget-spacing',
'type' => 'spacing',
'output' => array('.footer-wrap:nth-child(2)'),
'mode' => 'padding',
'units' => array('px'),
'units_extended' => 'false',
'title' => __('Second Column Widget Padding', 'omexo'),
'desc' => __('Add padding from here.', 'omexo')
),
array(
'id' => 'footer-third-widget-width',
'type' => 'slider',
'title' => __('Third Column Widget Width', 'omexo'),
'desc' => __('Set third column widget width from here', 'omexo'),
'default' => 30,
'min' => 20,
'step' => 1,
'max' => 100,
'display_value' => 'label'
),
array(
'id' => 'footer-third-widget-spacing',
'type' => 'spacing',
'output' => array('.footer-widget-wrap:nth-child(3)'),
'mode' => 'padding',
'units' => array('px'),
'units_extended' => 'false',
'title' => __('Third Column Widget Padding', 'omexo'),
'desc' => __('Add padding from here.', 'omexo')
),
array(
'id' => 'footer-fourth-widget-width',
'type' => 'slider',
'title' => __('Fourth Column Widget Width', 'omexo'),
'desc' => __('Set fourth column widget width from here ', 'omexo'),
'default' => 25,
'min' => 20,
'step' => 1,
'max' => 100,
'display_value' => 'label'
),
array(
'id' => 'footer-fourth-widget-spacing',
'type' => 'spacing',
'output' => array('.footer-widget-wrap:nth-child(4)'),
'mode' => 'padding',
'units' => array('px'),
'units_extended' => 'false',
'title' => __('Third Column Widget Padding', 'omexo'),
'desc' => __('Add padding from here.', 'omexo')
),
array(
'id' => 'footer-copyright-sec',
'type' => 'section',
'title' => esc_html__( 'Copyright', 'omexo' ),
'indent' => true
),
array(
'id' => 'footer-bottom-area-spacing',
'type' => 'spacing',
'output' => array('.footer-bottom-area'),
'mode' => 'padding',
'units' => array('px'),
'units_extended' => 'false',
'left' => 'false',
'right' => 'false',
'title' => __('Copyright Area Padding', 'omexo'),
'desc' => __('Add padding from here.', 'omexo')
),
array(
'id' => 'footer-copyright-text',
'type' => 'editor',
'title' => esc_html__( 'Copyright Text', 'omexo' ),
'desc' => esc_html__( 'Write copyright text from here', 'omexo' ),
'default' => '© Copy 2021. All Rights Reserved',
'args' => array(
'wpautop' => false,
'media_buttons' => false,
'textarea_rows' => 5,
'teeny' => false
)
),
array(
'id' => 'footer-copyright-bg',
'type' => 'background',
'output' => array( '.footer-bottom-area' ),
'title' => esc_html__( 'Copyright Background Color', 'omexo' ),
'background-repeat' => false,
'background-attachment' => false,
'background-position' => false,
'background-image' => false,
'background-size' => false,
'preview' => false,
'desc' => esc_html__( 'Change copyright area background color from here', 'omexo' ),
'default' => array(
'background-color' => '#0e0a38',
)
)
)
) );
// -> Legacy
Redux::setSection($opt_name, array(
'title' => esc_html__('Legacy', 'omexo'),
'id' => 'legacy-section',
'customizer_width' => '400px',
'icon' => 'dashicons dashicons-image-filter',
'fields' => array(
array(
'id' => 'general-sub-sec',
'type' => 'section',
'indent' => true
),
array(
'id' => 'legacy',
'type' => 'switch',
'title' => esc_html__('Legacy Options (Not Recommended)', 'omexo'),
'desc' => esc_html__('Enable or Disable Legacy options', 'omexo'),
'default' => false
),
)
));
// -> Demo Mode
Redux::setSection($opt_name, array(
'title' => esc_html__('Demo Mode', 'omexo'),
'id' => 'demo-section',
'customizer_width' => '400px',
'icon' => 'dashicons dashicons-align-full-width',
'fields' => array(
array(
'id' => 'general-sub-sec',
'type' => 'section',
'indent' => true
),
array(
'id' => 'demo-mode',
'type' => 'switch',
'title' => esc_html__('Demo Mode', 'omexo'),
'desc' => esc_html__('This is only for demo purpose.', 'omexo'),
'default' => false
),
)
));