Server IP : 162.0.217.223 / Your IP : 216.73.216.112 Web Server : LiteSpeed System : Linux premium269.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : mypckeys ( 1539) PHP Version : 8.1.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/mypckeys/tu-international.com/wp-content/themes/motorx/inc/options/controls/ |
Upload File : |
<?php /** * ColorOverlay */ if (class_exists('WP_Customize_Control')) { class themesflat_ColorOverlay extends WP_Customize_Control { public $type = 'alpha-color'; public function render_content() { ?> <?php if ( isset( $this->label ) && '' !== $this->label ) { echo '<span class="customize-control-title">' . sanitize_text_field( $this->label ) . '</span>'; } if ( isset( $this->description ) && '' !== $this->description ) { echo '<span class="description customize-control-description">' . sanitize_text_field( $this->description ) . '</span>'; } ?> <label> <input class="alpha-color-control" type="text" data-show-opacity="true" data-palette="true" data-default-color="<?php echo esc_attr( $this->settings['default']->default ); ?>" <?php $this->link(); ?> /> </label> <?php } } }