add_section( 'below_header_widgetarea_options', array( 'title' => __( 'Below Header', 'blogmarks' ), 'panel' => 'widgetareas_options_panel', ) ); // Background Color. $wp_customize->add_setting( 'below_header_widgetarea_bg_color', array( 'default' => $theme_options_defaults['below_header_widgetarea_bg_color'], 'sanitize_callback' => 'sanitize_hex_color', ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'below_header_widgetarea_bg_color', array( 'label' => __( 'Section Background Color', 'blogmarks' ), 'section' => 'below_header_widgetarea_options', 'type' => 'color', 'priority' => 1, ) ) ); $wp_customize->add_setting( 'below_header_widgetarea_text_color', array( 'default' => $theme_options_defaults['below_header_widgetarea_text_color'], 'sanitize_callback' => 'sanitize_hex_color', ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'below_header_widgetarea_text_color', array( 'label' => __( 'Section Text Color', 'blogmarks' ), 'section' => 'below_header_widgetarea_options', 'type' => 'color', 'priority' => 10, ) ) ); $wp_customize->add_setting( 'below_header_widgetarea_link_color', array( 'default' => $theme_options_defaults['below_header_widgetarea_link_color'], 'sanitize_callback' => 'sanitize_hex_color', ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'below_header_widgetarea_link_color', array( 'label' => __( 'Section Background Color', 'blogmarks' ), 'section' => 'below_header_widgetarea_options', 'type' => 'color', 'priority' => 20, ) ) ); /* Below Header Widgetareas heading style */ $wp_customize->add_setting( 'below_header_widgetarea_heading_style', array( 'default' => $theme_options_defaults['below_header_widgetarea_heading_style'], 'sanitize_callback' => 'blogmarks_sanitize_select', ) ); $wp_customize->add_control( 'below_header_widgetarea_heading_style', array( 'label' => __( 'Widgets Title Style', 'blogmarks' ), 'section' => 'below_header_widgetarea_options', 'priority' => 30, 'type' => 'select', 'choices' => blogmarks_get_title_styles(), ) ); /* Below Header Widgetarea heading Align */ $wp_customize->add_setting( 'below_header_widgetarea_heading_align', array( 'default' => $theme_options_defaults['below_header_widgetarea_heading_align'], 'sanitize_callback' => 'blogmarks_sanitize_select', ) ); $wp_customize->add_control( 'below_header_widgetarea_heading_align', array( 'label' => __( 'Widgets Title Alignment', 'blogmarks' ), 'section' => 'below_header_widgetarea_options', 'priority' => 40, 'type' => 'select', 'choices' => blogmarks_get_title_alignments(), ) );