| 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
/**
* this is general config
*/
if ( ! function_exists( 'glaza_theme_options_general' ) ) {
function glaza_theme_options_general() {
return array(
'id' => 'glaza_config_section_general',
'title' => esc_html__( 'General Options', 'glaza' ),
'desc' => esc_html__( 'Select general options for your website.', 'glaza' ),
'icon' => 'el el-icon-globe',
'fields' => array(
array(
'id' => 'section_start_options_general',
'type' => 'section',
'class' => 'ruby-section-start',
'title' => esc_html__( 'General Options', 'glaza' ),
'indent' => true,
),
array(
'id' => 'site_breadcrumb',
'type' => 'switch',
'title' => esc_html__( 'Breadcrumbs bar', 'glaza' ),
'subtitle' => esc_html__( 'Breadcrumbs are a hierarchy of links displayed below the main navigation. This option requests the "Breadcrumb NavXT"', 'glaza' ),
'default' => 1,
),
array(
'id' => 'site_tooltips',
'type' => 'switch',
'title' => esc_html__( 'Social Tooltips', 'glaza' ),
'subtitle' => esc_html__( 'enable or disable tooltips on social icons when hovering on icons.', 'glaza' ),
'switch' => true,
'default' => 1
),
array(
'id' => 'site_tooltips_touch',
'type' => 'switch',
'title' => esc_html__( 'Tooltips on Touch Devices', 'glaza' ),
'subtitle' => esc_html__( 'enable or disable tooltip on touch devices', 'glaza' ),
'desc' => esc_html__( 'Tooltips are always disabled on IOS devices due to performance.', 'glaza' ),
'default' => 0,
),
array(
'id' => 'gif_support',
'type' => 'switch',
'title' => esc_html__( 'GIF Support', 'glaza' ),
'subtitle' => esc_html__( 'Enable or disable GIF image support.', 'glaza' ),
'default' => 1
),
array(
'id' => 'slider_play',
'type' => 'switch',
'title' => esc_html__( 'Slider Autoplay', 'glaza' ),
'subtitle' => esc_html__( 'enable or disable autoplay for all slider in your website.', 'glaza' ),
'switch' => true,
'default' => 1
),
array(
'id' => 'slider_speed',
'type' => 'text',
'validate' => 'numeric',
'title' => esc_html__( 'Slider Play Speed', 'glaza' ),
'subtitle' => esc_html__( 'select slider play speed in milliseconds (default is 5500).', 'glaza' ),
'default' => ''
),
array(
'id' => 'smooth_display',
'type' => 'switch',
'title' => esc_html__( 'Smooth Display', 'glaza' ),
'subtitle' => esc_html__( 'Adding fade to display featured images when scrolling down.', 'glaza' ),
'switch' => true,
'default' => 0
),
array(
'id' => 'nonce_ajax',
'type' => 'switch',
'title' => esc_html__( 'Ajax Security Check', 'glaza' ),
'subtitle' => esc_html__( 'Enable or disable ajax security Check. Please disable this option if you have a plan to use a cache plugin.', 'glaza' ),
'switch' => true,
'default' => 0
),
array(
'id' => 'section_end_options_general',
'type' => 'section',
'class' => 'ruby-section-end',
'indent' => false,
),
array(
'id' => 'section_start_open_graph',
'type' => 'section',
'class' => 'ruby-section-start',
'title' => esc_html__( 'SEO Options', 'glaza' ),
'indent' => true,
),
array(
'id' => 'open_graph',
'type' => 'switch',
'title' => esc_html__( 'Open Graph', 'glaza' ),
'subtitle' => esc_html__( 'enable or disable Open Graph, Disable this option if you want to use a 3rd party plugin.', 'glaza' ),
'switch' => true,
'default' => 1
),
array(
'id' => 'app_id',
'type' => 'text',
'required' => array( 'open_graph', '=', '1' ),
'title' => esc_html__( 'Facebook APP ID', 'glaza' ),
'subtitle' => esc_html__( 'input your facebook app ID.', 'glaza' ),
'default' => ''
),
array(
'id' => 'microdata_markup',
'type' => 'switch',
'title' => esc_html__( 'Microdata Markup', 'glaza' ),
'subtitle' => esc_html__( 'enable or disable microdata markup(schema) for single posts. Disable this option if you want to use 3rd party plugin.', 'glaza' ),
'switch' => true,
'default' => 1
),
array(
'id' => 'section_end_meta_open_graph',
'type' => 'section',
'class' => 'ruby-section-end',
'indent' => false,
),
array(
'id' => 'section_start_bookmarklet',
'type' => 'section',
'class' => 'ruby-section-start',
'title' => esc_html__( 'Bookmarklet Icon Options', 'glaza' ),
'indent' => true,
),
array(
'id' => 'icon_touch_apple',
'type' => 'media',
'title' => esc_html__( 'iOS Bookmarklet Icon', 'glaza' ),
'subtitle' => esc_html__( 'Upload icon for the Apple touch (72 x 72px), allowed extensions are .jpg, .png, .gif', 'glaza' ),
'desc' => esc_html__( '72 x 72px', 'glaza' )
),
array(
'id' => 'icon_touch_metro',
'type' => 'media',
'title' => esc_html__( 'Metro UI Bookmarklet Icon', 'glaza' ),
'subtitle' => esc_html__( 'Upload icon for the Metro interface (144 x 144px), allowed extensions are .jpg, .png, .gif', 'glaza' ),
'desc' => esc_html__( '144 x 144px', 'glaza' )
),
array(
'id' => 'section_end_bookmarklet',
'type' => 'section',
'class' => 'ruby-section-end no-border',
'indent' => false,
)
)
);
}
}