add_section( 'blacklite_new_section_custom_css' , array( 'title' => 'Custom CSS', 'description'=> 'Add your custom CSS which will overwrite the theme CSS', 'priority' => 12, ) ); $wp_customize->add_section( 'blacklite_new_section_color_post_color' , array( 'title' => 'Colors: Posts', 'description'=> '', 'priority' => 11, ) ); $wp_customize->add_section( 'blacklite_new_section_color_footer' , array( 'title' => 'Colors: Footer', 'description'=> '', 'priority' => 10, ) ); $wp_customize->add_section( 'blacklite_new_section_color_sidebar' , array( 'title' => 'Colors: Sidebar', 'description'=> '', 'priority' => 9, ) ); $wp_customize->add_section( 'blacklite_new_section_mobile' , array( 'title' => 'Colors: Mobile Menu', 'description'=> '', 'priority' => 8, ) ); $wp_customize->add_section( 'blacklite_new_section_color_topbar' , array( 'title' => 'Colors: Top Bar', 'description'=> '', 'priority' => 7, ) ); $wp_customize->add_section( 'blacklite_new_section_footer' , array( 'title' => 'Footer Settings', 'description'=> '', 'priority' => 6, ) ); $wp_customize->add_section( 'blacklite_new_section_social' , array( 'title' => 'Social Media Settings', 'description'=> 'Icons will not show if left blank.', 'priority' => 5, ) ); $wp_customize->add_section( 'blacklite_new_section_page' , array( 'title' => 'Page Settings', 'description'=> '', 'priority' => 4, ) ); $wp_customize->add_section( 'blacklite_new_section_post' , array( 'title' => 'Post Settings', 'description'=> '', 'priority' => 3, ) ); $wp_customize->add_section( 'blacklite_new_section_topbar' , array( 'title' => 'Top Bar Settings', 'description'=> '', 'priority' => 2, ) ); $wp_customize->add_section( 'blacklite_new_section_logo_header' , array( 'title' => 'Logo and Header Settings', 'description'=> '', 'priority' => 1, ) ); // Add Setting // Header & Logo $wp_customize->add_setting( 'zt_logo', array( 'default' => '', 'sanitize_callback' => 'zt_sanitize_default' ) ); $wp_customize->add_setting( 'zt_header_padding_top', array( 'default' => '56', 'sanitize_callback' => 'zt_sanitize_default' ) ); $wp_customize->add_setting( 'zt_header_padding_bottom', array( 'default' => '56', 'sanitize_callback' => 'zt_sanitize_default' ) ); // Top Bar $wp_customize->add_setting( 'zt_topbar_social_check', array( 'default' => false, 'sanitize_callback' => 'zt_sanitize_default' ) ); $wp_customize->add_setting( 'zt_topbar_search_check', array( 'default' => false, 'sanitize_callback' => 'zt_sanitize_default' ) ); // Post Settings $wp_customize->add_setting( 'zt_post_author', array( 'default' => false, 'sanitize_callback' => 'zt_sanitize_default' ) ); $wp_customize->add_setting( 'zt_post_related', array( 'default' => false, 'sanitize_callback' => 'zt_sanitize_default' ) ); $wp_customize->add_setting( 'zt_post_share', array( 'default' => false, 'sanitize_callback' => 'zt_sanitize_default' ) ); $wp_customize->add_setting( 'zt_post_share_author', array( 'default' => false, 'sanitize_callback' => 'zt_sanitize_default' ) ); $wp_customize->add_setting( 'zt_post_comment_link', array( 'default' => false, 'sanitize_callback' => 'zt_sanitize_default' ) ); // Page $wp_customize->add_setting( 'zt_page_share', array( 'default' => false, 'sanitize_callback' => 'zt_sanitize_default' ) ); // Social Media $wp_customize->add_setting( 'zt_facebook', array( 'default' => '', 'sanitize_callback' => 'zt_sanitize_default' ) ); $wp_customize->add_setting( 'zt_twitter', array( 'default' => '', 'sanitize_callback' => 'zt_sanitize_default' ) ); $wp_customize->add_setting( 'zt_instagram', array( 'default' => '', 'sanitize_callback' => 'zt_sanitize_default' ) ); $wp_customize->add_setting( 'zt_pinterest', array( 'default' => '', 'sanitize_callback' => 'zt_sanitize_default' ) ); $wp_customize->add_setting( 'zt_tumblr', array( 'default' => '', 'sanitize_callback' => 'zt_sanitize_default' ) ); $wp_customize->add_setting( 'zt_bloglovin', array( 'default' => '', 'sanitize_callback' => 'zt_sanitize_default' ) ); $wp_customize->add_setting( 'zt_tumblr', array( 'default' => '', 'sanitize_callback' => 'zt_sanitize_default' ) ); $wp_customize->add_setting( 'zt_google', array( 'default' => '', 'sanitize_callback' => 'zt_sanitize_default' ) ); $wp_customize->add_setting( 'zt_youtube', array( 'default' => '', 'sanitize_callback' => 'zt_sanitize_default' ) ); $wp_customize->add_setting( 'zt_dribbble', array( 'default' => '', 'sanitize_callback' => 'zt_sanitize_default' ) ); $wp_customize->add_setting( 'zt_soundcloud', array( 'default' => '', 'sanitize_callback' => 'zt_sanitize_default' ) ); $wp_customize->add_setting( 'zt_vimeo', array( 'default' => '', 'sanitize_callback' => 'zt_sanitize_default' ) ); $wp_customize->add_setting( 'zt_linkedin', array( 'default' => '', 'sanitize_callback' => 'zt_sanitize_default' ) ); $wp_customize->add_setting( 'zt_rss', array( 'default' => '', 'sanitize_callback' => 'zt_sanitize_default' ) ); $wp_customize->add_setting( 'zt_stumbleupon', array( 'default' => '', 'sanitize_callback' => 'zt_sanitize_default' ) ); // Colors // Top bar $wp_customize->add_setting( 'zt_topbar_bg', array( 'default' => '#000', 'sanitize_callback' => 'zt_sanitize_default' ) ); $wp_customize->add_setting( 'zt_topbar_nav_color', array( 'default' => '#ffffff', 'sanitize_callback' => 'zt_sanitize_default' ) ); $wp_customize->add_setting( 'zt_topbar_nav_color_hover', array( 'default' => '#999999', 'sanitize_callback' => 'zt_sanitize_default' ) ); $wp_customize->add_setting( 'zt_drop_bg', array( 'default' => '#000', 'sanitize_callback' => 'zt_sanitize_default' ) ); $wp_customize->add_setting( 'zt_drop_border', array( 'default' => '#333333', 'sanitize_callback' => 'zt_sanitize_default' ) ); $wp_customize->add_setting( 'zt_drop_text_color', array( 'default' => '#999999', 'sanitize_callback' => 'zt_sanitize_default' ) ); $wp_customize->add_setting( 'zt_drop_text_hover_bg', array( 'default' => '#333333', 'sanitize_callback' => 'zt_sanitize_default' ) ); $wp_customize->add_setting( 'zt_drop_text_hover_color', array( 'default' => '#ffffff', 'sanitize_callback' => 'zt_sanitize_default' ) ); $wp_customize->add_setting( 'zt_topbar_social_color', array( 'default' => '#ffffff', 'sanitize_callback' => 'zt_sanitize_default' ) ); $wp_customize->add_setting( 'zt_topbar_social_color_hover', array( 'default' => '#C39F76', 'sanitize_callback' => 'zt_sanitize_default' ) ); $wp_customize->add_setting( 'zt_topbar_search_magnify', array( 'default' => '#888888', 'sanitize_callback' => 'zt_sanitize_default' ) ); // Mobile Menu colors $wp_customize->add_setting( 'zt_mobile_bg', array( 'default' => '#000', 'sanitize_callback' => 'zt_sanitize_default' ) ); $wp_customize->add_setting( 'zt_mobile_text', array( 'default' => '#ffffff', 'sanitize_callback' => 'zt_sanitize_default' ) ); $wp_customize->add_setting( 'zt_mobile_icon', array( 'default' => '#ffffff', 'sanitize_callback' => 'zt_sanitize_default' ) ); // Sidebar $wp_customize->add_setting( 'zt_sidebar_title_bg', array( 'default' => '#000', 'sanitize_callback' => 'zt_sanitize_default' ) ); $wp_customize->add_setting( 'zt_sidebar_title_text', array( 'default' => '#ffffff', 'sanitize_callback' => 'zt_sanitize_default' ) ); $wp_customize->add_setting( 'zt_sidebar_social_icon', array( 'default' => '#000000', 'sanitize_callback' => 'zt_sanitize_default' ) ); $wp_customize->add_setting( 'zt_sidebar_social_icon_hover', array( 'default' => '#C39F76', 'sanitize_callback' => 'zt_sanitize_default' ) ); $wp_customize->add_setting( 'zt_sidebar_newsletter_bg', array( 'default' => '#f1f1f1', 'sanitize_callback' => 'zt_sanitize_default' ) ); $wp_customize->add_setting( 'zt_sidebar_newsletter_text', array( 'default' => '#444444', 'sanitize_callback' => 'zt_sanitize_default' ) ); $wp_customize->add_setting( 'zt_sidebar_newsletter_button_bg', array( 'default' => '#000', 'sanitize_callback' => 'zt_sanitize_default' ) ); $wp_customize->add_setting( 'zt_sidebar_newsletter_button_text', array( 'default' => '#ffffff', 'sanitize_callback' => 'zt_sanitize_default' ) ); $wp_customize->add_setting( 'zt_sidebar_newsletter_button_bg_hover', array( 'default' => '#C39F76', 'sanitize_callback' => 'zt_sanitize_default' ) ); $wp_customize->add_setting( 'zt_sidebar_newsletter_button_text_hover', array( 'default' => '#ffffff', 'sanitize_callback' => 'zt_sanitize_default' ) ); // Footer $wp_customize->add_setting( 'zt_footer_bg', array( 'default' => '#000', 'sanitize_callback' => 'zt_sanitize_default' ) ); $wp_customize->add_setting( 'zt_footer_social', array( 'default' => '#ffffff', 'sanitize_callback' => 'zt_sanitize_default' ) ); $wp_customize->add_setting( 'zt_footer_social_hover', array( 'default' => '#C39F76', 'sanitize_callback' => 'zt_sanitize_default' ) ); $wp_customize->add_setting( 'zt_footer_social_line', array( 'default' => '#313131', 'sanitize_callback' => 'zt_sanitize_default' ) ); $wp_customize->add_setting( 'zt_footer_copyright_color', array( 'default' => '#888888', 'sanitize_callback' => 'zt_sanitize_default' ) ); $wp_customize->add_setting( 'zt_footer_copyright_link', array( 'default' => '#ffffff', 'sanitize_callback' => 'zt_sanitize_default' ) ); // Posts $wp_customize->add_setting( 'zt_post_title', array( 'default' => '#000000', 'sanitize_callback' => 'zt_sanitize_default' ) ); $wp_customize->add_setting( 'zt_post_title_divider', array( 'default' => '#000000', 'sanitize_callback' => 'zt_sanitize_default' ) ); $wp_customize->add_setting( 'zt_post_text', array( 'default' => '#242424', 'sanitize_callback' => 'zt_sanitize_default' ) ); $wp_customize->add_setting( 'zt_post_h', array( 'default' => '#242424', 'sanitize_callback' => 'zt_sanitize_default' ) ); $wp_customize->add_setting( 'zt_post_readmore_text', array( 'default' => '#000000', 'sanitize_callback' => 'zt_sanitize_default' ) ); $wp_customize->add_setting( 'zt_post_readmore_text_hover', array( 'default' => '#C39F76', 'sanitize_callback' => 'zt_sanitize_default' ) ); $wp_customize->add_setting( 'zt_post_readmore_line', array( 'default' => '#C39F76', 'sanitize_callback' => 'zt_sanitize_default' ) ); $wp_customize->add_setting( 'zt_post_readmore_line_hover', array( 'default' => '#C39F76', 'sanitize_callback' => 'zt_sanitize_default' ) ); $wp_customize->add_setting( 'zt_post_share_color', array( 'default' => '#000000', 'sanitize_callback' => 'zt_sanitize_default' ) ); $wp_customize->add_setting( 'zt_post_share_color_hover', array( 'default' => '#C39F76', 'sanitize_callback' => 'zt_sanitize_default' ) ); // Custom CSS $wp_customize->add_setting( 'zt_custom_css', array( 'default' => '', 'sanitize_callback' => 'zt_sanitize_default' ) ); // Add Control // Header and Logo $wp_customize->add_control( new WP_Customize_Image_Control( $wp_customize, 'upload_logo', array( 'label' => 'Upload Logo', 'section' => 'blacklite_new_section_logo_header', 'settings' => 'zt_logo', 'priority' => 1 ) ) ); $wp_customize->add_control( new Customize_Number_Control( $wp_customize, 'header_padding_top', array( 'label' => 'Top Header Padding', 'section' => 'blacklite_new_section_logo_header', 'settings' => 'zt_header_padding_top', 'type' => 'number', 'priority' => 2 ) ) ); $wp_customize->add_control( new Customize_Number_Control( $wp_customize, 'header_padding_bottom', array( 'label' => 'Bottom Header Padding', 'section' => 'blacklite_new_section_logo_header', 'settings' => 'zt_header_padding_bottom', 'type' => 'number', 'priority' => 3 ) ) ); // Top Bar $wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'topbar_social_check', array( 'label' => 'Disable Top Bar Social Icons', 'section' => 'blacklite_new_section_topbar', 'settings' => 'zt_topbar_social_check', 'type' => 'checkbox', 'priority' => 1 ) ) ); $wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'topbar_search_check', array( 'label' => 'Disable Top Bar Search', 'section' => 'blacklite_new_section_topbar', 'settings' => 'zt_topbar_search_check', 'type' => 'checkbox', 'priority' => 2 ) ) ); // Post Settings $wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'post_share', array( 'label' => 'Hide Share Buttons', 'section' => 'blacklite_new_section_post', 'settings' => 'zt_post_share', 'type' => 'checkbox', 'priority' => 1 ) ) ); $wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'post_share_author', array( 'label' => 'Hide Author Name', 'section' => 'blacklite_new_section_post', 'settings' => 'zt_post_share_author', 'type' => 'checkbox', 'priority' => 2 ) ) ); $wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'post_comment_link', array( 'label' => 'Hide Comment Link', 'section' => 'blacklite_new_section_post', 'settings' => 'zt_post_comment_link', 'type' => 'checkbox', 'priority' => 3 ) ) ); $wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'post_author', array( 'label' => 'Hide Author Box', 'section' => 'blacklite_new_section_post', 'settings' => 'zt_post_author', 'type' => 'checkbox', 'priority' => 4 ) ) ); $wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'post_related', array( 'label' => 'Hide Related Posts Box', 'section' => 'blacklite_new_section_post', 'settings' => 'zt_post_related', 'type' => 'checkbox', 'priority' => 5 ) ) ); // Page $wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'page_share', array( 'label' => 'Hide Share Buttons', 'section' => 'blacklite_new_section_page', 'settings' => 'zt_page_share', 'type' => 'checkbox', 'priority' => 1 ) ) ); // Social Media $wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'facebook', array( 'label' => 'Facebook', 'section' => 'blacklite_new_section_social', 'settings' => 'zt_facebook', 'type' => 'text', 'priority' => 1 ) ) ); $wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'twitter', array( 'label' => 'Twitter', 'section' => 'blacklite_new_section_social', 'settings' => 'zt_twitter', 'type' => 'text', 'priority' => 2 ) ) ); $wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'instagram', array( 'label' => 'Instagram', 'section' => 'blacklite_new_section_social', 'settings' => 'zt_instagram', 'type' => 'text', 'priority' => 3 ) ) ); $wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'pinterest', array( 'label' => 'Pinterest', 'section' => 'blacklite_new_section_social', 'settings' => 'zt_pinterest', 'type' => 'text', 'priority' => 4 ) ) ); $wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'bloglovin', array( 'label' => 'Bloglovin', 'section' => 'blacklite_new_section_social', 'settings' => 'zt_bloglovin', 'type' => 'text', 'priority' => 5 ) ) ); $wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'google', array( 'label' => 'Google Plus', 'section' => 'blacklite_new_section_social', 'settings' => 'zt_google', 'type' => 'text', 'priority' => 6 ) ) ); $wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'tumblr', array( 'label' => 'Tumblr', 'section' => 'blacklite_new_section_social', 'settings' => 'zt_tumblr', 'type' => 'text', 'priority' => 7 ) ) ); $wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'youtube', array( 'label' => 'Youtube', 'section' => 'blacklite_new_section_social', 'settings' => 'zt_youtube', 'type' => 'text', 'priority' => 8 ) ) ); $wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'dribbble', array( 'label' => 'Dribbble', 'section' => 'blacklite_new_section_social', 'settings' => 'zt_dribbble', 'type' => 'text', 'priority' => 9 ) ) ); $wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'soundcloud', array( 'label' => 'Soundcloud', 'section' => 'blacklite_new_section_social', 'settings' => 'zt_soundcloud', 'type' => 'text', 'priority' => 10 ) ) ); $wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'vimeo', array( 'label' => 'Vimeo', 'section' => 'blacklite_new_section_social', 'settings' => 'zt_vimeo', 'type' => 'text', 'priority' => 11 ) ) ); $wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'linkedin', array( 'label' => 'Linkedin', 'section' => 'blacklite_new_section_social', 'settings' => 'zt_linkedin', 'type' => 'text', 'priority' => 12 ) ) ); $wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'rss', array( 'label' => 'RSS Link', 'section' => 'blacklite_new_section_social', 'settings' => 'zt_rss', 'type' => 'text', 'priority' => 13 ) ) ); $wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'stumbleupon', array( 'label' => 'Stumbleupon', 'section' => 'blacklite_new_section_social', 'settings' => 'zt_stumbleupon', 'type' => 'text', 'priority' => 14 ) ) ); // Colors // Top bar Colors $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'topbar_bg', array( 'label' => 'Top Bar BG', 'section' => 'blacklite_new_section_color_topbar', 'settings' => 'zt_topbar_bg', 'priority' => 1 ) ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'topbar_nav_color', array( 'label' => 'Top Bar Menu Text Color', 'section' => 'blacklite_new_section_color_topbar', 'settings' => 'zt_topbar_nav_color', 'priority' => 2 ) ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'topbar_nav_color_hover', array( 'label' => 'Top Bar Menu Text Hover Color', 'section' => 'blacklite_new_section_color_topbar', 'settings' => 'zt_topbar_nav_color_hover', 'priority' => 3 ) ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'drop_bg', array( 'label' => 'Dropdown BG', 'section' => 'blacklite_new_section_color_topbar', 'settings' => 'zt_drop_bg', 'priority' => 4 ) ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'drop_border', array( 'label' => 'Dropdown Border Color', 'section' => 'blacklite_new_section_color_topbar', 'settings' => 'zt_drop_border', 'priority' => 5 ) ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'drop_text_color', array( 'label' => 'Dropdown Text Color', 'section' => 'blacklite_new_section_color_topbar', 'settings' => 'zt_drop_text_color', 'priority' => 6 ) ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'drop_text_hover_bg', array( 'label' => 'Dropdown Text Hover BG', 'section' => 'blacklite_new_section_color_topbar', 'settings' => 'zt_drop_text_hover_bg', 'priority' => 7 ) ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'drop_text_hover_color', array( 'label' => 'Dropdown Text Hover Color', 'section' => 'blacklite_new_section_color_topbar', 'settings' => 'zt_drop_text_hover_color', 'priority' => 8 ) ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'topbar_social_color', array( 'label' => 'Top Bar Social Icons', 'section' => 'blacklite_new_section_color_topbar', 'settings' => 'zt_topbar_social_color', 'priority' => 9 ) ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'topbar_social_color_hover', array( 'label' => 'Top Bar Social Icons Hover', 'section' => 'blacklite_new_section_color_topbar', 'settings' => 'zt_topbar_social_color_hover', 'priority' => 10 ) ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'topbar_search_magnify', array( 'label' => 'Top Bar Search Magnify Color', 'section' => 'blacklite_new_section_color_topbar', 'settings' => 'zt_topbar_search_magnify', 'priority' => 11 ) ) ); // Mobile menu $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'mobile_bg', array( 'label' => 'Mobile Menu Background Color', 'section' => 'blacklite_new_section_mobile', 'settings' => 'zt_mobile_bg', 'priority' => 1 ) ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'mobile_text', array( 'label' => 'Mobile Menu Link Color', 'section' => 'blacklite_new_section_mobile', 'settings' => 'zt_mobile_text', 'priority' => 2 ) ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'mobile_icon', array( 'label' => 'Mobile Menu Toggle Icon Color', 'section' => 'blacklite_new_section_mobile', 'settings' => 'zt_mobile_icon', 'priority' => 3 ) ) ); // Sidebar $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'sidebar_title_bg', array( 'label' => 'Sidebar Widget Title BG', 'section' => 'blacklite_new_section_color_sidebar', 'settings' => 'zt_sidebar_title_bg', 'priority' => 1 ) ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'sidebar_title_text', array( 'label' => 'Sidebar Widget Title Text Color', 'section' => 'blacklite_new_section_color_sidebar', 'settings' => 'zt_sidebar_title_text', 'priority' => 2 ) ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'sidebar_social_icon', array( 'label' => 'Sidebar Social Icon Color', 'section' => 'blacklite_new_section_color_sidebar', 'settings' => 'zt_sidebar_social_icon', 'priority' => 3 ) ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'sidebar_social_icon_hover', array( 'label' => 'Sidebar Social Icon Hover Color', 'section' => 'blacklite_new_section_color_sidebar', 'settings' => 'zt_sidebar_social_icon_hover', 'priority' => 4 ) ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'sidebar_newsletter_bg', array( 'label' => 'Mailchimp Widget BG Color', 'section' => 'blacklite_new_section_color_sidebar', 'settings' => 'zt_sidebar_newsletter_bg', 'priority' => 5 ) ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'sidebar_newsletter_text', array( 'label' => 'Mailchimp Widget Text Color', 'section' => 'blacklite_new_section_color_sidebar', 'settings' => 'zt_sidebar_newsletter_text', 'priority' => 6 ) ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'sidebar_newsletter_button_bg', array( 'label' => 'Mailchimp Widget Button BG Color', 'section' => 'blacklite_new_section_color_sidebar', 'settings' => 'zt_sidebar_newsletter_button_bg', 'priority' => 7 ) ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'sidebar_newsletter_button_text', array( 'label' => 'Mailchimp Widget Button Text Color', 'section' => 'blacklite_new_section_color_sidebar', 'settings' => 'zt_sidebar_newsletter_button_text', 'priority' => 8 ) ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'sidebar_newsletter_button_bg_hover', array( 'label' => 'Mailchimp Widget Button BG Hover Color', 'section' => 'blacklite_new_section_color_sidebar', 'settings' => 'zt_sidebar_newsletter_button_bg_hover', 'priority' => 9 ) ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'sidebar_newsletter_button_text_hover', array( 'label' => 'Mailchimp Widget Button Text Hover Color', 'section' => 'blacklite_new_section_color_sidebar', 'settings' => 'zt_sidebar_newsletter_button_text_hover', 'priority' => 10 ) ) ); // Footer $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'footer_bg', array( 'label' => 'Footer BG Color', 'section' => 'blacklite_new_section_color_footer', 'settings' => 'zt_footer_bg', 'priority' => 1 ) ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'footer_social', array( 'label' => 'Footer Social Icon Color', 'section' => 'blacklite_new_section_color_footer', 'settings' => 'zt_footer_social', 'priority' => 2 ) ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'footer_social_hover', array( 'label' => 'Footer Social Icon Hover Color', 'section' => 'blacklite_new_section_color_footer', 'settings' => 'zt_footer_social_hover', 'priority' => 3 ) ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'footer_social_line', array( 'label' => 'Footer Social Separator Line', 'section' => 'blacklite_new_section_color_footer', 'settings' => 'zt_footer_social_line', 'priority' => 4 ) ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'footer_copyright_color', array( 'label' => 'Footer Copyright Text Color', 'section' => 'blacklite_new_section_color_footer', 'settings' => 'zt_footer_copyright_color', 'priority' => 5 ) ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'footer_copyright_link', array( 'label' => 'Footer Copyright Link Color', 'section' => 'blacklite_new_section_color_footer', 'settings' => 'zt_footer_copyright_link', 'priority' => 6 ) ) ); // Posts $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'post_title', array( 'label' => 'Post Title Color', 'section' => 'blacklite_new_section_color_post_color', 'settings' => 'zt_post_title', 'priority' => 1 ) ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'post_title_divider', array( 'label' => 'Post Title Divider Color', 'section' => 'blacklite_new_section_color_post_color', 'settings' => 'zt_post_title_divider', 'priority' => 2 ) ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'post_text', array( 'label' => 'Post Text Color', 'section' => 'blacklite_new_section_color_post_color', 'settings' => 'zt_post_text', 'priority' => 3 ) ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'post_h', array( 'label' => 'Post H1-H6 Color', 'section' => 'blacklite_new_section_color_post_color', 'settings' => 'zt_post_h', 'priority' => 4 ) ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'post_readmore_text', array( 'label' => 'Read More Text Color', 'section' => 'blacklite_new_section_color_post_color', 'settings' => 'zt_post_readmore_text', 'priority' => 5 ) ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'post_readmore_text_hover', array( 'label' => 'Read More Text Hover Color', 'section' => 'blacklite_new_section_color_post_color', 'settings' => 'zt_post_readmore_text_hover', 'priority' => 6 ) ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'post_readmore_line', array( 'label' => 'Read More Underline Color', 'section' => 'blacklite_new_section_color_post_color', 'settings' => 'zt_post_readmore_line', 'priority' => 7 ) ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'post_readmore_line_hover', array( 'label' => 'Read More Underline Hover Color', 'section' => 'blacklite_new_section_color_post_color', 'settings' => 'zt_post_readmore_line_hover', 'priority' => 8 ) ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'post_share_color', array( 'label' => 'Post Share Link Color', 'section' => 'blacklite_new_section_color_post_color', 'settings' => 'zt_post_share_color', 'priority' => 9 ) ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'post_share_color_hover', array( 'label' => 'Post Share Link Hover Color', 'section' => 'blacklite_new_section_color_post_color', 'settings' => 'zt_post_share_color_hover', 'priority' => 10 ) ) ); // Custom CSS $wp_customize->add_control( new Customize_CustomCss_Control( $wp_customize, 'custom_css', array( 'label' => 'Custom CSS', 'section' => 'blacklite_new_section_custom_css', 'settings' => 'zt_custom_css', 'type' => 'custom_css', 'priority' => 1 ) ) ); } add_action( 'customize_register', 'blacklite_register_theme_customizer' ); ?>