<?php
/**
 * Footer Theme Options
 *
 * @package voltmaster-electrician
 */

$wp_customize->add_section( 'voltmaster_electrician_footer_section' , array(
	'title'      => esc_html__( 'Footer Section', 'voltmaster-electrician' ),
	'capability' => 'edit_theme_options',
	'panel' => 'voltmaster_electrician_theme_section_panel'
) );

// Theme Name
$wp_customize->add_setting('voltmaster_electrician_foot_themename', array(
    'default' => "© 2025 ElectricPro. All rights reserved.",
    'sanitize_callback' => 'voltmaster_electrician_sanitise_custom_texttitle',
));

$wp_customize->add_control('voltmaster_electrician_foot_themename', array(
    'label'    => __('Theme Name', 'voltmaster-electrician'),
    'section'  => 'voltmaster_electrician_footer_section',
    'settings' => 'voltmaster_electrician_foot_themename',
    'type'     => 'text',
));

























// Footer icons 1
$wp_customize->add_setting('voltmaster_electrician_foot_featured_icon_footer1', 
    array(
    'default'           => 'fa-brands fa-facebook-f',
    'type'              => 'theme_mod',
    'capability'        => 'edit_theme_options',    
    'sanitize_callback' => 'sanitize_text_field'
));
$wp_customize->add_control('voltmaster_electrician_foot_featured_icon_footer1', 
    array(
    'label'       => __('Icon 1', 'voltmaster-electrician'),
    'section'     => 'voltmaster_electrician_footer_section',   
    'settings'    => 'voltmaster_electrician_foot_featured_icon_footer1',        
    'type'        => 'text'
));

// Footer icons 1 Url
$wp_customize->add_setting('voltmaster_electrician_featured_icon_url_footer1', 
    array(
    'default'           => ' ', 
    'sanitize_callback' => 'sanitize_text_field'
));
$wp_customize->add_control('voltmaster_electrician_featured_icon_url_footer1', 
    array(
    'label'       => __('Icon 1 Url', 'voltmaster-electrician'),
    'section'     => 'voltmaster_electrician_footer_section',   
    'settings'    => 'voltmaster_electrician_featured_icon_url_footer1',        
    'type'        => 'text'
));

// Footer icons 2
$wp_customize->add_setting('voltmaster_electrician_foot_featured_icon_footer2', 
    array(
    'default'           => 'fa-brands fa-twitter',
    'type'              => 'theme_mod',
    'capability'        => 'edit_theme_options',    
    'sanitize_callback' => 'sanitize_text_field'
));
$wp_customize->add_control('voltmaster_electrician_foot_featured_icon_footer2', 
    array(
    'label'       => __('Icon 2', 'voltmaster-electrician'),
    'section'     => 'voltmaster_electrician_footer_section',   
    'settings'    => 'voltmaster_electrician_foot_featured_icon_footer2',        
    'type'        => 'text'
));

// Footer icons 2 Url
$wp_customize->add_setting('voltmaster_electrician_featured_icon_url_footer2', 
    array(
    'default'           => ' ', 
    'sanitize_callback' => 'sanitize_text_field'
));
$wp_customize->add_control('voltmaster_electrician_featured_icon_url_footer2', 
    array(
    'label'       => __('Icon 2 Url', 'voltmaster-electrician'),
    'section'     => 'voltmaster_electrician_footer_section',   
    'settings'    => 'voltmaster_electrician_featured_icon_url_footer2',        
    'type'        => 'text'
));

// Footer icons 3
$wp_customize->add_setting('voltmaster_electrician_foot_featured_icon_footer3', 
    array(
    'default'           => 'fa-brands fa-instagram',
    'type'              => 'theme_mod',
    'capability'        => 'edit_theme_options',    
    'sanitize_callback' => 'sanitize_text_field'
));
$wp_customize->add_control('voltmaster_electrician_foot_featured_icon_footer3', 
    array(
    'label'       => __('Icon 3', 'voltmaster-electrician'),
    'section'     => 'voltmaster_electrician_footer_section',   
    'settings'    => 'voltmaster_electrician_foot_featured_icon_footer3',        
    'type'        => 'text'
));

// Footer icons 3 Url
$wp_customize->add_setting('voltmaster_electrician_featured_icon_url_footer3', 
    array(
    'default'           => ' ', 
    'sanitize_callback' => 'sanitize_text_field'
));
$wp_customize->add_control('voltmaster_electrician_featured_icon_url_footer3', 
    array(
    'label'       => __('Icon 3 Url', 'voltmaster-electrician'),
    'section'     => 'voltmaster_electrician_footer_section',   
    'settings'    => 'voltmaster_electrician_featured_icon_url_footer3',        
    'type'        => 'text'
));

// Footer icons 4
$wp_customize->add_setting('voltmaster_electrician_foot_featured_icon_footer4', 
    array(
    'default'           => 'fa-brands fa-instagram',
    'type'              => 'theme_mod',
    'capability'        => 'edit_theme_options',    
    'sanitize_callback' => 'sanitize_text_field'
));
$wp_customize->add_control('voltmaster_electrician_foot_featured_icon_footer4', 
    array(
    'label'       => __('Icon 4', 'voltmaster-electrician'),
    'section'     => 'voltmaster_electrician_footer_section',   
    'settings'    => 'voltmaster_electrician_foot_featured_icon_footer4',        
    'type'        => 'text'
));

// Footer icons 4 Url
$wp_customize->add_setting('voltmaster_electrician_featured_icon_url_footer4', 
    array(
    'default'           => ' ', 
    'sanitize_callback' => 'sanitize_text_field'
));
$wp_customize->add_control('voltmaster_electrician_featured_icon_url_footer4', 
    array(
    'label'       => __('Icon 4 Url', 'voltmaster-electrician'),
    'section'     => 'voltmaster_electrician_footer_section',   
    'settings'    => 'voltmaster_electrician_featured_icon_url_footer4',        
    'type'        => 'text'
));