sections[] = array(
'title' => esc_html__('Header', 'blogup'),
'desc' => esc_html__('Change the header section configuration.', 'blogup'),
'icon' => 'fa fa-window-maximize',
'fields' => array(
array(
'id' => 'header-enable-sticky-switch',
'type' => 'switch',
'title' => esc_html__('Enable Sticky Header', 'blogup'),
'options' => array(
'1' => 'On',
'0' => 'Off',
),
'default' => '1',
'subtitle' => esc_html__('If on, header will be sticky.', 'blogup'),
),
array(
'id' => 'random-number',
'type' => 'info',
'desc' => '
Ads Module
',
'required' => array('header-template', 'equals', array('header-style1', 'header-style2', 'header-style3', 'header-style4', 'header-style6', 'header-style11', 'header-style13')),
),
array(
'id' =>'header-ads-content',
'type' => 'textarea',
'title' => esc_html__('Your Header Ads', 'blogup'),
'allowed_html' => true,
'desc' => wp_kses_data('Paste your ad code here. Google adsense will be made responsive automatically. To add non adsense responsive ads,
click here', 'blogup'),
'required' => array('header-template', 'equals', array('header-style1', 'header-style2', 'header-style3', 'header-style4', 'header-style6', 'header-style11', 'header-style13')),
'default' => '',
),
array(
'id' => 'header-social-icons-category',
'type' => 'select',
'title' => esc_html__('Social Icons Category', 'blogup'),
'subtitle' => esc_html__('Select desired category', 'blogup'),
'options' => blogup_get_terms_assoc('social-site-category'),
'default' => '',
'required' => array('header-template', 'equals', array('menu-left-with-social-right', 'menu-right-with-social')),
),
array(
'id' => 'random-number',
'type' => 'info',
'desc' => 'Logo Module
'
),
array(
'id'=>'logo',
'type' => 'media',
'url' => true,
'title' => esc_html__('Logo', 'blogup'),
'subtitle' => esc_html__('Upload the logo that will be displayed in the header.', 'blogup'),
),
array(
'id' =>'logo-width',
'type' => 'text',
'title' => esc_html__('Width', 'blogup'),
'default' => '',
'desc' => 'Enter logo width or type "auto" (optional)'
),
array(
'id' =>'logo-height',
'type' => 'text',
'title' => esc_html__('Height', 'blogup'),
'default' => '',
'desc' => 'Enter logo height or type "auto" (optional)'
),
array(
'id'=>'logo-2x',
'type' => 'media',
'url' => true,
'title' => esc_html__('Logo Retina (@2x)', 'blogup'),
'subtitle' => esc_html__('Upload the logo that will be displayed in the header.', 'blogup'),
),
array(
'id' =>'logo-text',
'type' => 'text',
'title' => esc_html__('Logo Text', 'blogup'),
),
array(
'id'=>'side-header-logo',
'type' => 'media',
'url' => true,
'title' => esc_html__('Side Header Logo', 'blogup'),
'subtitle' => esc_html__('Upload the logo that will be displayed in the side header.', 'blogup'),
),
), // #fields
);