link(); checked( $this->value() ); ?> >
label ); ?> description ) ) { ?> description ); ?>
label ); ?>
choices)) return; $aster_vlogger_name = '_customize-radio-' . $this->id; ?> label); ?> setting->default ) ) { $this->json['default'] = $this->setting->default; } else { $this->json['default'] = false; } parent::to_json(); } public function enqueue() { wp_enqueue_script( 'aster-vlogger-range-slider', get_template_directory_uri() . '/resource/js/range-control.js', array( 'jquery' ), '', true ); wp_enqueue_style( 'aster-vlogger-range-slider', get_template_directory_uri() . '/resource/css/range-control.css' ); } public function render_content() { ?> value()); echo ''; } } } if ( class_exists( 'WP_Customize_Section' ) ) { /** * Upsell section */ class Aster_Vlogger_Upsell_Section extends WP_Customize_Section { /** * The type of control being rendered */ public $type = 'aster-vlogger-upsell'; /** * The Upsell button text */ public $button_text = ''; /** * The Upsell URL */ public $url = ''; /** * The background color for the control */ public $background_color = ''; /** * The text color for the control */ public $text_color = ''; /** * Render the section, and the controls that have been added to it. */ protected function render() { $background_color = ! empty( $this->background_color ) ? esc_attr( $this->background_color ) : '#fff'; $text_color = ! empty( $this->text_color ) ? esc_attr( $this->text_color ) : '#50575e'; $section_class = esc_attr( $this->id ); // Use the section ID as the class name ?>
  • title ); ?> button_text ); ?>