| 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
/**-------------------------------------------------------------------------------------------------------------------------
* @return array
* header logo config
*/
if ( ! function_exists( 'glaza_theme_options_logo' ) ) {
function glaza_theme_options_logo() {
return array(
'id' => 'glaza_config_section_header_logo',
'title' => esc_html__( 'Logo Options', 'glaza' ),
'desc' => esc_html__( 'upload logos for your website.', 'glaza' ),
'icon' => 'el el-star',
'fields' => array(
array(
'id' => 'section_start_header_logo',
'type' => 'section',
'class' => 'ruby-section-start',
'title' => esc_html__( 'Header Logo Options', 'glaza' ),
'indent' => true
),
array(
'id' => 'header_logo',
'type' => 'media',
'title' => esc_html__( 'Logo Upload', 'glaza' ),
'subtitle' => esc_html__( 'upload your logo (300x90)px, allowed extensions are .jpg, .png and .gif.', 'glaza' )
),
array(
'id' => 'header_logo_retina',
'type' => 'media',
'title' => esc_html__( 'Logo Retina Upload', 'glaza' ),
'subtitle' => esc_html__( 'upload your retina logo (520x180)px, allowed extensions are .jpg, .png and .gif.', 'glaza' )
),
array(
'id' => 'header_logo_mobile',
'type' => 'media',
'title' => esc_html__( 'Mobile Logo Upload', 'glaza' ),
'subtitle' => esc_html__( 'upload logo for displaying on mobile devices(300x90)px, allowed extensions are .jpg, .png and .gif.', 'glaza' )
),
array(
'id' => 'section_end_header_logo',
'type' => 'section',
'class' => 'ruby-section-end',
'indent' => false
),
array(
'id' => 'section_start_header_logo_alt',
'type' => 'section',
'class' => 'ruby-section-start',
'title' => esc_html__( 'Attribute options', 'glaza' ),
'indent' => true
),
array(
'id' => 'header_logo_title',
'type' => 'text',
'title' => esc_html__( 'Logo Title Attribute', 'glaza' ),
'subtitle' => esc_html__( 'Input a title attribute for the logo, Most browsers will show a tooltip with this text when users hover on your logo.', 'glaza' ),
'default' => '',
),
array(
'id' => 'header_logo_alt',
'type' => 'text',
'title' => esc_html__( 'Logo Alt Attribute ', 'glaza' ),
'subtitle' => esc_html__( 'Input an alt attribute for the logo, This text cannot display. It is useful for SEO and generally is the name of the site.', 'glaza' ),
'default' => '',
),
array(
'id' => 'section_end_header_logo_alt',
'type' => 'section',
'class' => 'ruby-section-end no-border',
'indent' => false
)
)
);
}
}