add_section( 'alley_themes_customize_register_footer_options_section', array( 'title' => esc_html__( 'Footer Options', 'alley-themes' ), 'description' => esc_html__( 'Footer widget title Fonts :', 'alley-themes' ), 'priority' => 18, ) ); $wp_customize->add_setting( 'footer_font_family', array( 'transport' => 'postMessage', 'default' => 'Montserrat', 'sanitize_callback' => 'alley_themes_sanitize_google_fonts', ) ); $wp_customize->add_control( 'footer_font_family', array( 'settings' => 'footer_font_family', 'label' => esc_html__( 'Choose Font', 'alley-themes' ), 'section' => 'alley_themes_customize_register_footer_options_section', 'type' => 'select', 'choices' => google_fonts(), ) ); $choices = array( 'one' => get_template_directory_uri() . '/images/homepage/footer-layouts/footer-layout-one.jpg', ); $wp_customize->add_setting( 'alley_themes_footer_layouts', array( 'sanitize_callback' => 'alley_themes_sanitize_choices', 'default' => 'one', ) ); $wp_customize->add_control( new Alley_Themes_Radio_Image_Control( $wp_customize, 'alley_themes_footer_layouts', array( 'label' => esc_html__( 'Footer Layout', 'alley-themes' ), 'section' => 'alley_themes_customize_register_footer_options_section', 'settings' => 'alley_themes_footer_layouts', 'type' => 'radio-image', 'choices' => $choices, ) ) ); }