}
}
// Image overlay
$wp_customize->add_setting('enable_brd_link_clr_setting', array(
'default' => false,
'sanitize_callback' => 'busicare_sanitize_checkbox',
));
$wp_customize->add_control('enable_brd_link_clr_setting', array(
'label' => esc_html__('Click here to apply the below color settings', 'busicare'),
'section' => 'banner_color_settings',
'type' => 'checkbox',
));
$wp_customize->add_setting(
'breadcrumb_title_color',
array(
'capability' => 'edit_theme_options',
'sanitize_callback' => 'sanitize_text_field',
)
);
$wp_customize->add_control(new WP_Breadcrumb_Color_Customize_Control($wp_customize, 'breadcrumb_title_color', array(
'section' => 'banner_color_settings',
'setting' => 'breadcrumb_title_color',
))
);
//Breadcrumb title link color
$wp_customize->add_setting('breadcrumb_title_link_color', array(
'default' => '#ffffff',
'sanitize_callback' => 'sanitize_hex_color',
));
$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'breadcrumb_title_link_color', array(
'label' => esc_html__('Link Color', 'busicare'),
'section' => 'banner_color_settings',
'settings' => 'breadcrumb_title_link_color',)
));
//Breadcrumb title link hover color
$wp_customize->add_setting('breadcrumb_title_link_hover_color', array(
'default' => '#22a2c4',
'sanitize_callback' => 'sanitize_hex_color',
));
$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'breadcrumb_title_link_hover_color', array(
'label' => esc_html__('Link Hover Color', 'busicare'),
'section' => 'banner_color_settings',
'settings' => 'breadcrumb_title_link_hover_color',)
));
/* ------------------------------------------------ */
/* Content Color Settings */
$wp_customize->add_section('content_color_settings', array(
'title' => esc_html__('Content', 'busicare'),
'panel' => 'colors_back_settings',
));
//H1 color
$wp_customize->add_setting('h1_color', array(
'default' => '#1c314c',
'sanitize_callback' => 'sanitize_hex_color',
));
$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'h1_color', array(
'label' => esc_html__('H1 Color', 'busicare'),
'section' => 'content_color_settings',
'settings' => 'h1_color',)
));
//H2 color
$wp_customize->add_setting('h2_color', array(
'default' => '#1c314c',
'sanitize_callback' => 'sanitize_hex_color',
));
$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'h2_color', array(
'label' => esc_html__('H2 Color', 'busicare'),
'section' => 'content_color_settings',
'settings' => 'h2_color',)
));
//H3 color
$wp_customize->add_setting('h3_color', array(
'default' => '#1c314c',
'sanitize_callback' => 'sanitize_hex_color',
));
$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'h3_color', array(
'label' => esc_html__('H3 Color', 'busicare'),
'section' => 'content_color_settings',
'settings' => 'h3_color',)
));
//H4 color
$wp_customize->add_setting('h4_color', array(
'default' => '#1c314c',
'sanitize_callback' => 'sanitize_hex_color',
));
$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'h4_color', array(
'label' => esc_html__('H4 Color', 'busicare'),
'section' => 'content_color_settings',
'settings' => 'h4_color',)
));
//H5 color
$wp_customize->add_setting('h5_color', array(
'default' => '#1c314c',
'sanitize_callback' => 'sanitize_hex_color',
));
$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'h5_color', array(
'label' => esc_html__('H5 Color', 'busicare'),
'section' => 'content_color_settings',
'settings' => 'h5_color',)
));
//H6 color
$wp_customize->add_setting('h6_color', array(
'default' => '#1c314c',
'sanitize_callback' => 'sanitize_hex_color',
));
$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'h6_color', array(
'label' => esc_html__('H6 Color', 'busicare'),
'section' => 'content_color_settings',
'settings' => 'h6_color',)
));
//P color
$wp_customize->add_setting('p_color', array(
'default' => '#777777',
'sanitize_callback' => 'sanitize_hex_color',
));
$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'p_color', array(
'label' => esc_html__('Paragraph Text Color', 'busicare'),
'section' => 'content_color_settings',
'settings' => 'p_color',)
));
/* ------------------------------------------------ */
/* Sidebar Widget Color Settings */
$wp_customize->add_section('sidebar_widget_color_settings', array(
'title' => esc_html__('Sidebar', 'busicare'),
'panel' => 'colors_back_settings',
));
// enable/disable Callout section from service page
$wp_customize->add_setting(
'apply_sibar_link_hover_clr_enable',
array('capability' => 'edit_theme_options',
'default' => false,
'sanitize_callback' => 'busicare_sanitize_checkbox',
));
$wp_customize->add_control(
'apply_sibar_link_hover_clr_enable',
array(
'type' => 'checkbox',
'label' => esc_html__('Click here to apply the below color settings', 'busicare'),
'section' => 'sidebar_widget_color_settings',
)
);
//Sidebar widget title color
$wp_customize->add_setting('sidebar_widget_title_color', array(
'default' => '#ffffff',
'sanitize_callback' => 'sanitize_hex_color',
));
$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'sidebar_widget_title_color', array(
'label' => esc_html__('Title Color', 'busicare'),
'section' => 'sidebar_widget_color_settings',
'settings' => 'sidebar_widget_title_color',)
));
//Sidebar widget text color
$wp_customize->add_setting('sidebar_widget_text_color', array(
'default' => '#777777',
'sanitize_callback' => 'sanitize_hex_color',
));
$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'sidebar_widget_text_color', array(
'label' => esc_html__('Text Color', 'busicare'),
'section' => 'sidebar_widget_color_settings',
'settings' => 'sidebar_widget_text_color',)
));
//Sidebar widget link color
$wp_customize->add_setting('sidebar_widget_link_color', array(
'default' => '#777777',
'sanitize_callback' => 'sanitize_hex_color',
));
$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'sidebar_widget_link_color', array(
'label' => esc_html__('Link Color', 'busicare'),
'section' => 'sidebar_widget_color_settings',
'settings' => 'sidebar_widget_link_color',)
));
//Sidebar widget link hover color
$wp_customize->add_setting('sidebar_widget_link_hover_color', array(
'default' => '#22a2c4',
'sanitize_callback' => 'sanitize_hex_color',
));
$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'sidebar_widget_link_hover_color', array(
'label' => esc_html__('Link Hover Color', 'busicare'),
'section' => 'sidebar_widget_color_settings',
'settings' => 'sidebar_widget_link_hover_color',)
));
/* ------------------------------------------------ */
/* Footer Widget Color Settings */
$wp_customize->add_section('footer_widget_color_settings', array(
'title' => esc_html__('Footer Widgets', 'busicare'),
'panel' => 'colors_back_settings',
));
// enable/disable Callout section from service page
$wp_customize->add_setting(
'apply_ftrsibar_link_hover_clr_enable',
array('capability' => 'edit_theme_options',
'default' => false,
'sanitize_callback' => 'busicare_sanitize_checkbox',
));
$wp_customize->add_control(
'apply_ftrsibar_link_hover_clr_enable',
array(
'type' => 'checkbox',
'label' => esc_html__('Click here to apply the below color settings', 'busicare'),
'section' => 'footer_widget_color_settings',
)
);
//Footer widget background color
$wp_customize->add_setting('footer_widget_background_color', array(
'default' => '#21202e',
'sanitize_callback' => 'sanitize_hex_color',
));
$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'footer_widget_background_color', array(
'label' => esc_html__('Background Color', 'busicare'),
'section' => 'footer_widget_color_settings',
'settings' => 'footer_widget_background_color',)
));
//Footer widget title color
$wp_customize->add_setting('footer_widget_title_color', array(
'default' => '#22a2c4',
'sanitize_callback' => 'sanitize_hex_color',
));
$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'footer_widget_title_color', array(
'label' => esc_html__('Title Color', 'busicare'),
'section' => 'footer_widget_color_settings',
'settings' => 'footer_widget_title_color',)
));
//Footer widget text color
$wp_customize->add_setting('footer_widget_text_color', array(
'default' => '#fff',
'sanitize_callback' => 'sanitize_hex_color',
));
$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'footer_widget_text_color', array(
'label' => esc_html__('Text Color', 'busicare'),
'section' => 'footer_widget_color_settings',
'settings' => 'footer_widget_text_color',)
));
//Footer widget link color
$wp_customize->add_setting('footer_widget_link_color', array(
'default' => '#ffffff',
'sanitize_callback' => 'sanitize_hex_color',
));
$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'footer_widget_link_color', array(
'label' => esc_html__('Link Color', 'busicare'),
'section' => 'footer_widget_color_settings',
'settings' => 'footer_widget_link_color',)
));
//Footer widget link hover color
$wp_customize->add_setting('footer_widget_link_hover_color', array(
'default' => '#22a2c4',
'sanitize_callback' => 'sanitize_hex_color',
));
$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'footer_widget_link_hover_color', array(
'label' => esc_html__('Link Hover Color', 'busicare'),
'section' => 'footer_widget_color_settings',
'settings' => 'footer_widget_link_hover_color',)
));
}
add_action('customize_register', 'busicare_color_back_settings_customizer');
Fatal error: require(): Failed opening required '/var/www/html/planilhando.com.br/web/forum/wp-content/themes/busicare/inc/customizer/customizer_typography.php' (include_path='.:/usr/share/pear') in /var/www/html/planilhando.com.br/web/forum/wp-content/themes/busicare/functions.php on line 40