You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the 'step' parameter is a decimal value, the slider works correctly but is not saved in the database.
The value saved in the database is always zero (0)
Thanks, Claudio_
The text was updated successfully, but these errors were encountered:
This is an automatic translation
Good day,
WordPress 4.8.1
Code
$cmb_cr_header_opacity->add_field( array(
'name' => __( '', 'genesis-theme-cr' ),
'desc' => __( '', 'genesis-theme-cr' ),
'id' => $prefix . 'header_img_opacity',
'type' => 'own_slider',
'min' => '0',
'max' => '1',
'step' => '0.1',
'default' => '0', // start value.
'value_label' => __( 'Valore:', 'genesis-theme-cr' ),
) );
If the 'step' parameter is a decimal value, the slider works correctly but is not saved in the database.
The value saved in the database is always zero (0)
Thanks, Claudio_
The text was updated successfully, but these errors were encountered: