';
}
}
// Heading control for the customizer
class kernel_Customizer_Heading_Control extends WP_Customize_Control {
public $type = 'kernel_heading';
public function render_content() {
echo ''. esc_html( $this->label ) .'';
}
}
// Textarea control for the customizer
class kernel_Customizer_Textarea_Control extends WP_Customize_Control {
public $type = 'kernel_textarea';
public $rows = '3';
public function render_content() { ?>
value() ) ) {
$savedValueCSV = implode( ',', $this->value() );
$values = $this->value();
} else {
$savedValueCSV = $this->value();
$values = explode( ',', $this->value() );
}
if ( self::$firstLoad ) {
self::$firstLoad = false;
?>
label ); ?>
description ) {
echo ''. $this->description .''; ?>
choices;
$values = $this->value();
// Turn values into array
if ( ! is_array( $values ) ) {
$values = explode( ',', $values );
}
echo '
id .'_input" type="hidden" name="'. $this->id .'" value="'. esc_attr( $values ) .'" '. $this->get_link() .' />'; ?>
value(); ?>
label ); ?>