Add placeholder attribute to range input
This commit is contained in:
parent
dca2f145b0
commit
a5c6e517e9
@ -34,6 +34,7 @@ class Fictioneer_Customize_Range_Control extends \WP_Customize_Control {
|
|||||||
min="<?php echo esc_attr( $this->input_attrs['min'] ?? 0 ); ?>"
|
min="<?php echo esc_attr( $this->input_attrs['min'] ?? 0 ); ?>"
|
||||||
max="<?php echo esc_attr( $this->input_attrs['max'] ?? 100 ); ?>"
|
max="<?php echo esc_attr( $this->input_attrs['max'] ?? 100 ); ?>"
|
||||||
step="<?php echo esc_attr( $this->input_attrs['step'] ?? 1 ); ?>"
|
step="<?php echo esc_attr( $this->input_attrs['step'] ?? 1 ); ?>"
|
||||||
|
placeholder="<?php echo esc_attr( $this->input_attrs['placeholder'] ?? 0 ); ?>"
|
||||||
<?php $this->link(); ?>
|
<?php $this->link(); ?>
|
||||||
>
|
>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user