| Server IP : 213.186.33.4 / Your IP : 216.73.216.222 Web Server : Apache System : Linux webm005.cluster103.gra.hosting.ovh.net 6.18.39-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Tue Jul 21 12:03:15 CEST 2026 x86_64 User : karinebmkh ( 644538) PHP Version : 8.4.22 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/karinebmkh/www2/wp-content/themes/glaza/theme_options/ |
Upload File : |
<?php
if ( ! function_exists( 'glaza_theme_options_header' ) ) {
function glaza_theme_options_header() {
return array(
'id' => 'glaza_config_section_header',
'title' => esc_html__( 'Header Options', 'glaza' ),
'desc' => esc_html__( 'select option for the header.', 'glaza' ),
'icon' => 'el el-th',
'fields' => array(
array(
'id' => 'section_start_header_style',
'type' => 'section',
'class' => 'ruby-section-start',
'title' => esc_html__( 'Header Style Options', 'glaza' ),
'indent' => true
),
array(
'id' => 'header_style',
'type' => 'select',
'title' => esc_html__( 'Header Style', 'glaza' ),
'subtitle' => esc_html__( 'Select style for the header', 'glaza' ),
'options' => array(
'1' => esc_html__( '-- Default --', 'glaza' ),
'2' => esc_html__( 'Left Logo & Navigation', 'glaza' )
),
'default' => 1
),
array(
'id' => 'section_end_header_style',
'type' => 'section',
'class' => 'ruby-section-end',
'indent' => false
),
array(
'id' => 'section_start_main_navigation',
'type' => 'section',
'class' => 'ruby-section-start',
'title' => esc_html__( 'Navigation Options', 'glaza' ),
'indent' => true
),
array(
'id' => 'navbar_sticky',
'type' => 'switch',
'title' => esc_html__( 'Sticky Navigation', 'glaza' ),
'subtitle' => esc_html__( 'enable or disable the sticky feature for the main navigation.', 'glaza' ),
'default' => 1
),
array(
'id' => 'navbar_sticky_smart',
'type' => 'switch',
'title' => esc_html__( 'Smart Sticky', 'glaza' ),
'subtitle' => esc_html__( 'only stick the main navigation when scrolling up.', 'glaza' ),
'default' => 0
),
array(
'id' => 'navbar_social',
'type' => 'switch',
'title' => esc_html__( 'Social Icons', 'glaza' ),
'subtitle' => esc_html__( 'enable or disable social icons at the left of the main navigation bar.', 'glaza' ),
'default' => 0
),
array(
'id' => 'navbar_subscribe',
'type' => 'switch',
'title' => esc_html__( 'Subscribe Icon', 'glaza' ),
'subtitle' => esc_html__( 'enable or disable the subscribe icon at the left of the main navigation bar.', 'glaza' ),
'default' => 0
),
array(
'id' => 'navbar_cart',
'type' => 'switch',
'title' => esc_html__( 'Cart Icon', 'glaza' ),
'subtitle' => esc_html__( 'enable or disable the cart icon at the right of the main navigation bar.', 'glaza' ),
'default' => 1
),
array(
'id' => 'navbar_search',
'type' => 'switch',
'title' => esc_html__( 'Search Icon', 'glaza' ),
'subtitle' => esc_html__( 'enable or disable the search icon at the right of the main navigation bar.', 'glaza' ),
'default' => 1
),
array(
'id' => 'navbar_mobile_search',
'type' => 'switch',
'title' => esc_html__( 'Search Icon on Mobile', 'glaza' ),
'subtitle' => esc_html__( 'enable or disable search icon at the right of the main navigation bar on mobile devices.', 'glaza' ),
'default' => 1
),
array(
'id' => 'section_end_main_navigation',
'type' => 'section',
'class' => 'ruby-section-end',
'indent' => false
),
array(
'id' => 'section_start_header_offcanvas',
'type' => 'section',
'class' => 'ruby-section-start',
'title' => esc_html__( 'Off-Canvas Options', 'glaza' ),
'indent' => true
),
array(
'id' => 'off_canvas_style',
'type' => 'select',
'title' => esc_html__( 'Off-canvas Style', 'glaza' ),
'subtitle' => esc_html__( 'select a style for the off-canvas section.', 'glaza' ),
'options' => array(
'dark' => esc_html__( 'Dark Style', 'glaza' ),
'light' => esc_html__( 'Light Style', 'glaza' )
),
'default' => 'dark'
),
array(
'id' => 'off_canvas_social',
'type' => 'switch',
'title' => esc_html__( 'Social Icons', 'glaza' ),
'subtitle' => esc_html__( 'enable or disable social icons in the off-canvas section.', 'glaza' ),
'default' => 1
),
array(
'id' => 'off_canvas_subscribe',
'type' => 'switch',
'title' => esc_html__( 'Subscribe Icon', 'glaza' ),
'subtitle' => esc_html__( 'enable or disable the subscribe icon in the off-canvas section. This option', 'glaza' ),
'default' => 0
),
array(
'id' => 'off_canvas_widget_section',
'type' => 'switch',
'title' => esc_html__( 'Widgets Section', 'glaza' ),
'subtitle' => esc_html__( 'enable or disable widgets section in Off-canvas section.', 'glaza' ),
'default' => 1
),
array(
'id' => 'section_end_header_offcanvas',
'type' => 'section',
'class' => 'ruby-section-end no-border',
'indent' => false
),
array(
'id' => 'section_start_header_subscribe',
'type' => 'section',
'class' => 'ruby-section-start',
'title' => esc_html__( 'Default Subscribe Options', 'glaza' ),
'indent' => true
),
array(
'id' => 'header_subscribe_text',
'type' => 'text',
'title' => esc_html__( 'Subscribe Text', 'glaza' ),
'subtitle' => esc_html__( 'input your subscribe text.', 'glaza' ),
'default' => 'Subscribe'
),
array(
'id' => 'header_subscribe_url',
'type' => 'text',
'title' => esc_html__( 'Subscribe URL', 'glaza' ),
'subtitle' => esc_html__( 'input your subscribe destination URL.', 'glaza' ),
'default' => '#'
),
array(
'id' => 'section_end_header_subscribe',
'type' => 'section',
'class' => 'ruby-section-end no-border',
'indent' => false
),
)
);
}
}