add_section('section_single_post', array( 'title' => __('Single Post Option', 'blog-decode'), 'panel' => 'theme_option_panel' ) ); // Add Single Header Image enable setting and control. $wp_customize->add_setting( 'theme_options[single_post_header_image_enable]', array( 'default' => $default['single_post_header_image_enable'], 'sanitize_callback' => 'blog_decode_sanitize_checkbox', ) ); $wp_customize->add_control( 'theme_options[single_post_header_image_enable]', array( 'label' => esc_html__( 'Enable Header Image', 'blog-decode' ), 'section' => 'section_single_post', 'type' => 'checkbox', ) ); // Add Single Post Image enable setting and control. $wp_customize->add_setting( 'theme_options[single_post_image_enable]', array( 'default' => $default['single_post_image_enable'], 'sanitize_callback' => 'blog_decode_sanitize_checkbox', ) ); $wp_customize->add_control( 'theme_options[single_post_image_enable]', array( 'label' => esc_html__( 'Enable Featured Image', 'blog-decode' ), 'section' => 'section_single_post', 'type' => 'checkbox', ) );