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
It seems that the alpha declaration for a color fields has moved in a the choices array. Can you confirm this and maybe update the doc if it is the case since as of now with the old declaration alpha color picker do not work anymore.
Version used:
latest develop version (04/12/2016)
Using theme_mods or options?
theme_mods
Code to reproduce the issue (config + field(s))
DOES NOT WORK :
Kirki::add_field( 'my_config', array(
'type' => 'color',
'settings' => 'my_setting',
'label' => __( 'This is the label', 'my_textdomain' ),
'section' => 'my_section',
'default' => '#0088CC',
'priority' => 10,
'alpha' => true,
) );
Issue description:
It seems that the alpha declaration for a color fields has moved in a the choices array. Can you confirm this and maybe update the doc if it is the case since as of now with the old declaration alpha color picker do not work anymore.
Version used:
latest develop version (04/12/2016)
Using theme_mods or options?
theme_mods
Code to reproduce the issue (config + field(s))
DOES NOT WORK :
Kirki::add_field( 'my_config', array(
'type' => 'color',
'settings' => 'my_setting',
'label' => __( 'This is the label', 'my_textdomain' ),
'section' => 'my_section',
'default' => '#0088CC',
'priority' => 10,
'alpha' => true,
) );
WORKS :
Kirki::add_field( 'my_config', array(
'type' => 'color',
'settings' => 'my_setting',
'label' => __( 'This is the label', 'my_textdomain' ),
'section' => 'my_section',
'default' => '#0088CC',
'priority' => 10,
'choices' => array(
'alpha' => true,
),
) );
The text was updated successfully, but these errors were encountered: