$themify_customizer->accordion_start( __( 'Body', 'themify' ) ), // Styling key name. Includes any string depicting the styling, for example 'body' and a suffix // specifying the type of control, for example '_background' 'body_background' => array( 'setting' => array( // Optional. Default setting/value to save. 'transport' => 'postMessage', // Live update (postMessage) or reload (refresh) the page. ), 'control' => array( 'type' => 'Themify_Background_Control', // Type of the control to render. 'label' => __( 'Body Background', 'themify' ), // Visible name of the control. 'show_label' => true, // Whether to show the control name or not. Defaults to true. 'section' => 'themify_options', // Optional section ID where the control will be added. ), 'selector' => 'body', // CSS Selector to apply styling. 'prop' => 'background', // Styling to apply, can be a CSS property or a custom set of properties. ), 'body_font' => array( 'control' => array( 'type' => 'Themify_Font_Control', 'label' => __( 'Body Font', 'themify' ), ), 'selector' => 'body', 'prop' => 'font', ), 'body_font_color' => array( 'control' => array( 'type' => 'Themify_Color_Control', ), 'selector' => 'body', 'prop' => 'color', ), 'body_link_font' => array( 'control' => array( 'type' => 'Themify_Text_Decoration_Control', 'label' => __( 'Body Link', 'themify' ), ), 'selector' => 'a', 'prop' => 'font', ), 'body_link_color' => array( 'control' => array( 'type' => 'Themify_Color_Control', ), 'selector' => 'a', 'prop' => 'color', ), 'body_link_hover_font' => array( 'setting' => array( 'transport' => 'refresh' ), 'control' => array( 'type' => 'Themify_Text_Decoration_Control', 'label' => __( 'Body Link Hover', 'themify' ), ), 'selector' => 'a:hover', 'prop' => 'font', ), 'body_link_hover_color' => array( 'setting' => array( 'transport' => 'refresh' ), 'control' => array( 'type' => 'Themify_Color_Control', ), 'selector' => 'a:hover', 'prop' => 'color', ), 'end_body_acc' => $themify_customizer->accordion_end(), // Accordion End --------------------------- // Accordion Start --------------------------- 'start_header_acc' => $themify_customizer->accordion_start( __( 'Header', 'themify' ) ), 'headerwrap_background' => array( 'control' => array( 'type' => 'Themify_Background_Control', 'label' => __( 'Header Wrap', 'themify' ), ), 'selector' => '#headerwrap', 'prop' => 'background', ), 'headerwrap_border' => array( 'control' => array( 'type' => 'Themify_Border_Control', 'label' => __( 'Header Wrap Border', 'themify' ), 'show_label' => false, ), 'selector' => '#headerwrap', 'prop' => 'border', ), 'headerwrap_padding' => array( 'control' => array( 'type' => 'Themify_Padding_Control', 'label' => __( 'Header Wrap Padding', 'themify' ), 'show_label' => false, ), 'selector' => '#headerwrap', 'prop' => 'padding', ), 'headerwrap_margin' => array( 'control' => array( 'type' => 'Themify_Margin_Control', 'label' => __( 'Header Wrap Margin', 'themify' ), 'show_label' => false, ), 'selector' => '#headerwrap', 'prop' => 'margin', ), 'header_font' => array( 'control' => array( 'type' => 'Themify_Font_Control', 'label' => __( 'Header Font', 'themify' ), ), 'selector' => '#header', 'prop' => 'font', ), 'header_font_color' => array( 'control' => array( 'type' => 'Themify_Color_Control', 'label' => __( 'Header Font Color', 'themify' ), 'show_label' => false, ), 'selector' => '#header', 'prop' => 'color', ), 'header_link_font' => array( 'control' => array( 'type' => 'Themify_Text_Decoration_Control', 'label' => __( 'Header Link', 'themify' ), ), 'selector' => '#header a', 'prop' => 'font', ), 'header_link_color' => array( 'control' => array( 'type' => 'Themify_Color_Control', 'label' => __( 'Header Link Color', 'themify' ), 'show_label' => false, ), 'selector' => '#header a', 'prop' => 'color', ), 'header_link_hover_font' => array( 'setting' => array( 'transport' => 'refresh' ), 'control' => array( 'type' => 'Themify_Text_Decoration_Control', 'label' => __( 'Header Link Hover', 'themify' ), ), 'selector' => '#header a:hover', 'prop' => 'font', ), 'header_link_hover_color' => array( 'setting' => array( 'transport' => 'refresh' ), 'control' => array( 'type' => 'Themify_Color_Control', ), 'selector' => '#header a:hover', 'prop' => 'color', ), 'end_header_acc' => $themify_customizer->accordion_end(), // Accordion End --------------------------- // Accordion Start --------------------------- 'start_titletagline_acc' => $themify_customizer->accordion_start( __( 'Site Logo & Tagline', 'themify' ) ), // This element is not CSS, but markup written by site_logo() 'site-logo_image' => array( 'setting' => array( 'default' => '', ), 'control' => array( 'type' => 'Themify_Logo_Control', 'label' => __( 'Site Logo', 'themify' ), ), 'selector' => '#site-logo', 'prop' => 'logo', ), // This element is not CSS, but markup written by site_description() 'site-tagline' => array( 'control' => array( 'type' => 'Themify_Tagline_Control', 'label' => __( 'Site Tagline', 'themify' ), ), 'selector' => '#site-description', 'prop' => 'tagline', ), 'end_titletagline_acc' => $themify_customizer->accordion_end(), // Accordion End --------------------------- // Accordion Start --------------------------- 'start_nav_acc' => $themify_customizer->accordion_start( __( 'Main Navigation', 'themify' ) ), 'main_nav' => array( 'control' => array( 'type' => 'nav_menu', 'label' => __( 'Main Navigation Menu', 'themify' ), 'location' => 'main-nav', ), ), 'main_nav_link_font' => array( 'control' => array( 'type' => 'Themify_Font_Control', 'label' => __( 'Menu Link', 'themify' ), ), 'selector' => '#main-nav a', 'prop' => 'font', ), 'main_nav_link_color' => array( 'control' => array( 'type' => 'Themify_Color_Control', 'label' => __( 'Menu Link Color', 'themify' ), 'show_label' => false, ), 'selector' => '#main-nav a', 'prop' => 'color', ), 'main_nav_link_background' => array( 'control' => array( 'type' => 'Themify_Color_Transparent_Control', 'label' => __( 'Menu Link Background', 'themify' ), 'show_label' => false, 'color_label' => __( 'Background Color', 'themify' ), ), 'selector' => '#main-nav a', 'prop' => 'background', ), 'main_nav_link_border' => array( 'control' => array( 'type' => 'Themify_Border_Control', 'label' => __( 'Menu Link Border', 'themify' ), 'show_label' => false, ), 'selector' => '#main-nav a', 'prop' => 'border', ), 'main_nav_link_padding' => array( 'control' => array( 'type' => 'Themify_Padding_Control', 'label' => __( 'Menu Link Padding', 'themify' ), 'show_label' => false, ), 'selector' => '#main-nav a', 'prop' => 'padding', ), 'main_nav_link_margin' => array( 'control' => array( 'type' => 'Themify_Margin_Control', 'label' => __( 'Menu Link Margin', 'themify' ), 'show_label' => false, ), 'selector' => '#main-nav a', 'prop' => 'margin', ), 'main_nav_link_hover_background' => array( 'setting' => array( 'transport' => 'refresh' ), 'control' => array( 'type' => 'Themify_Color_Transparent_Control', 'label' => __( 'Menu Link Hover', 'themify' ), 'color_label' => __( 'Background Color', 'themify' ), ), 'selector' => '#main-nav a:hover', 'prop' => 'background', ), 'main_nav_link_hover_color' => array( 'setting' => array( 'transport' => 'refresh' ), 'control' => array( 'type' => 'Themify_Color_Control', 'label' => __( 'Menu Link Hover Color', 'themify' ), 'show_label' => false, ), 'selector' => '#main-nav a:hover', 'prop' => 'color', ), 'main_nav_link_active_background' => array( 'setting' => array( 'transport' => 'refresh' ), 'control' => array( 'type' => 'Themify_Color_Transparent_Control', 'label' => __( 'Menu Active Link', 'themify' ), 'color_label' => __( 'Background Color', 'themify' ), ), 'selector' => '#main-nav .current_page_item a, #main-nav .current-menu-item a', 'prop' => 'background', ), 'main_nav_link_active_color' => array( 'control' => array( 'type' => 'Themify_Color_Control', 'label' => __( 'Menu Active Link Color', 'themify' ), 'show_label' => false, ), 'selector' => '#main-nav .current_page_item a, #main-nav .current-menu-item a', 'prop' => 'color', ), 'main_nav_link_active_hover_background' => array( 'setting' => array( 'transport' => 'refresh' ), 'control' => array( 'type' => 'Themify_Color_Transparent_Control', 'label' => __( 'Menu Active Link Hover', 'themify' ), 'color_label' => __( 'Background Color', 'themify' ), ), 'selector' => '#main-nav .current_page_item a:hover, #main-nav .current-menu-item a:hover', 'prop' => 'background', ), 'main_nav_link_active_hover_color' => array( 'setting' => array( 'transport' => 'refresh' ), 'control' => array( 'type' => 'Themify_Color_Control', 'label' => __( 'Menu Active Link Hover Color', 'themify' ), 'show_label' => false, ), 'selector' => '#main-nav .current_page_item a:hover, #main-nav .current-menu-item a:hover', 'prop' => 'color', ), 'end_nav_acc' => $themify_customizer->accordion_end(), // Accordion End --------------------------- // Accordion Start --------------------------- 'start_post_acc' => $themify_customizer->accordion_start( __( 'Post', 'themify' ) ), // Post Title .post-title 'post_title_font' => array( 'control' => array( 'type' => 'Themify_Font_Control', 'label' => __( 'Post Title', 'themify' ), ), 'selector' => '.post-title, .post-title a', 'prop' => 'font', ), 'post_title_color' => array( 'control' => array( 'type' => 'Themify_Color_Control', ), 'selector' => '.post-title, .post-title a', 'prop' => 'color', ), 'post_title_hover_font' => array( 'setting' => array( 'transport' => 'refresh' ), 'control' => array( 'type' => 'Themify_Text_Decoration_Control', 'label' => __( 'Post Title Hover', 'themify' ), ), 'selector' => '.post-title a:hover', 'prop' => 'font', ), 'post_title_hover_color' => array( 'setting' => array( 'transport' => 'refresh' ), 'control' => array( 'type' => 'Themify_Color_Control', ), 'selector' => '.post-title a:hover', 'prop' => 'color', ), 'end_post_acc' => $themify_customizer->accordion_end(), // Accordion End --------------------------- // Accordion Start --------------------------- 'start_page_title_acc' => $themify_customizer->accordion_start( __( 'Page Title', 'themify' ) ), // Page Title .page-title 'page_title_color' => array( 'control' => array( 'type' => 'Themify_Color_Control', 'label' => __( 'Page Title', 'themify' ), ), 'selector' => '.page-title', 'prop' => 'color', ), 'page_title_font' => array( 'control' => array( 'type' => 'Themify_Font_Control', ), 'selector' => '.page-title', 'prop' => 'font', ), 'end_page_title_acc' => $themify_customizer->accordion_end(), // Accordion End --------------------------- // Accordion Start --------------------------- 'start_sidebar_acc' => $themify_customizer->accordion_start( __( 'Sidebar', 'themify' ) ), // Sidebar Font #sidebar 'sidebar_color' => array( 'control' => array( 'type' => 'Themify_Color_Control', 'label' => __( 'Sidebar Font', 'themify' ), ), 'selector' => '#sidebar', 'prop' => 'color', ), 'sidebar_font' => array( 'control' => array( 'type' => 'Themify_Font_Control', ), 'selector' => '#sidebar', 'prop' => 'font', ), // Sidebar Link #sidebar a 'sidebar_link_color' => array( 'control' => array( 'type' => 'Themify_Color_Control', 'label' => __( 'Sidebar Link', 'themify' ), ), 'selector' => '#sidebar a', 'prop' => 'color', ), 'sidebar_link_font' => array( 'control' => array( 'type' => 'Themify_Text_Decoration_Control', ), 'selector' => '#sidebar a', 'prop' => 'font', ), // Sidebar Link Hover #sidebar a:hover 'sidebar_link_hover_color' => array( 'setting' => array( 'transport' => 'refresh' ), 'control' => array( 'type' => 'Themify_Color_Control', 'label' => __( 'Sidebar Link Hover', 'themify' ), ), 'selector' => '#sidebar a:hover', 'prop' => 'color', ), 'sidebar_link_hover_font' => array( 'setting' => array( 'transport' => 'refresh' ), 'control' => array( 'type' => 'Themify_Text_Decoration_Control', ), 'selector' => '#sidebar a:hover', 'prop' => 'font', ), // Sidebar Widget Title #sidebar .widgettitle 'sidebar_widget_title_color' => array( 'control' => array( 'type' => 'Themify_Color_Control', 'label' => __( 'Sidebar Widget Title', 'themify' ), ), 'selector' => '#sidebar .widgettitle', 'prop' => 'color', ), 'sidebar_widget_title_font' => array( 'control' => array( 'type' => 'Themify_Font_Control', ), 'selector' => '#sidebar .widgettitle', 'prop' => 'font', ), 'end_sidebar_acc' => $themify_customizer->accordion_end(), // Accordion End --------------------------- // Accordion Start --------------------------- 'start_footer_acc' => $themify_customizer->accordion_start( __( 'Footer', 'themify' ) ), // Footer Wrap #footerwrap 'footerwrap_background' => array( 'control' => array( 'type' => 'Themify_Background_Control', 'label' => __( 'Footer Wrap', 'themify' ), ), 'selector' => '#footerwrap', 'prop' => 'background', ), 'footerwrap_border' => array( 'control' => array( 'type' => 'Themify_Border_Control', ), 'selector' => '#footerwrap', 'prop' => 'border', ), 'footerwrap_padding' => array( 'control' => array( 'type' => 'Themify_Padding_Control', ), 'selector' => '#footerwrap', 'prop' => 'padding', ), 'footerwrap_margin' => array( 'control' => array( 'type' => 'Themify_Margin_Control', ), 'selector' => '#footerwrap', 'prop' => 'margin', ), // Footer Font #footer 'footer_color' => array( 'control' => array( 'type' => 'Themify_Color_Control', 'label' => __( 'Footer Font', 'themify' ), ), 'selector' => '#footer', 'prop' => 'color', ), 'footer_font' => array( 'control' => array( 'type' => 'Themify_Font_Control', ), 'selector' => '#footer', 'prop' => 'font', ), // Footer Link #footer a 'footer_link_color' => array( 'control' => array( 'type' => 'Themify_Color_Control', 'label' => __( 'Footer Link', 'themify' ), ), 'selector' => '#footer a', 'prop' => 'color', ), 'footer_link_font' => array( 'control' => array( 'type' => 'Themify_Text_Decoration_Control', ), 'selector' => '#footer a', 'prop' => 'font', ), // Footer Link #footer a:hover 'footer_link_hover_color' => array( 'setting' => array( 'transport' => 'refresh' ), 'control' => array( 'type' => 'Themify_Color_Control', 'label' => __( 'Footer Link Hover', 'themify' ), ), 'selector' => '#footer a:hover', 'prop' => 'color', ), 'footer_link_hover_font' => array( 'setting' => array( 'transport' => 'refresh' ), 'control' => array( 'type' => 'Themify_Text_Decoration_Control', ), 'selector' => '#footer a:hover', 'prop' => 'font', ), 'footer_nav' => array( 'control' => array( 'type' => 'nav_menu', 'label' => __( 'Footer Navigation Menu', 'themify' ), 'location' => '#footer-nav', ), ), // Footer Widget Font .footer-widgets 'footer_widget_font_color' => array( 'control' => array( 'type' => 'Themify_Color_Control', 'label' => __( 'Footer Widget Font', 'themify' ), ), 'selector' => '.footer-widgets', 'prop' => 'color', ), 'footer_widget_font' => array( 'control' => array( 'type' => 'Themify_Font_Control', ), 'selector' => '.footer-widgets', 'prop' => 'font', ), // Footer Widget Title .footer-widgets .widgettitle 'footer_widget_title_color' => array( 'control' => array( 'type' => 'Themify_Color_Control', 'label' => __( 'Footer Widget Title', 'themify' ), ), 'selector' => '.footer-widgets .widgettitle', 'prop' => 'color', ), 'footer_widget_title_font' => array( 'control' => array( 'type' => 'Themify_Font_Control', ), 'selector' => '.footer-widgets .widgettitle', 'prop' => 'font', ), 'end_footer_acc' => $themify_customizer->accordion_end(), // Accordion End ---------------------------*/ // Accordion Start --------------------------- 'start_customcss_acc' => $themify_customizer->accordion_start( __( 'Custom CSS', 'themify' ) ), // This element is not CSS, but markup written by themify_custom_css() 'customcss' => array( 'control' => array( 'type' => 'Themify_CustomCSS_Control', 'label' => __( 'Custom CSS', 'themify' ), 'show_label' => false, ), 'selector' => 'customcss', 'prop' => 'customcss', ), 'end_customcss_acc' => $themify_customizer->accordion_end(), // Accordion End --------------------------- // This element doesn't have a live preview and it's not styling. 'clear' => array( 'control' => array( 'type' => 'Themify_Clear_Control', 'label' => __( 'Reset All Customization', 'themify' ), ), 'selector' => 'clear', 'prop' => 'clear', ), ); return $args; } add_filter( 'themify_base_customizer_settings', 'themify_base_theme_customizer_definition' );