', esc_html__('Theme Layout', 'busicare') . '';
$name = '_customize-layout-radio-' . $this->id;
foreach ($this->choices as $key => $value) {
?>
add_setting(
'busicare_layout_style', array(
'default' => 'wide',
'capability' => 'edit_theme_options',
'sanitize_callback' => 'busicare_sanitize_radio',
));
$wp_customize->add_control(new WP_style_layout_Customize_Control($wp_customize, 'busicare_layout_style',
array(
'label' => esc_html__('Layout style', 'busicare'),
'section' => 'theme_style',
'type' => 'radio',
'choices' => array(
'wide' => 'wide.png',
'boxed' => 'boxed.png',
)
)));
/* Theme Style settings */
$wp_customize->add_section( 'theme_style' , array(
'title' => esc_html__('Theme Style Settings', 'busicare'),
'priority' => 110,
) );
// enable / disable custom color settings
$wp_customize->add_setting('custom_color_enable', array(
'capability' => 'edit_theme_options',
'default' => false,
'sanitize_callback' => 'busicare_sanitize_checkbox',
));
$wp_customize->add_control('custom_color_enable',array(
'type' => 'checkbox',
'label' => esc_html__('Enable custom color skin','busicare'),
'section' => 'theme_style',
)
);
// link color settings
$wp_customize->add_setting('link_color', array(
'capability' => 'edit_theme_options',
'default' => '#22a2c4',
'sanitize_callback' => 'sanitize_hex_color'
));
$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize,'link_color',
array(
'label' => esc_html__( 'Skin Color', 'busicare' ),
'section' => 'theme_style',
'settings' => 'link_color',
) ) );
}
add_action( 'customize_register', 'busicare_custom_color' );