add_section('section_single_post', array( 'title' => __('Single Post Option', 'akisa'), 'panel' => 'theme_option_panel' ) ); // Add Single Header Image enable setting and control. $wp_customize->add_setting( 'theme_options[single_post_header_image_as_header_image_enable]', array( 'default' => $default['single_post_header_image_as_header_image_enable'], 'sanitize_callback' => 'akisa_sanitize_checkbox', ) ); $wp_customize->add_control( 'theme_options[single_post_header_image_as_header_image_enable]', array( 'label' => esc_html__( 'Enable Header Image As Header Image', 'akisa' ), 'description' => __('If this option is Enable then Display Header Image as Header Image Otherwise display Featured Image as Header Image ', 'akisa'), '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' => 'akisa_sanitize_checkbox', ) ); $wp_customize->add_control( 'theme_options[single_post_image_enable]', array( 'label' => esc_html__( 'Enable Featured Image', 'akisa' ), 'section' => 'section_single_post', 'type' => 'checkbox', ) ); // Add Single Post Video enable setting and control. $wp_customize->add_setting( 'theme_options[single_post_video_enable]', array( 'default' => $default['single_post_video_enable'], 'sanitize_callback' => 'akisa_sanitize_checkbox', ) ); $wp_customize->add_control( 'theme_options[single_post_video_enable]', array( 'label' => esc_html__( 'Enable Featured Video', 'akisa' ), 'section' => 'section_single_post', 'type' => 'checkbox', ) ); // Add Single Post Pagimation enable setting and control. $wp_customize->add_setting( 'theme_options[single_post_pagination_enable]', array( 'default' => $default['single_post_pagination_enable'], 'sanitize_callback' => 'akisa_sanitize_checkbox', ) ); $wp_customize->add_control( 'theme_options[single_post_pagination_enable]', array( 'label' => esc_html__( 'Enable Pagination', 'akisa' ), 'section' => 'section_single_post', 'type' => 'checkbox', ) );