separator( $wp_customize, esc_html__( 'Header Image', 'brisko' ), self::$section ); /** * Header Image */ $wp_customize->add_setting( 'header_image_display', array( 'sanitize_callback' => 'sanitize_html_class', 'default' => 'entire-site', ) ); $wp_customize->add_control( 'header_image_display', array( 'label' => esc_html__( 'Header Image', 'brisko' ), 'description' => esc_html__( 'display settings for the header image', 'brisko' ), 'section' => self::$section, 'type' => 'select', 'choices' => array( 'this-home-page-only' => esc_html__( 'Home Page / Front Page Only', 'brisko' ), 'this-entire-site' => esc_html__( 'Entire Site', 'brisko' ), 'this-disabled' => esc_html__( 'Disabled', 'brisko' ), ), ) ); // Header Image width. $wp_customize->add_setting( 'header_image_width', array( 'sanitize_callback' => 'sanitize_html_class', 'default' => 'container', ) ); $wp_customize->add_control( 'header_image_width', array( 'label' => esc_html__( 'Header Image width', 'brisko' ), 'description' => esc_html__( 'set width for the header image', 'brisko' ), 'section' => self::$section, 'type' => 'select', 'choices' => array( 'container' => esc_html__( 'Boxed', 'brisko' ), 'container-fluid' => esc_html__( 'Full width', 'brisko' ), ), ) ); } }