• Resolved nude

    (@nude)


    The default value of check box does not apply in backend.

    Note: with pressing reset button this issue does not appear and it happens when new option is created by checkbox. Your support is highly appreciated in this regard.

    https://ww.wp.xz.cn/plugins/kirki/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hey there!

    Could you please test this using the under development version from https://github.com/aristath/kirki and let me know if that fixes your issue?

    Also could you please tell me how you’re trying to get the value?
    Is it using get_theme_mod? Did you define a default value in your get_theme_mod call?

    Thread Starter nude

    (@nude)

    Hey Aristeides Stathopoulos,

    I am using kirki-demo to examine this issue and also I use Reset WP plugin to reset the theme to run default values of customizer.

    By activating the kirki-demo theme and going to Appearance> customize > checkbox controls >checkbox demo (first filed) the checkbox displays true default value correctly but if you check function.php and set default value of this element on => false , 0 or ‘0’ as you’ll see the default value does not change and stays true.

    Thanks.

    fixed in 2.3.1

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Check box default value’ is closed to new replies.