![]() Server : LiteSpeed System : Linux premium84.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 User : claqxcrl ( 523) PHP Version : 8.1.32 Disable Function : NONE Directory : /home/claqxcrl/claquemagazineawards.com/wp-content/themes/eventbell/inc/customizer/ |
<?php if ( ! class_exists( 'WP_Customize_Control' ) ) { return null; } class EventBell_Dropdown_Chooser extends WP_Customize_Control{ public $type = 'dropdown_chooser'; public function render_content(){ if ( empty( $this->choices ) ) return; ?> <label> <span class="customize-control-title"> <?php echo esc_html( $this->label ); ?> </span> <?php if($this->description){ ?> <span class="description customize-control-description"> <?php echo wp_kses_post($this->description); ?> </span> <?php } ?> <select class="eventbell-chosen-select" <?php $this->link(); ?>> <?php foreach ( $this->choices as $value => $label ) echo '<option value="' . esc_attr( $value ) . '"' . selected( $this->value(), $value, false ) . '>' . esc_html( $label ) . '</option>'; ?> </select> </label> <?php } } //Custom control for horizontal line Class EventBell_Customize_Horizontal_Line extends WP_Customize_Control { public $type = 'hr'; public function render_content() { ?> <div> <hr style="border: 2px solid #72777c;" /> </div> <?php } } ?>