| 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_social_profile' ) ) {
function glaza_theme_options_social_profile() {
return array(
'id' => 'social_theme_options_section_social_profile',
'title' => esc_html__( 'Social Profiles', 'glaza' ),
'icon' => 'el el-twitter',
'desc' => esc_html__( 'options below for setting up the sites socials. To add users/authors socials, go to the Users -> your site profile.', 'glaza' ),
'fields' => array(
array(
'id' => 'section_start_social_profile',
'type' => 'section',
'class' => 'ruby-section-start',
'title' => esc_html__( 'Social Profiles Options', 'glaza' ),
'indent' => true
),
array(
'id' => 'social_facebook',
'type' => 'text',
'title' => esc_html__( 'Facebook URL', 'glaza' ),
'subtitle' => esc_html__( 'input your site profile URL, Leave blank if you want to disable it.', 'glaza' ),
'default' => ''
),
array(
'id' => 'social_twitter',
'type' => 'text',
'title' => esc_html__( 'Twitter URL', 'glaza' ),
'subtitle' => esc_html__( 'input your site profile URL, Leave blank if you want to disable it.', 'glaza' ),
'default' => ''
),
array(
'id' => 'social_googleplus',
'type' => 'text',
'title' => esc_html__( 'Google Plus URL', 'glaza' ),
'subtitle' => esc_html__( 'input your site profile URL, Leave blank if you want to disable it.', 'glaza' ),
'default' => ''
),
array(
'id' => 'social_instagram',
'type' => 'text',
'title' => esc_html__( 'Instagram URL', 'glaza' ),
'subtitle' => esc_html__( 'input your site profile URL, Leave blank if you want to disable it.', 'glaza' ),
'default' => ''
),
array(
'id' => 'social_pinterest',
'type' => 'text',
'title' => esc_html__( 'Pinterest URL', 'glaza' ),
'subtitle' => esc_html__( 'input your site profile URL, Leave blank if you want to disable it.', 'glaza' ),
'default' => ''
),
array(
'id' => 'social_linkedin',
'type' => 'text',
'title' => esc_html__( 'LinkedIn URL', 'glaza' ),
'subtitle' => esc_html__( 'input your site profile URL, Leave blank if you want to disable it.', 'glaza' )
),
array(
'id' => 'social_tumblr',
'type' => 'text',
'title' => esc_html__( 'Tumblr URL ', 'glaza' ),
'subtitle' => esc_html__( 'input your site profile URL, Leave blank if you want to disable it.', 'glaza' )
),
array(
'id' => 'social_flickr',
'type' => 'text',
'title' => esc_html__( 'Flickr URL', 'glaza' ),
'subtitle' => esc_html__( 'input your site profile URL, Leave blank if you want to disable it.', 'glaza' )
),
array(
'id' => 'social_skype',
'type' => 'text',
'title' => esc_html__( 'Skype URL', 'glaza' ),
'subtitle' => esc_html__( 'input your site profile URL, Leave blank if you want to disable it.', 'glaza' )
),
array(
'id' => 'social_snapchat',
'type' => 'text',
'title' => esc_html__( 'Snapchat URL', 'glaza' ),
'subtitle' => esc_html__( 'input your site profile URL, Leave blank if you want to disable it.', 'glaza' )
),
array(
'id' => 'social_myspace',
'type' => 'text',
'title' => esc_html__( 'Myspace URL', 'glaza' ),
'subtitle' => esc_html__( 'input your site profile URL, Leave blank if you want to disable it.', 'glaza' )
),
array(
'id' => 'social_youtube',
'type' => 'text',
'title' => esc_html__( 'Youtube URL ', 'glaza' ),
'subtitle' => esc_html__( 'input your site profile URL, Leave blank if you want to disable it.', 'glaza' )
),
array(
'id' => 'social_bloglovin',
'type' => 'text',
'title' => esc_html__( 'Bloglovin URL', 'glaza' ),
'subtitle' => esc_html__( 'input your site profile URL, Leave blank if you want to disable it.', 'glaza' )
),
array(
'id' => 'social_digg',
'type' => 'text',
'title' => esc_html__( 'Digg URL', 'glaza' ),
'subtitle' => esc_html__( 'input your site profile URL, Leave blank if you want to disable it.', 'glaza' )
),
array(
'id' => 'social_dribbble',
'type' => 'text',
'title' => esc_html__( 'Dribbble URL', 'glaza' ),
'subtitle' => esc_html__( 'input your site profile URL, Leave blank if you want to disable it.', 'glaza' )
),
array(
'id' => 'social_soundcloud',
'type' => 'text',
'title' => esc_html__( 'Soundcloud URL', 'glaza' ),
'subtitle' => esc_html__( 'input your site profile URL, Leave blank if you want to disable it.', 'glaza' )
),
array(
'id' => 'social_vimeo',
'type' => 'text',
'title' => esc_html__( 'Vimeo URL ', 'glaza' ),
'subtitle' => esc_html__( 'input your site profile URL, Leave blank if you want to disable it.', 'glaza' )
),
array(
'id' => 'social_reddit',
'type' => 'text',
'title' => esc_html__( 'Reddit URL ', 'glaza' ),
'subtitle' => esc_html__( 'input your site profile URL, Leave blank if you want to disable it.', 'glaza' )
),
array(
'id' => 'social_vk',
'type' => 'text',
'title' => esc_html__( 'VKontakte URL ', 'glaza' ),
'subtitle' => esc_html__( 'input your site profile URL, Leave blank if you want to disable it.', 'glaza' )
),
array(
'id' => 'social_whatsapp',
'type' => 'text',
'title' => esc_html__( 'Whatsapp URL ', 'glaza' ),
'subtitle' => esc_html__( 'input your site profile URL, Leave blank if you want to disable it.', 'glaza' )
),
array(
'id' => 'social_rss',
'type' => 'text',
'title' => esc_html__( 'Rss URL ', 'glaza' ),
'subtitle' => esc_html__( 'input your site profile URL, Leave blank if you want to disable it.', 'glaza' )
),
array(
'id' => 'section_end_social_profile',
'type' => 'section',
'class' => 'ruby-section-end',
'indent' => false
),
array(
'id' => 'section_start_social_profile_custom',
'type' => 'section',
'class' => 'ruby-section-start',
'title' => esc_html__( 'Custom Social Profiles Options', 'glaza' ),
'indent' => true
),
//social 1
array(
'id' => 'social_custom_1_url',
'type' => 'text',
'validate' => 'url',
'title' => esc_html__( 'Custom social 1 - URL', 'glaza' ),
'subtitle' => esc_html__( 'input your site profile URL.', 'glaza' )
),
array(
'id' => 'social_custom_1_name',
'type' => 'text',
'title' => esc_html__( 'Custom Social 1 - Name', 'glaza' ),
'subtitle' => esc_html__( 'input the name of the social, for example: facebook, twitter.', 'glaza' )
),
array(
'id' => 'social_custom_1_icon',
'type' => 'text',
'title' => esc_html__( 'Custom Social 1 - Icon', 'glaza' ),
'subtitle' => esc_html__( 'input the name of font icon, for example: fa-facebook. Glaza supports font awesome icons, you can find all icons here: https://fontawesome.com/v4.7.0/icons/', 'glaza' ),
'default' => '',
),
array(
'id' => 'social_custom_1_color',
'type' => 'color',
'transparent' => false,
'validate' => 'color',
'title' => esc_html__( 'Custom Social 1 - Color', 'glaza' ),
'subtitle' => esc_html__( 'select a color for this social icon.', 'glaza' )
),
//social 2
array(
'id' => 'social_custom_2_url',
'type' => 'text',
'validate' => 'url',
'title' => esc_html__( 'Custom social 2 - URL', 'glaza' ),
'subtitle' => esc_html__( 'input your site profile URL.', 'glaza' )
),
array(
'id' => 'social_custom_2_name',
'type' => 'text',
'title' => esc_html__( 'Custom Social 2 - Name', 'glaza' ),
'subtitle' => esc_html__( 'input the name of the social, for example: facebook, twitter.', 'glaza' )
),
array(
'id' => 'social_custom_2_icon',
'type' => 'text',
'title' => esc_html__( 'Custom Social 2 - Icon', 'glaza' ),
'subtitle' => esc_html__( 'input the name of font icon, for example: fa-facebook. Glaza supports font awesome icons, you can find all icons here: https://fontawesome.com/v4.7.0/icons/', 'glaza' ),
'default' => '',
),
array(
'id' => 'social_custom_2_color',
'type' => 'color',
'transparent' => false,
'validate' => 'color',
'title' => esc_html__( 'Custom Social 2 - Color', 'glaza' ),
'subtitle' => esc_html__( 'select a color for this social icon.', 'glaza' )
),
//social 3
array(
'id' => 'social_custom_3_url',
'type' => 'text',
'validate' => 'url',
'title' => esc_html__( 'Custom social 3 - URL', 'glaza' ),
'subtitle' => esc_html__( 'input your site profile URL.', 'glaza' )
),
array(
'id' => 'social_custom_3_name',
'type' => 'text',
'title' => esc_html__( 'Custom Social 3 - Name', 'glaza' ),
'subtitle' => esc_html__( 'input the name of the social, for example: facebook, twitter.', 'glaza' )
),
array(
'id' => 'social_custom_3_icon',
'type' => 'text',
'title' => esc_html__( 'Custom Social 3 - Icon', 'glaza' ),
'subtitle' => esc_html__( 'input the name of font icon, for example: fa-facebook. Glaza supports font awesome icons, you can find all icons here: https://fontawesome.com/v4.7.0/icons/', 'glaza' ),
'default' => '',
),
array(
'id' => 'social_custom_3_color',
'type' => 'color',
'transparent' => false,
'validate' => 'color',
'title' => esc_html__( 'Custom Social 3 - Color', 'glaza' ),
'subtitle' => esc_html__( 'select a color for this social icon.', 'glaza' )
),
array(
'id' => 'section_end_social_profile_custom',
'type' => 'section',
'class' => 'ruby-section-end no-border',
'indent' => false
),
)
);
}
}