add_section( 'above_footer_widgetarea_options', array( 'title' => __( 'Above Footer', 'blogmarks' ), 'panel' => 'widgetareas_options_panel', ) ); // Background Color. $wp_customize->add_setting( 'above_footer_widgetarea_bg_color', array( 'default' => $theme_options_defaults['above_footer_widgetarea_bg_color'], 'sanitize_callback' => 'sanitize_hex_color', ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'above_footer_widgetarea_bg_color', array( 'label' => __( 'Section Background Color', 'blogmarks' ), 'section' => 'above_footer_widgetarea_options', 'type' => 'color', 'priority' => 1, ) ) ); $wp_customize->add_setting( 'above_footer_widgetarea_text_color', array( 'default' => $theme_options_defaults['above_footer_widgetarea_text_color'], 'sanitize_callback' => 'sanitize_hex_color', ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'above_footer_widgetarea_text_color', array( 'label' => __( 'Section Text Color', 'blogmarks' ), 'section' => 'above_footer_widgetarea_options', 'type' => 'color', 'priority' => 1, ) ) ); $wp_customize->add_setting( 'above_footer_widgetarea_link_color', array( 'default' => $theme_options_defaults['above_footer_widgetarea_link_color'], 'sanitize_callback' => 'sanitize_hex_color', ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'above_footer_widgetarea_link_color', array( 'label' => __( 'Section Link Color', 'blogmarks' ), 'section' => 'above_footer_widgetarea_options', 'type' => 'color', 'priority' => 1, ) ) ); /* Above Footer Widgetareas heading style */ $wp_customize->add_setting( 'above_footer_widgetarea_heading_style', array( 'default' => $theme_options_defaults['above_footer_widgetarea_heading_style'], 'sanitize_callback' => 'blogmarks_sanitize_select', ) ); $wp_customize->add_control( 'above_footer_widgetarea_heading_style', array( 'label' => __( 'Widgets Title Style', 'blogmarks' ), 'section' => 'above_footer_widgetarea_options', 'priority' => 1, 'type' => 'select', 'choices' => blogmarks_get_title_styles(), ) ); /* Above Footer Widgetarea heading Align */ $wp_customize->add_setting( 'above_footer_widgetarea_heading_align', array( 'default' => $theme_options_defaults['above_footer_widgetarea_heading_align'], 'sanitize_callback' => 'blogmarks_sanitize_select', ) ); $wp_customize->add_control( 'above_footer_widgetarea_heading_align', array( 'label' => __( 'Widgets Title Alignment', 'blogmarks' ), 'section' => 'above_footer_widgetarea_options', 'priority' => 1, 'type' => 'select', 'choices' => blogmarks_get_title_alignments(), ) );