diff --git a/customizer/alpha-color-picker/alpha-color-picker.php b/customizer/alpha-color-picker/alpha-color-picker.php index 483d3f4..0e43c6b 100644 --- a/customizer/alpha-color-picker/alpha-color-picker.php +++ b/customizer/alpha-color-picker/alpha-color-picker.php @@ -77,17 +77,17 @@ public function render_content() { // Support passing show_opacity as string or boolean. Default to true. $show_opacity = ( false === $this->show_opacity || 'false' === $this->show_opacity ) ? 'false' : 'true'; - // Begin the output. ?> + // Begin the output. + if ( isset( $this->label ) && '' !== $this->label ) { + echo '' . sanitize_text_field( $this->label ) . ''; + } + if ( isset( $this->description ) && '' !== $this->description ) { + echo '' . sanitize_text_field( $this->description ) . ''; + } + ?>