type ) {
default:
case 'heading':
echo '' . esc_attr( $this->title ) . '';
break;
case 'custom_message' :
echo '
' . esc_attr($this->description) . '
';
break;
case 'hr' :
echo '';
break;
}
}
}
class HotelOne_Textarea_Custom_Control extends WP_Customize_Control
{
public function render_content() {
?>
Hotelone Pro to be able to change the section order and styling!', 'hotelone' );
}
}
class HotelOne_Editor_Custom_Control extends WP_Customize_Control
{
public $type = 'wp_editor';
public $mod;
public function render_content() {
$this->mod = strtolower( $this->mod );
if( ! $this->mod = 'html' ) {
$this->mod = 'tmce';
}
?>
<# var cond_v; #>
<# for ( i in data ) { #>
<# if ( ! data.hasOwnProperty( i ) ) continue; #>
<# field = data[i]; #>
<# if ( ! field.type ) continue; #>
<# if ( field.type ){ #>
<#
if ( ! _.isEmpty( field.required ) ) {
#>
<#
} else {
#>
<#
}
#>
<# if ( field.type !== 'checkbox' ) { #>
<# if ( field.title ) { #>
<# } #>
<# if ( field.desc ) { #>